diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..05d03d0 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,20 @@ +# Read the Docs configuration file for Sphinx projects +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +formats: + - pdf + - htmlzip + +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +sphinx: + configuration: docs/conf.py + +python: + install: + - requirements: docs/requirements.txt diff --git a/docs/_static/.gitignore b/docs/_static/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/docs/_templates/.gitignore b/docs/_templates/.gitignore new file mode 100644 index 0000000..e69de29 diff --git a/docs/conf.py b/docs/conf.py index 16f2005..4ccc6da 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -20,13 +20,13 @@ # -- Project information ----------------------------------------------------- project = "jsonrpclib-pelix" -copyright = "2020, Thomas Calmant" +copyright = "2024, Thomas Calmant" author = "Thomas Calmant" # The short X.Y version version = "0.4" # The full version, including alpha/beta/rc tags -release = "0.4.2" +release = "0.4.3.3" # -- General configuration --------------------------------------------------- @@ -64,7 +64,7 @@ # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. # This pattern also affects html_static_path and html_extra_path. -exclude_patterns = ["_build", "Thumbs.db", ".DS_Store"] +exclude_patterns = ["_build", "Thumbs.db", ".DS_Store", ".gitignore", "requirements.txt"] # The name of the Pygments (syntax highlighting) style to use. pygments_style = None diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..6c5d5d4 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1 @@ +sphinx-rtd-theme