If you are looking to explore the Dapr documentation, please go to the documentation website:
This repo contains the markdown files which generate the above website. See below for guidance on running with a local environment to contribute to the docs.
Before making your first contribution, make sure to review the contributing section in the docs.
The Dapr docs are built using Hugo with the Docsy theme, hosted on an Azure Static Web App.
The daprdocs directory contains the hugo project, markdown files, and theme configurations.
- Ensure pre-requisites are installed
- Clone this repository
git clone https://github.com/dapr/docs.git
- Change to daprdocs directory:
cd daprdocs
- Add Docsy submodule:
git submodule add https://github.com/google/docsy.git themes/docsy
- Update submodules:
git submodule update --init --recursive
- Install npm packages:
npm install
- Make sure you're still in the
daprdocs
directory - Run
hugo server --disableFastRender
- Navigate to
http://localhost:1313/docs
- Create new branch
- Commit and push changes to content
- Submit pull request to
master
- Staging site will automatically get created and linked to PR to review and test
Please refer to our Dapr community code of conduct.