-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Provide a way to compile and link to non-README documentation files #1096
Comments
This is similar to the pages support requested at #72 |
Cool! Would love to see "pages" support. |
Completely agree. It's specially annoying when using GitHub features like images and emoji that doesn't render properly on dartdoc generated html. It would be nice to have at least an argument for specifying a custom readme file. For now what I'm doing is to use a script that switches the README.md file before calling dartdoc, and switching it again after dartdoc finishes. |
patches welcome! |
#1353 never really addressed the idea of independent page compilation, if I remember correctly it just didn't align with the implementation path. So this still needs to be done for individual pages. |
Here's my use case: I'm working on
test
, and the documentation is bigger than a single README file. I've already got JSON reporter protocol docs, and I'm planning to add documentation for the configuration file format pretty soon. I want the following things:There's not a great way to do this right now. There's no way to get dartdoc to compile any pure-Markdown documentation other than the README, and GitHub isn't versioned at all.
I propose the following solution:
.md
. This should naturally support relative URLs, but it should also support links of the formhttps://github.com/____/${package}/blob/____/${path}.md
.This would allow users to write multi-page documentation that Dartdoc supports properly, while still linking to the GitHub versions of those docs for GitHub users.
The text was updated successfully, but these errors were encountered: