Merge pull request #137 from jazzband/ci/fix-read-the-docs

docs: add read-the-docs config
pull/134/head
Martin Eigenmann 2024-09-09 12:59:29 +02:00 zatwierdzone przez GitHub
commit f9446fa028
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: B5690EEEBB952194
2 zmienionych plików z 22 dodań i 3 usunięć

19
.readthedocs.yaml 100644
Wyświetl plik

@ -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

Wyświetl plik

@ -19,11 +19,11 @@ sys.path.insert(0, os.path.abspath(".."))
# -- Project information ----------------------------------------------------- # -- Project information -----------------------------------------------------
project = "iCalEvents" project = "iCalEvents"
copyright = "2021, Thomas Irgang" copyright = "2024, jazzband"
author = "Thomas Irgang" author = "Martin Eigenmann"
# The full version, including alpha/beta/rc tags # The full version, including alpha/beta/rc tags
release = "0.1.27" release = "0.1.28"
# -- General configuration --------------------------------------------------- # -- General configuration ---------------------------------------------------