Content organization
This site uses Hugo. In Hugo,
The documentation side menu, the documentation page browser etc. are listed using Hugo's default sort order, which sorts by weight (from 1), date (newest first), and finally by the link title. Given that, if you want to move a page or a section up, set a weight in the page's front matter: The Note that the link title is fetched from the page's The documentation side-bar menu is built from the current section tree starting below It will show all sections and their pages. If you don't want to list a section or page, set the When you navigate to a section that has content, the specific section or page (e.g. The page browser on the documentation home page is built using all the sections and pages that are directly below the If you don't want to list a section or page, set the The site links in the top-right menu -- and also in the footer -- are built by page-lookups. This is to make sure that the page actually exists. So, if the In addition to standalone content pages (Markdown files), Hugo supports . One example is Custom Hugo Shortcodes. It is considered a Another widely used example is the Some important notes to the files in the bundles: The
hugo server --navigateToChanged
for content edit-sessions.
Page Lists
Page Order
title: My Page
weight: 10
Documentation Main Menu
Documentation
main menu is built from the sections below docs/
with the main_menu
flag set in front matter of the _index.md
section content file:main_menu: true
linkTitle
, so if you want it to be something different than the title, change it in the content file:main_menu: true
title: Page Title
linkTitle: Title used in links
_index.md
content file in the section folder.
Documentation Side Menu
docs/
.toc_hide
flag to true
in front matter:toc_hide: true
_index.md
) is shown. Else, the first page inside that section is shown.Documentation Browser
docs section
.toc_hide
flag to true
in front matter:toc_hide: true
The Main Menu
case-studies
section does not exist in a site (language), it will not be linked to.Page Bundles
leaf bundle
. Everything below the directory, including the index.md
, will be part of the bundle. This also includes page-relative links, images that can be processed etc.:en/docs/home/contribute/includes
├── example1.md
├── example2.md
├── index.md
└── podtemplate.json
includes
bundle. It sets headless: true
in front matter, which means that it does not get its own URL. It is only used in other pages.en/includes
├── default-storage-class-prereqs.md
├── index.md
├── partner-script.js
├── partner-style.css
├── task-tutorial-prereqs.md
├── user-guide-content-moved.md
└── user-guide-migration-notice.md
Resources
and you can provide metadata per language, such as parameters and title, even if it does not supports front matter (YAML files etc.). See ..RelPermalink
of a Resource
is page-relative. See
Styles
What's next