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
Standardize all OS-specific tab groups to use consistent
"macOS", "Linux", "Windows" labels so content.tabs.link
syncs selections across the site and persists via localStorage.
Closes#13
Both share the `overrides/` directory for theme customizations.
15
+
16
+
## Build and Serve
17
+
18
+
```bash
19
+
# Main docs
20
+
uv run mkdocs serve # dev server (docs.osc.earth)
21
+
uv run mkdocs build # build to site/
22
+
23
+
# Courses
24
+
uv run mkdocs serve -f mkdocs-courses.yml # dev server (courses.osc.earth)
25
+
uv run mkdocs build -f mkdocs-courses.yml # build to site-courses/
26
+
```
27
+
28
+
## OS-Specific Tabs
29
+
30
+
Both sites use `content.tabs.link` (Material for MkDocs), which syncs tab selections across the page and persists the choice in localStorage. For this to work, all OS tab groups must use exactly these labels:
31
+
32
+
-`=== "macOS"`
33
+
-`=== "Linux"`
34
+
-`=== "Windows"`
35
+
36
+
Never use combined labels like "macOS / Linux" or qualified labels like "macOS: Homebrew"; they break cross-group syncing.
37
+
38
+
## Submodules
39
+
40
+
-`osa/` -- the [OSA application repo](https://github.com/OpenScience-Collective/osa) (git submodule). Not part of the docs build; used for API reference generation when enabled.
0 commit comments