-
Notifications
You must be signed in to change notification settings - Fork 34
/
.readthedocs.yaml
56 lines (53 loc) · 1.6 KB
/
.readthedocs.yaml
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# Read the Docs configuration file for Sphinx projects
# Check https://docs.readthedocs.io/en/stable/config-file/v2.html for details
version: 2
# Disable the build process as documentation was migrated.
#
# This will trigger a config validation error, so the build process
# at Read the Docs don't go further (and hence we save them CPU cycles).
#
# Check https://gitlab.torproject.org/tpo/onion-services/onionbalance/-/issues/28
build:
os: ubuntu-22.04
tools:
python: "3.12"
jobs:
pre_install:
- false
# Build docs using Onion MkDocs
#build:
# os: ubuntu-22.04
# tools:
# python: "3.12"
# apt_packages:
# - mkdocs
# - pipenv
# jobs:
# pre_install:
# # Vendorize Onion MkDocs
# - rm -rf vendors/onion-mkdocs
# - mkdir -p vendors/
# - git clone https://gitlab.torproject.org/tpo/web/onion-mkdocs.git vendors/onion-mkdocs
#
# # Install dependencies
# #- vendors/onion-mkdocs/scripts/onion-mkdocs-provision-build
# - PIPENV_PIPFILE=vendors/onion-mkdocs/Pipfile pipenv install
#
# # Convert the Pipfile into requirements.txt, so Read the Docs can install
# # the dependencies
# - PIPENV_PIPFILE=vendors/onion-mkdocs/Pipfile pipenv requirements
#
# post_build:
# # Do the entire build process again in the post_build phase, since we
# # use a customized procedure
# - rm -rf public
# - vendors/onion-mkdocs/scripts/onion-mkdocs-build
# - scripts/docs-preserve-historic-urls
#
#python:
# install:
# # Use the requirements.txt generated by pipenv
# - requirements: requirements.txt
#
#mkdocs:
# configuration: mkdocs.yml