-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.readthedocs.yaml
More file actions
37 lines (35 loc) · 1.01 KB
/
.readthedocs.yaml
File metadata and controls
37 lines (35 loc) · 1.01 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
32
33
34
35
36
37
# Read the Docs configuration file for MkDocs projects
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Required
version: 2
# Set the version of Python and other tools you might need
build:
os: ubuntu-24.04
tools:
python: "3.13"
#nodejs: 22
jobs:
post_checkout:
# Needed for some plugins/extensions to work
- git fetch --unshallow || true
create_environment:
- pipenv install
build:
html:
- FF_GENERATE_SOCIAL_CARDS=true pipenv run build-staging -d "$READTHEDOCS_OUTPUT/html/"
post_build:
- |
mkdir $READTHEDOCS_OUTPUT/html/api
git rev-parse HEAD > $READTHEDOCS_OUTPUT/html/api/commit
#- |
# cp -rv markdown/.well-known $READTHEDOCS_OUTPUT/html/.well-known
# cp -rv $READTHEDOCS_OUTPUT/html/assets/images/favicon.png $READTHEDOCS_OUTPUT/favicon.ico
apt_packages:
- libcairo2-dev
- libfreetype6-dev
- libffi-dev
- libjpeg-dev
- libpng-dev
- libz-dev
- pngquant
- pipenv