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

Adds support for sub navigation main menu #642

Merged
merged 2 commits into from
Feb 1, 2022
Merged

Adds support for sub navigation main menu #642

merged 2 commits into from
Feb 1, 2022

Conversation

h-enk
Copy link
Member

@h-enk h-enk commented Feb 1, 2022

Snag_1f42be16 Snag_1f42dbcf

Supports one level deep.

Set in ./config/_default/menus/menus.en.toml:

[[main]]
  name = "Prologue"
  weight = 30
  identifier = "prologue"
  url = "/docs/prologue/"

[[main]]
  name = "Introduction"
  weight = 35
  identifier = "introduction"
  url = "/docs/prologue/introduction/"
  parent = "prologue"

[[main]]
  name = "Quick Start"
  weight = 40
  identifier = "quick-start"
  url = "/docs/prologue/quick-start/"
  parent = "prologue"

[[main]]
  name = "Commands"
  weight = 45
  identifier = "commands"
  url = "/docs/prologue/commands/"
  parent = "prologue"

https://deploy-preview-642--doks.netlify.app/

@h-enk h-enk linked an issue Feb 1, 2022 that may be closed by this pull request
@h-enk h-enk merged commit 5981ab0 into master Feb 1, 2022
@h-enk h-enk deleted the navbar-dropdown branch February 1, 2022 10:08
adhadse pushed a commit to adhadse/doks that referenced this pull request Sep 17, 2022
Adds support for sub navigation main menu
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.

Add sub navigation to main menu
1 participant