- Notifications
You must be signed in to change notification settings - Fork738
Dapr user documentation, used to build docs.dapr.io
License
dapr/docs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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.
The Dapr docs handles branching differently than most code repositories. Instead of having amaster
ormain
branch, every branch is labeled to match the major and minor version of a runtime release.
The following branches are currently maintained:
Branch | Website | Description |
---|---|---|
v1.15 (primary) | https://docs.dapr.io | Latest Dapr release documentation. Typo fixes, clarifications, and most documentation goes here. |
v1.16 (pre-release) | https://v1-16.docs.dapr.io/ | Pre-release documentation. Doc updates that are only applicable to v1.15+ go here. |
For more information visit theDapr branch structure document.
Before making your first contribution, make sure to review thecontributing section in the docs.
The Dapr docs are built usingHugo with theDocsy theme, hosted on anAzure Static Web App.
Thedaprdocs directory contains the hugo project, markdown files, and theme configurations.
This repository comes with adevcontainer configuration that automatically installs all the required dependencies and VSCode extensions to build and run the docs.
This devcontainer can be used to develop locally with VSCode or via GitHub Codespaces completely in the browser. Other IDEs that supportdevcontainers can be used but won't have the extensions preconfigured and will likely have different performance characteristics.
Fork and clone this repository.
Open the forked repository in VS Code
code.
- When prompted, click "Reopen in Container" to open the repository in the devcontainer.
Continue with theRun local server steps.
Ensure pre-requisites are installed.
Fork and clone this repository.
Change to daprdocs directory:
cd ./daprdocs
- Update submodules:
git submodule update --init --recursive
- Install npm packages:
npm install
- Make sure you're in the
daprdocs
directory - Run
hugo server
- Navigate to
http://localhost:1313/
- Ensure you are in your forked repo
- Create new branch
- Commit and push changes to forked branch
- Submit pull request from downstream branch to the upstream branch for the correct version you are targeting
- Staging site will automatically get created and linked to PR to review and test
Please refer to ourDapr community code of conduct.
About
Dapr user documentation, used to build docs.dapr.io