-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
31 lines (31 loc) · 1.05 KB
/
.readthedocs.yaml
File metadata and controls
31 lines (31 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
---
version: 2
build:
os: "ubuntu-24.04"
tools:
nodejs: "22"
python: "3.13"
ruby: "3.3"
commands:
- 'echo "output directory: ${READTHEDOCS_OUTPUT}html"'
# shared-web build
- npm install --ignore-scripts
- npm run build
- npm pack
- mkdir -p ${READTHEDOCS_OUTPUT}html/dist
- cp -r dist/* ${READTHEDOCS_OUTPUT}html/dist
# jsdoc build
- npm run generate-docs
# jekyll example build
- 'echo "baseurl: projects/shared-web/$READTHEDOCS_VERSION"/jekyll >> ./examples/jekyll/_config.yml'
- cd examples/jekyll && npm install # we need to include scripts for postinstall actions
- cd examples/jekyll && npm run build
# doxygen example build
- cd examples/doxygen && npm install --ignore-scripts
- cd examples/doxygen && npm run build
# sphinx example build
- cd examples/sphinx && npm install # we need to include scripts for postinstall actions
- cd examples/sphinx && npm run build
- cd examples/sphinx && npm run lint
# debug output
- cd ${READTHEDOCS_OUTPUT}html && ls -la -R