Skip to content

Misleading message after doc generation #819

Closed
@polux

Description

@polux

When you're done generating the doc, dartdoc writes:

Success! Open file:///.../doc/api/index.html

But when you do this the search box is unavailable because the browser refuses to load the JSON index file. Maybe the message should mention this somehow. Maybe it could say something like "run python -m SimpleHttpClient in .../doc/ and point you browser to http://localhost:8000/api", which would work for most users. Or there could be dartdoc serve command.

Metadata

Metadata

Assignees

Labels

P2A bug or feature request we're likely to work oncontributions-welcomeContributions welcome to help resolve this (the resolution is expected to be clear from the issue)type-enhancementA request for a change that isn't a bug

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions