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 · 2 comments
Closed

use_directory_urls option has no effect #63

thiagomael opened this issue Apr 2, 2014 · 2 comments

Comments

@thiagomael
Copy link

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 as completed 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 pushed 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`.
@woter1832
Copy link

woter1832 commented Dec 8, 2024

Has this regressed?
It's making no difference to the URLs.

image
image

Unless I misunderstand, the URL should be ...devices/euc/dell-7670-win11.html:
image

Thanks.

@pawamoy
Copy link
Contributor

pawamoy commented Dec 8, 2024

Hi @woter1832, please open a new issue with a minimal reproducible example 🙂

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants