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

Local fragment links are generated incorrectly #197

Closed
jacobian opened this issue Nov 7, 2014 · 2 comments
Closed

Local fragment links are generated incorrectly #197

jacobian opened this issue Nov 7, 2014 · 2 comments
Labels
Bug
Milestone

Comments

@jacobian
Copy link

@jacobian jacobian commented Nov 7, 2014

I've got a document, foo.md, like this:

# Header One

This is a link to [section 2](#header-two)

# Header Two

And this is that section.

I'd expect the link to go to /foo/#header-two, but instead it's linking to /#header-two. I can work around it by making the link be [section 2](foo.md#header-two), but that's (a) clunky and (b) breaks if I rename the file.

d0ugal added a commit to d0ugal/mkdocs that referenced this issue Nov 7, 2014
@d0ugal d0ugal closed this in #199 Nov 7, 2014
@d0ugal
Copy link
Member

@d0ugal d0ugal commented Nov 7, 2014

Thanks for the report, this should be resolved now in master. Let me know if you have any more issues.

I expect to do a release early next week which will include this and a few other fixes we need for Django REST Framework docs.

@jacobian
Copy link
Author

@jacobian jacobian commented Nov 7, 2014

❤️ thanks!

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.

2 participants
You can’t perform that action at this time.