Skip to content

Commit

Permalink
Merge pull request #113 from cdriehuys/rtd-fix
Browse files Browse the repository at this point in the history
docs: Update Read the Docs configuration
  • Loading branch information
cdriehuys committed Mar 25, 2023
2 parents 681ffe1 + f1516af commit e6e334d
Show file tree
Hide file tree
Showing 5 changed files with 45 additions and 29 deletions.
18 changes: 18 additions & 0 deletions .readthedocs.yaml
@@ -0,0 +1,18 @@
version: 2

build:
os: ubuntu-22.04

tools:
python: "3.11"

jobs:
post_create_environment:
- pip install poetry
- poetry config virtualenvs.create false

post_install:
- poetry install --with docs

sphinx:
configuration: docs/conf.py
1 change: 1 addition & 0 deletions docs/CHANGELOG.md
@@ -0,0 +1 @@
# Changelog
6 changes: 1 addition & 5 deletions docs/conf.py
Expand Up @@ -16,7 +16,7 @@
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
extensions = ["myst_parser", "sphinxcontrib.httpdomain", "sphinx_issues"]
extensions = ["myst_parser", "sphinxcontrib.httpdomain"]

# Add any paths that contain templates here, relative to this directory.
templates_path = ["_templates"]
Expand Down Expand Up @@ -61,10 +61,6 @@
todo_include_todos = False


# Configuration for 'sphinx-issues'
issues_github_path = "cdriehuys/django-rest-email-auth"


# -- Options for HTML output -------------------------------------------

# The theme to use for HTML and HTML Help pages.
Expand Down
38 changes: 17 additions & 21 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions pyproject.toml
Expand Up @@ -50,9 +50,14 @@ optional = true
[tool.poetry.group.docs.dependencies]
myst-parser = "^1.0.0"
sphinx = "^5"
sphinx-autobuild = "2020.9.1"
sphinx-issues = "1.2.0"
sphinx-rtd-theme = "1.2.0"
sphinx-rtd-theme = "^1.2.0"
sphinxcontrib-httpdomain = "^1.8.1"

[tool.poetry.group.docs-dev]
optional = true

[tool.poetry.group.docs-dev.dependencies]
sphinx-autobuild = "^2020.9.1"

[build-system]
requires = ["poetry-core"]
Expand Down

0 comments on commit e6e334d

Please sign in to comment.