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

switch to sphinx-rtd-theme #378

Merged
merged 1 commit into from
Feb 26, 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
4 changes: 1 addition & 3 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@

# Ensure documentation examples are deterministically random.
import numpy
import stsci_rtd_theme

if sys.version_info < (3, 11):
import tomli as tomllib
Expand Down Expand Up @@ -106,8 +105,7 @@
# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes. To override the custom theme, set this to the
# name of a builtin theme or the name of a custom theme in html_theme_path.
html_theme = "stsci_rtd_theme"
html_theme_path = [stsci_rtd_theme.get_html_theme_path()]
html_theme = "sphinx_rtd_theme"

html_static_path = ["_static"]

Expand Down
2 changes: 1 addition & 1 deletion docs/creating.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ you should have a clear idea of the following:

* Which fields will be primitive data types like ``int``, ``float``,
``str``, or ``bool``. In JSON-schema these will be ``integer``,
``number``, ``string``, and ``boolean`` respectively.
``number``, ``string``, and ``boolean`` respectively.
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I noticed this indentation was causing a warning during the docs build:
/home/docs/checkouts/readthedocs.org/user_builds/rad/checkouts/364/docs/creating.rst:34: ERROR: Unexpected indentation.
See: https://readthedocs.org/api/v2/build/23542081.txt


* Which fields will require using an ASDF tag to reference another
schema corresponding to a non-primitive type. In particular, you need
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ docs = [
'sphinx',
'sphinx-asdf>=0.1.3',
'sphinx-astropy',
'sphinx-rtd-theme',
'astropy>=5.0.4',
'graphviz',
'matplotlib',
'docutils',
'stsci-rtd-theme',
'tomli; python_version <"3.11"',
'importlib-metadata',
]
Expand Down