mirror of https://github.com/dapr/docs.git
|
||
---|---|---|
.github | ||
OLD | ||
daprdocs | ||
.gitignore | ||
.gitmodules | ||
LICENSE | ||
README.md |
README.md
Dapr Documentation Repo
This repo contains the markdown files which generate the Dapr documentation site over at https://docs.dapr.io. Head over there to read the docs and get started with Dapr! Read on to get up and running with a local environment to contribute to the docs.
Overview
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.
Pre-requisites
Environment setup
- Ensure pre-requisites are installed
- Clone repository
- 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
Run local server
- Make sure you're still in the daprdocs repo
- Run
hugo server --disableFastRender
- Navigate to
http://localhost:1313/docs
Update 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