Skip to content

Commit

Permalink
Merge pull request #137 from jazzband/ci/fix-read-the-docs
Browse files Browse the repository at this point in the history
docs: add read-the-docs config
  • Loading branch information
eigenmannmartin authored Sep 9, 2024
2 parents db49a82 + 2ee965d commit f9446fa
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 3 deletions.
19 changes: 19 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2

build:
os: ubuntu-22.04
tools:
python: "3.12"
jobs:
post_create_environment:
# Install poetry
# https://python-poetry.org/docs/#installing-manually
- pip install poetry
post_install:
# Install dependencies with 'docs' dependency group
# https://python-poetry.org/docs/managing-dependencies/#dependency-groups
# VIRTUAL_ENV needs to be set manually for now.
# See https://github.com/readthedocs/readthedocs.org/pull/11152/
- VIRTUAL_ENV=$READTHEDOCS_VIRTUALENV_PATH poetry install --with docs
sphinx:
configuration: docs/conf.py
6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@
# -- Project information -----------------------------------------------------

project = "iCalEvents"
copyright = "2021, Thomas Irgang"
author = "Thomas Irgang"
copyright = "2024, jazzband"
author = "Martin Eigenmann"

# The full version, including alpha/beta/rc tags
release = "0.1.27"
release = "0.1.28"


# -- General configuration ---------------------------------------------------
Expand Down

0 comments on commit f9446fa

Please sign in to comment.