From 261f99f3cbb419162791c8e4ee783324085e6aab Mon Sep 17 00:00:00 2001 From: Luciano Resende Date: Wed, 13 Dec 2023 09:34:42 -0800 Subject: [PATCH] Update docs build with readthedocs config --- docs/.readthedocs.yaml | 27 +++++++++++++++++++++++++++ docs/source/conf.py | 2 +- 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 docs/.readthedocs.yaml diff --git a/docs/.readthedocs.yaml b/docs/.readthedocs.yaml new file mode 100644 index 00000000..f6acf6d3 --- /dev/null +++ b/docs/.readthedocs.yaml @@ -0,0 +1,27 @@ +# .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.8" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: docs/conf.py + +# If using Sphinx, optionally build your docs in additional formats such as PDF +# formats: +# - pdf + +# Optionally declare the Python requirements required to build your docs +python: + install: + - requirements: docs/doc-requirements.txt + - method: pip + path: . \ No newline at end of file diff --git a/docs/source/conf.py b/docs/source/conf.py index c631a928..bf6071ec 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -64,7 +64,7 @@ # General information about the project. project = "Jupyter Enterprise Gateway" -copyright = "2022, Project Jupyter" # noqa +copyright = "2023, Project Jupyter" # noqa author = "Jupyter Server Team" # The version info for the project you're documenting, acts as replacement for