Skip to content

Commit

Permalink
Add config file for Read the Docs (#2328)
Browse files Browse the repository at this point in the history
* Add config file for Read the Docs

* Remove comment
  • Loading branch information
hugovk committed Nov 21, 2023
1 parent 6720796 commit c949855
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
# $ git config --global core.excludesfile ~/.gitignore_global

.sass-cache/
docs/build
media/*
static-root/
static/stylesheets/mq.css
Expand Down
15 changes: 15 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Read the Docs configuration file
# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details
# Project page: https://readthedocs.org/projects/pythondotorg/

version: 2

build:
os: ubuntu-22.04
tools:
python: "3"

commands:
- python -m pip install -r docs-requirements.txt
- make -C docs html JOBS=$(nproc) BUILDDIR=_readthedocs
- mv docs/_readthedocs _readthedocs

0 comments on commit c949855

Please sign in to comment.