Skip to content

Commit 6325e5c

Browse files
ewdurbinAA-Turner
andauthored
Apply suggestions from code review
Co-authored-by: Adam Turner <[email protected]>
1 parent 32f4a93 commit 6325e5c

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

build_docs.py

+7-3
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,24 @@
66
languages.
77
88
Environment variables for:
9-
- SENTRY_DSN (Error reporting)
10-
- FASTLY_SERVICE_ID/FASTLY_TOKEN (CDN purges)
11-
- PYTHON_DOCS_ENABLE_ANALYTICS (enable plausible for online docs)
9+
10+
- `SENTRY_DSN` (Error reporting)
11+
- `FASTLY_SERVICE_ID` / `FASTLY_TOKEN` (CDN purges)
12+
- `PYTHON_DOCS_ENABLE_ANALYTICS` (Enable Plausible for online docs)
13+
1214
are read from the site configuration path for your platform
1315
(/etc/xdg/docsbuild-scripts on linux) if available,
1416
and can be overriden by writing a file to the user config dir
1517
for your platform ($HOME/.config/docsbuild-scripts on linux).
1618
The contents of the file is parsed as toml:
1719
20+
```toml
1821
[env]
1922
SENTRY_DSN = "https://[email protected]/69420"
2023
FASTLY_SERVICE_ID = "deadbeefdeadbeefdead"
2124
FASTLY_TOKEN = "secureme!"
2225
PYTHON_DOCS_ENABLE_ANALYTICS = "1"
26+
```
2327
2428
Languages are stored in `config.toml` while versions are discovered
2529
from the devguide.

0 commit comments

Comments
 (0)