Skip to content

Commit 9d39547

Browse files
committed
[Copilot] update sphinx conf path
1 parent d2ecad5 commit 9d39547

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

libs/core/.readthedocs.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
# Read the Docs configuration file for sim-sci-test-monorepo-core
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
version: 2
5+
6+
build:
7+
os: ubuntu-22.04
8+
tools:
9+
python: "3.11"
10+
jobs:
11+
post_create_environment:
12+
# Install uv for faster dependency resolution
13+
- pip install uv
14+
post_install:
15+
# Install the package with docs dependencies
16+
- uv pip install -e .[docs]
17+
18+
sphinx:
19+
configuration: libs/core/docs/source/conf.py
20+
fail_on_warning: false
21+
22+
python:
23+
install:
24+
- method: pip
25+
path: libs/core
26+
extra_requirements:
27+
- docs
28+
29+
formats:
30+
- pdf
31+
- htmlzip
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# Read the Docs configuration file for sim-sci-test-monorepo-public-health
2+
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
3+
4+
version: 2
5+
6+
build:
7+
os: ubuntu-22.04
8+
tools:
9+
python: "3.11"
10+
jobs:
11+
post_create_environment:
12+
# Install uv for faster dependency resolution
13+
- pip install uv
14+
post_install:
15+
# Install the core dependency first, then this package with docs dependencies
16+
- uv pip install -e ../core
17+
- uv pip install -e .[docs]
18+
19+
sphinx:
20+
configuration: libs/public_health/docs/source/conf.py
21+
fail_on_warning: false
22+
23+
python:
24+
install:
25+
- method: pip
26+
path: libs/core # Install core dependency first
27+
- method: pip
28+
path: libs/public_health
29+
extra_requirements:
30+
- docs
31+
32+
formats:
33+
- pdf
34+
- htmlzip

0 commit comments

Comments
 (0)