Skip to content

Commit

Permalink
Merge pull request #212 from learningequality/release-v0.7.x
Browse files Browse the repository at this point in the history
Merge up 0.7.x to 0.8.x to propagate docs fix.
  • Loading branch information
bjester committed Feb 1, 2024
2 parents c86c9fc + 63c1607 commit 1b30781
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 31 deletions.
8 changes: 0 additions & 8 deletions .buildkite/build.sh

This file was deleted.

10 changes: 0 additions & 10 deletions .buildkite/pipeline.yml

This file was deleted.

6 changes: 3 additions & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,10 @@
import sys

import django
import sphinx_rtd_theme
from django.utils.encoding import force_text
from django.utils.html import strip_tags

import sphinx_rtd_theme

# If extensions (or modules to document with autodoc) are in another
# directory, add these directories to sys.path here. If the directory is
# relative to the documentation root, use os.path.abspath to make it
Expand Down Expand Up @@ -171,6 +170,7 @@ def process_docstring(app, what, name, obj, options, lines):
html_theme = "sphinx_rtd_theme"
html_theme_path = [".", sphinx_rtd_theme.get_html_theme_path()]


# Approach 2 for custom stylesheet:
# adapted from: http://rackerlabs.github.io/docs-rackspace/tools/rtd-tables.html
# and https://github.com/altair-viz/altair/pull/418/files
Expand All @@ -179,7 +179,7 @@ def setup(app):
# Register the docstring processor with sphinx
app.connect("autodoc-process-docstring", process_docstring)
# Add our custom CSS overrides
app.add_stylesheet("theme_overrides.css")
app.add_css_file("theme_overrides.css")


# Theme options are theme-specific and customize the look and feel of a
Expand Down
17 changes: 7 additions & 10 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
sphinx==2.4.4
sphinx-intl==2.0.1
sphinx-rtd-theme==0.5.2
sphinx-autobuild==0.7.1
watchdog==0.10.3
m2r==0.2.1
mistune<2.0.0
sphinx-notfound-page==0.6
# Do this to prevent undefined imports in newer versions of Jinja2
Jinja2<3.1
sphinx
sphinx-intl
sphinx-rtd-theme
sphinx-autobuild
watchdog
m2r
sphinx-notfound-page

# for extracting model docs
django==1.11.29 # pyup: >=1.11,<2
Expand Down

0 comments on commit 1b30781

Please sign in to comment.