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

Nav children don't work correctly #113

Closed
yavorg opened this issue Apr 15, 2019 · 1 comment
Closed

Nav children don't work correctly #113

yavorg opened this issue Apr 15, 2019 · 1 comment
Labels

Comments

@yavorg
Copy link
Contributor

yavorg commented Apr 15, 2019

Describe the bug
After following the structure recommended by the docs, the nav structure doesn't look right:
image

To Reproduce
Steps to reproduce the behavior using build 0.1.6 of the Gem

  • All child pages are in an a integrator-guide subfolder
  • The parent page front matter
---
layout: default
title: Integrator Guide
nav_order: 2
has_children: true
permalink: /integrator-guide
---
  • Child pages front matter example
---
layout: default
title: Getting Started
parent: Integrator Guide
nav_order: 1
---
  • While the left-hand nav is incorrect, if you navigate to the parent page /integrator-guide the TOC generated automatically on that page is correct and does show the right children

Expected behavior
Left nav contains the right children

@yavorg
Copy link
Contributor Author

yavorg commented Apr 18, 2019

This went away by referencing the theme as remote_theme: "pmarsceill/just-the-docs@v0.2.3" in _config.yml. Previously it was referenced in the Gemfile alongside github-pages, which apparently was causing the theme to get downgraded to a much older version.

@yavorg yavorg closed this as completed Apr 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant