Skip to content

Commit b17af28

Browse files
authored
Merge pull request #352 from Segelzwerg/update-deps
Update deps, pyproject.toml and docs
2 parents f6996ad + bac8547 commit b17af28

File tree

6 files changed

+179
-99
lines changed

6 files changed

+179
-99
lines changed

.readthedocs.yaml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,16 @@ build:
1111
tools:
1212
python: "3.13"
1313

14-
1514
# Build documentation in the "docs/" directory with Sphinx
1615
sphinx:
1716
configuration: docs/conf.py
1817

1918
# Optionally build your docs in additional formats such as PDF and ePub
20-
formats:
21-
- pdf
22-
19+
formats: all
2320

2421
# Optional but recommended, declare the Python requirements required
2522
# to build your documentation
2623
# See https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html
27-
# python:
28-
# install:
29-
# - requirements: docs/requirements.txt
24+
python:
25+
install:
26+
- requirements: docs/requirements.txt

docs/conf.py

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,25 @@
77
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
88

99
project = 'Rechnung'
10-
copyright = '2024, Segelzwerg, iTitus'
10+
copyright = '2024-2025, Segelzwerg, iTitus'
1111
author = 'Segelzwerg, iTitus'
12-
release = 'v0.2.0'
1312

1413
# -- General configuration ---------------------------------------------------
1514
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration
1615

17-
extensions = []
16+
extensions = [
17+
'sphinx_rtd_theme'
18+
]
1819

1920
templates_path = ['_templates']
20-
exclude_patterns = ['_build', 'Thumbs.db', '.DS_Store']
21+
exclude_patterns = []
2122

2223
# -- Options for HTML output -------------------------------------------------
2324
# https://www.sphinx-doc.org/en/master/usage/configuration.html#options-for-html-output
2425

25-
html_theme = 'alabaster'
26+
html_theme = 'sphinx_rtd_theme'
2627
html_static_path = ['_static']
28+
29+
# for RTD
30+
import os
31+
html_baseurl = os.environ.get("READTHEDOCS_CANONICAL_URL", "/")

docs/index.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.. Rechnung documentation master file, created by
2-
sphinx-quickstart on Tue Dec 3 14:48:28 2024.
3-
You can adapt this file completely to your liking, but it should at least
4-
contain the root `toctree` directive.
2+
sphinx-quickstart on Tue Dec 3 14:48:28 2024.
3+
You can adapt this file completely to your liking, but it should at least
4+
contain the root `toctree` directive.
55
66
Rechnung documentation
77
======================

docs/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
sphinx==8.2.3
2+
sphinx-rtd-theme==3.0.2

0 commit comments

Comments
 (0)