forked from clan/clan-core
Reviewed-on: clan/clan-core#7877 Reviewed-by: Kenji Berthold <aks.kenji@protonmail.com>
Documentation
Local Development
Enter the docs dev shell (from the docs/ directory, direnv will activate automatically):
cd docs
Or manually:
nix develop .#docs
Then start the dev server with hot module reloading:
clan-site
This watches docs/src/ for markdown changes and automatically reloads the browser.
Add -b to open the site in a new browser tab:
clan-site dev -b
Building
To create a production version of the site:
clan-site build