diff --git a/.readthedocs.yaml b/.readthedocs.yaml new file mode 100644 index 0000000..e14909b --- /dev/null +++ b/.readthedocs.yaml @@ -0,0 +1,20 @@ +# ReadTheDocs configuration file +# See https://docs.readthedocs.io/en/stable/config-file/v2.html for details + +version: 2 + +build: + os: ubuntu-22.04 + tools: + python: "3.11" + +sphinx: + configuration: docs/conf.py + +python: + install: + - requirements: docs/requirements.txt + - method: pip + path: . + extra_requirements: + - all diff --git a/docs/index.rst b/docs/index.rst index d999f04..822d253 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -10,6 +10,8 @@ Welcome to Prometheus Client API Python's documentation! :maxdepth: 2 :caption: Contents: + source/modules + Indices and tables diff --git a/docs/requirements.txt b/docs/requirements.txt new file mode 100644 index 0000000..cbf1e36 --- /dev/null +++ b/docs/requirements.txt @@ -0,0 +1,2 @@ +sphinx +sphinx-rtd-theme