Skip to content

Commit

Permalink
Add .readthedocs.yaml
Browse files Browse the repository at this point in the history
New requirement. First attempt at configuring it without reading very
much about it.

https://blog.readthedocs.com/migrate-configuration-v2/
  • Loading branch information
philgyford committed Jun 17, 2023
1 parent 44059c3 commit 67279a3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
24 changes: 24 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# .readthedocs.yaml
# Read the Docs configuration file
# 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-22.04
tools:
python: "3.10"

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/conf.py

# We recommend specifying your dependencies to enable reproducible builds:
# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
python:
install:
- requirements: docs/requirements.txt
- method: pip
path: .
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@

# General information about the project.
project = "Django Ditto"
copyright = "2016-22, Phil Gyford"
copyright = "2016-23, Phil Gyford"
author = "Phil Gyford"


Expand Down

0 comments on commit 67279a3

Please sign in to comment.