diff --git a/content/docs/reference/example.md b/content/docs/reference/example.md index 15d79f197da166532341b6f46b7a5967a6e7d956..12646aa40659ac7defea48faf5f6088583a1b240 100644 --- a/content/docs/reference/example.md +++ b/content/docs/reference/example.md @@ -20,8 +20,50 @@ seo: This Documentation will guide you to setting up this template. -## Create Menu Item +## Create Menu Item into Doc  +- Create a folder into `content/docs/` +- Create as many subfolder into `content/docs/NewMenuItem/` as you need +- Every subfoler must contain an `index.md` and a `content.md` + +### Index.md +``` +title: "My Title" + +description: "This an optional description of the content" + +summary: "This is optionnal" + +date: date of today at format YYYY-MM-DDTHH:MM:SS+GMT + +lastmod: date of modification at format YYYY-MM-DDTHH:MM:SS+GMT + +draft: false + +menu: + +docs: + +parent: "" + +identifier: "reference-22e9ba8aefa7ef9891199cf8db3a08cd" + +weight: 700 (Represent the order where your item will be on the menu) + +toc: true + +seo: + +title: "" # custom title (optional) + +description: "" # custom description (recommended) + +canonical: "" # custom canonical URL (optional) + +noindex: false # false (default) or true +```  + +<img src="img_1.png" alt='toto' width="200px"> diff --git a/hugo_stats.json b/hugo_stats.json index 8c09ccf534bd13c213a2f0d12a0cb67b9bc938ce..5555a40ed1961de771aa9b5e5da907dfe5952eb3 100644 --- a/hugo_stats.json +++ b/hugo_stats.json @@ -34,6 +34,7 @@ "noscript", "p", "path", + "pre", "script", "section", "small", @@ -241,12 +242,15 @@ "TableOfContents", "buttonColorMode", "create-menu-item", + "create-menu-item-into-doc", "doks-docs-nav", "first", "first-step", "further-reading", "h-rh-i-0", "h-rh-i-1", + "indexmd", + "noindex-false--false-default-or-true", "offcanvasNavMain", "offcanvasNavMainLabel", "offcanvasNavSection",