Skip to content

Commit

Permalink
Merge pull request learningequality#12466 from benjaoming/docs-minima…
Browse files Browse the repository at this point in the history
…l-pinning

Adds loose pinning of dev docs requirements to ensure correct builds …
  • Loading branch information
rtibbles authored Jul 18, 2024
2 parents a415340 + 51bef48 commit 542d558
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
8 changes: 7 additions & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,13 @@ def process_docstring(app, what, name, obj, options, lines):

# Add any Sphinx extension module names here, as strings. They can be extensions
# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
extensions = ["sphinx.ext.autodoc", "sphinx.ext.viewcode", "m2r", "notfound.extension"]
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.viewcode",
"m2r",
"notfound.extension",
"sphinxcontrib.jquery",
]

linkcheck_ignore = [
"https://groups.google.com/a/learningequality.org/forum/#!forum/dev"
Expand Down
7 changes: 5 additions & 2 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
-r base.txt

# These are for building the docs
sphinx

# Sphinx stack requires a version of requests that's incompatible with Morango, so downgrading
sphinx>=6,<7
sphinx-intl
sphinx-rtd-theme
# We want to ensure the latest version of sphinx-rtd-theme that has sphinxcontrib-jquery as a dependency
sphinx-rtd-theme~=2.0
sphinx-autobuild
m2r
sphinx-notfound-page

0 comments on commit 542d558

Please sign in to comment.