diff --git a/.gitignore b/.gitignore index c6e3f4e34..433e7f7d7 100644 --- a/.gitignore +++ b/.gitignore @@ -13,3 +13,4 @@ venv/ .pospell/ .potodo/ .venv/ +_readthedocs/html/ diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 000000000..c9d41802e --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,16 @@ +version: 2 +build: + os: "ubuntu-22.04" + tools: + python: "3" + + apt_packages: + - make + - gettext + + commands: + - git clone https://github.com/python/cpython.git venv/cpython/ + - python -m pip install --upgrade pip setuptools wheel + - python -m pip install --upgrade -r requirements.txt -r venv/cpython/Doc/requirements.txt + - make + - cp -r venv/cpython/Doc/build/html/* _readthedocs/html/ \ No newline at end of file