Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Allows pretty URLs to be used in the HTML build, i.e.
dir/page.md
can be referenced asdir/page/
instead of the currentdir/page.html
. This behaviour is consistent with MkDocs and Sphinx, and has been on the roadmap.This is done by storing the actual page in
dir/page/index.html
. It does mean that this can't be used for local / offline builds though.Currently it has to enabled via the
html_prettyurls
option and is disabled by default. It should become the default for the deploy-to-gh-pages builds for packages, even though it will involve breaking existing links.@tkelman I think this would also be nice to have for 0.6. This way we won't have to swap to
.html
links for a release and then back again (assuming we want this in the long term), potentially breaking quite a lot of references to Base docs. Also, links that were referring to the 0.5 docs should start working again. For Base we should enable this feature explicitly and only for thegh-pages
builds.WIP because some internal links are still not being generated correctly, code needs cleanup and more testing.
Example build: http://mortenpi.eu/Documenter.jl/pretty-urls-deploy/