This repo contains the documentation source for https://drasi.io.
Follow the guidance in this file to learn how to contribute to Drasi's documentation.
Please review our Contributions guide prior to making contributions.
Drasi's documentation follows the Diataxis framework for its structure and content.
The documentation website is generated with the Hugo framework.
The documentation website uses the Docsy theme. Refer to the Docsy authoring guide for helpful tips on creating content.
You can use the pre-configured dev container for this repository in Visual Studio Code or GitHub Codespaces.
Alternatively, you can follow the instructions below to setup and run a local Hugo server to edit and view your changes.
-
Install Hugo
-
Clone the drasi-project/docs repo
-
The Docsy theme is configured as a submodule which needs to be pulled. From the root of the drasi-project/docs repo (where this readme is located) run:
git submodule update --init --recursive --remote
-
Switch to the Docsy theme folder:
cd docs/themes/docsy
-
Build the Docsy theme by running:
npm install
-
Ensure you are in the
docs
folder of the drasi-project/docs repo. -
Run the command:
hugo server --disableFastRender
The documentation website will be accessible on the URL http://localhost:1313/
Please refer to Drasi's Community Code of Conduct.