You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Documentation for the Benefit Decision Toolkit is built with [MkDocs](https://www.mkdocs.org/) using the [Material theme](https://squidfunk.github.io/mkdocs-material/).
4
+
5
+
The live site is published at [https://bdt-docs.web.app](https://bdt-docs.web.app).
6
+
7
+
## Editing the Docs
8
+
9
+
All documentation is written in Markdown. The source files are in the `docs/` directory:
└── mkdocs.yml # Site configuration and navigation
18
+
```
19
+
20
+
To add or update content, edit the relevant `.md` file directly. To add a new page, create a new `.md` file in the `docs/` directory and add an entry for it in `mkdocs.yml` under `nav`.
21
+
22
+
For a reference on Markdown syntax, see the [Markdown Guide](https://www.markdownguide.org/basic-syntax/).
23
+
24
+
## Running Locally
25
+
26
+
To preview the site while editing, you can run MkDocs locally.
27
+
28
+
**1. Install dependencies**
29
+
30
+
Requires Python 3. From the `docs/user-docs/` directory:
31
+
32
+
```bash
33
+
pip install -r requirements.txt
34
+
```
35
+
36
+
**2. Start the local dev server**
37
+
38
+
```bash
39
+
mkdocs serve
40
+
```
41
+
42
+
The site will be available at `http://127.0.0.1:8000`. The server watches for file changes and reloads automatically, so edits to any `.md` file are reflected immediately in the browser.
43
+
44
+
## Deployment
45
+
46
+
The docs are deployed automatically. When a pull request is merged into `main` with changes to files under `docs/user-docs/`, a GitHub Actions workflow builds the MkDocs site and deploys it to Firebase Hosting. No manual deployment steps are needed.
0 commit comments