Skip to content

Fixes #316 - titles - #497

Merged
d0ugal merged 6 commits into
mkdocs:masterfrom
ugocupcic:F#316_titles_squashed_hist
May 5, 2015
Merged

d0ugal merged 6 commits into
mkdocs:masterfrom
ugocupcic:F#316_titles_squashed_hist

Conversation

@ugocupcic

Copy link
Copy Markdown

History is squashed.

@ugocupcic

Copy link
Copy Markdown
Author

I had a few commits on my master so they still appear. Hopefully it's fine with you. Let me know otherwise.

@landscape-bot

Copy link
Copy Markdown

Code Health
Repository health decreased by 0.23% when pulling 26f2465 on ugocupcic:F#316_titles_squashed_hist into aa7dd95 on mkdocs:master.

@landscape-bot

Copy link
Copy Markdown

Code Health
Code quality remained the same when pulling 11de192 on ugocupcic:F#316_titles_squashed_hist into aa7dd95 on mkdocs:master.

d0ugal added a commit that referenced this pull request May 5, 2015
@d0ugal
d0ugal merged commit 1a0dfb5 into mkdocs:master May 5, 2015
@d0ugal

d0ugal commented May 5, 2015

Copy link
Copy Markdown
Contributor

Thanks for following this up and pushing it forward!

@d0ugal

d0ugal commented May 6, 2015

Copy link
Copy Markdown
Contributor

Hmm, turned out I should have looked more closely. This doesn't work at all. The file_to_title function is only passed the filename, but the code in this PR expects the full path so it can open the file.

@d0ugal d0ugal added this to the 0.13.0 milestone May 6, 2015
d0ugal added a commit to d0ugal/mkdocs that referenced this pull request May 6, 2015
@ugocupcic

Copy link
Copy Markdown
Author

@d0ugal any idea how to get the full path to be able to parse the file?

@d0ugal

d0ugal commented May 6, 2015

Copy link
Copy Markdown
Contributor

@ugocupcic It is surprisingly complicated :( I had a quick look, about 6 methods need to be updated to pass it down the chain and that starts to get really nasty.

I'll give it some thought, but I think we might need to find a new approach. Sorry, it turned out to be somewhat harder than I first estimated.

@ugocupcic

Copy link
Copy Markdown
Author

Might be easier to be able to parse that mkdocs.yml even if we have the documentation at the root of the repository instead of in this separate docs folder?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants