Dapr user documentation, used to build docs.dapr.io
Go to file
Aaron Crawfis 8228a9030a Override max_width for code blocks 2020-10-14 12:50:29 -07:00
.github Remove extra v 2020-10-12 16:26:42 -07:00
OLD/presentations Integrating final readme files from OLD 2020-10-09 17:40:20 -07:00
daprdocs Override max_width for code blocks 2020-10-14 12:50:29 -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
CODEOWNERS Merge master 2020-10-01 15:51:04 -07:00
LICENSE Addint MIT license (#101) 2019-10-08 17:32:59 -07:00
README.md Merge branch 'master' into hugo-docs 2020-10-01 15:50:54 -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