Skip to content

dartdoc: add libraries by their real filename #2230

Closed
@DartBot

Description

@DartBot

This issue was originally filed by [email protected]


This came up with dartdoc.dart (bleeding_edge, r 5635)

In dartdoc the docIndex method creates a listing of the processed libraries (stored in _sortedLibraries). Currently the 'uri' entry is displayed twice.

The problem is in lang/world.dart > getOrAddLibrary(filename), where processing of filenames 'dart:uri' and '../../lib/uri/uri.dart' leads to 2 entries in the libraries array.

Using the attached patch i first sort of normalize the filename and then process the file.


Attachment:
world.dart.patch (637 Bytes)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions