Dapr user documentation, used to build docs.dapr.io
Go to file
Aaron Crawfis ac908e6e69 Add front matter 2020-09-16 13:03:15 -07:00
.github Update azure-static-web-apps-agreeable-mushroom-00aa4761e.yml 2020-09-15 11:21:15 -07:00
OLD Move How-To Guides into Docs 2020-09-16 12:52:13 -07:00
daprdocs Add front matter 2020-09-16 13:03:15 -07:00
.gitignore Upadted git ignore for package lock 2020-09-16 10:35:35 -07:00
.gitmodules Initial configuration of hugo and docsy 2020-09-14 15:15:29 -07:00
LICENSE Addint MIT license (#101) 2019-10-08 17:32:59 -07:00
README.md Add README 2020-09-16 11:50:20 -07:00

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

  1. Ensure pre-requisites are installed
  2. Clone repository
  3. Change to daprdocs directory: cd daprdocs
  4. Add Docsy submodule: git submodule add https://github.com/google/docsy.git themes/docsy
  5. Update submodules: git submodule update --init --recursive
  6. Install npm packages: npm install

Run local server

  1. Make sure you're still in the daprdocs repo
  2. Run hugo server --disableFastRender
  3. Navigate to http://localhost:1313/docs

Update docs

  1. Create new branch
  2. Commit and push changes to content
  3. Submit pull request to master
  4. Staging site will automatically get created and linked to PR to review and test