Skip to content

Fix RTD Navigation bug.#1576

Merged
waylan merged 1 commit intomkdocs:masterfrom
waylan:1575
Aug 4, 2018
Merged

Fix RTD Navigation bug.#1576
waylan merged 1 commit intomkdocs:masterfrom
waylan:1575

Conversation

@waylan
Copy link
Copy Markdown
Contributor

@waylan waylan commented Aug 3, 2018

Fixes #1575.

The pages refactor resulted in the URL of the homepage being an empty string, which was causing the template to fail to recognize the nav item as a page and treating it like a section. By actually checking the item type, we avoid that problem.

@waylan waylan merged commit 4076d7d into mkdocs:master Aug 4, 2018
@waylan waylan deleted the 1575 branch August 4, 2018 00:43
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

Successfully merging this pull request may close these issues.

1 participant