From 47e3e36ac0893eaa016df38f2971fc281a6a91fc Mon Sep 17 00:00:00 2001 From: Simon Cross Date: Sat, 17 Jun 2023 16:14:22 +0200 Subject: [PATCH] Add readthedocs configuration file. --- .readthedocs.yaml | 22 ++++++++++++++++++++++ requirements.pip | 2 +- 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 .readthedocs.yaml diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..2d04131 --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,22 @@ +# .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.11" + +# Build documentation in the docs/ directory with Sphinx +sphinx: + configuration: python_notes/conf.py + +# We recommend specifying your dependencies to enable reproducible builds: +# https://docs.readthedocs.io/en/stable/guides/reproducible-builds.html +python: + install: + - requirements: requirements.pip diff --git a/requirements.pip b/requirements.pip index 317d163..3480017 100644 --- a/requirements.pip +++ b/requirements.pip @@ -1,2 +1,2 @@ Sphinx -blockdiag \ No newline at end of file +blockdiag