Skip to content
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

`use_directory_urls` option has no effect #63

Closed
thiagomael opened this issue Apr 2, 2014 · 0 comments
Closed

`use_directory_urls` option has no effect #63

thiagomael opened this issue Apr 2, 2014 · 0 comments

Comments

@thiagomael
Copy link

@thiagomael thiagomael commented Apr 2, 2014

According to the documentation, setting the option use_directory_urls to false in the mkdocs.yml file should cause all links to pages within the documentation to point to their target files rather than the target directories (the default), but this configuration is having no effect in the html output.

@d0ugal d0ugal closed this in 7f43673 Oct 7, 2014
d0ugal added a commit that referenced this issue Oct 7, 2014
Fixed issue #63 - `use_directory_urls` option has no effect.
d0ugal added a commit to d0ugal/mkdocs that referenced this issue Oct 8, 2014
- The `use_directory_urls` option is now passed forward to the
SiteNavigation object in order to correctly generate links to the
target file when needed.
- The post-processing of the HTML generated by converting from Markdown
now takes the `use_directory_urls` option passed to the SiteNavigation
object into account when changing anchor targets.
- The dev server mode (mkdocs serve) still ignores the
`use_directory_urls` option in order to have user-friendly URLs.
- There is a new test case for post-processing converted Markdown when
  `use_directory_urls` is `False`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant