Theme
less than a minute
This site also generates presentation slides that are managed through Markdown and HTML using reveal.js. This is powered through the use of the reveal-hugo theme, that is used in combination with the Docsy theme.
Configuration
The following is supplied in the config.toml
:
theme = ["reveal-hugo", "docsy"]
The site is configured with the following configuration in the front-matter for the root _index.md
file:
cascade:
- type: "reveal"
_target:
path: "/slides/**"
- type: "docs"
_target:
path: "/**"
---
This results in a site that is modeled like the mostlydocs site example (which is template that you can use), to build a site that starts with a primary docs site. This excludes the more elaborate root landing page that you can format differently, if you are just really wanting to host structured documentation.
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.