Installation
Doks is a full-featured documentation theme built on top of the Thulite framework. This guide will help you get started with a new project.
Quick Start
Create a new project
Create a new Thulite + Doks project by running the following command in your terminal:
This will create a new project directory with all the necessary files and configurations for your site.
See it in action
Try Doks in your browser: open the template on Gitpod.
Install dependencies
cd
into your new project directory and install the dependencies before continuing.
Start the development server
When working locally, Hugo’s development server lets you preview your work and automatically refreshes your browser when you make changes.
Inside your project directory, run the following command to start the development server:
This will log a message to your terminal with the URL of your local preview. Open this URL to start browsing your site.
Add content
Doks is ready for you to add new content, or bring your existing files!
File formats
Doks supports authoring content in Markdown and HTML with no configuration required. You can add support for Emacs Org-Mode, AsciiDoc, RST, and Pandoc by installing additional parsers.
Add pages
Add new pages to your site by creating .md
or .html
files in content/docs/
. Use sub-folders to organize your files and to create multiple path segments.
For example, the following command will generate a page at example.com/docs/guides/faq
:
Frontmatter
All Doks pages share a customizable common set of frontmatter properties to control how the page appears — for documentation pages:
Next steps
- Configure: Learn about common options in “Customizing Doks”.
- Navigate: Set up your sidebar with the “Sidebar Navigation” guide.
- Shortcodes: Discover built-in callouts, tabs, and more in the “Shortcodes” guide.
- Deploy: Publish your work with the “Deploy your site” guide in the Thulite docs.
Updating Doks
Doks is a Thulite theme, and is updated like any @thulite/*
theme (or integration):
See the Doks changelog for a full list of the changes made in each release.
Troubleshooting Doks
Use the project configuration and individual page frontmatter configuration reference pages to ensure that your Doks site is configured and functioning properly. See the guides in the sidebar for help adding content and customizing your Doks site.
If your answer cannot be found in these docs, please visit the full Thulite Docs for complete Thulite documentation. Your question may be answered by understanding how Thulite works in general, underneath this Doks theme.
You can also check for any known Doks issues on GitHub, and get help in Doks Discussions from our active, friendly community!