Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge up 0.7.x to 0.8.x to propagate docs fix. #212

Merged
merged 5 commits into from
Feb 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading