Skip to content

Commit

Permalink
Merge 2e8cc27 into 8da846e
Browse files Browse the repository at this point in the history
  • Loading branch information
LilSpazJoekp committed Jul 4, 2023
2 parents 8da846e + 2e8cc27 commit e7fc129
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 58 deletions.
43 changes: 0 additions & 43 deletions docs/_static/theme_override.css

This file was deleted.

14 changes: 1 addition & 13 deletions docs/conf.py
@@ -1,4 +1,3 @@
import os
import sys
from datetime import datetime

Expand All @@ -13,12 +12,8 @@
extensions = [
"sphinx.ext.autodoc",
"sphinx.ext.intersphinx",
"sphinx_rtd_dark_mode",
"sphinx_rtd_theme",
]
html_static_path = ["_static"]
html_theme = "sphinx_rtd_theme"
html_theme_options = {"collapse_navigation": True}
html_theme = "furo"
htmlhelp_basename = "PRAW"
intersphinx_mapping = {"python": ("https://docs.python.org/3", None)}
master_doc = "index"
Expand All @@ -35,12 +30,6 @@
suppress_warnings = ["image.nonlocal_uri"]
version = ".".join(__version__.split(".", 2)[:2])

# Use RTD theme locally
if not os.environ.get("READTHEDOCS"):
import sphinx_rtd_theme

html_theme_path = [sphinx_rtd_theme.get_html_theme_path()]


def skip(app, what, name, obj, skip, options):
if name in {
Expand All @@ -57,4 +46,3 @@ def skip(app, what, name, obj, skip, options):

def setup(app):
app.connect("autodoc-skip-member", skip)
app.add_css_file("theme_override.css")
4 changes: 2 additions & 2 deletions setup.py
Expand Up @@ -17,7 +17,7 @@
"ci": ["coveralls"],
"dev": ["packaging"],
"lint": ["pre-commit"],
"readthedocs": ["sphinx", "sphinx-rtd-dark-mode", "sphinx_rtd_theme"],
"readthedocs": ["furo", "sphinx"],
"test": [
"betamax >=0.8, <0.9",
"betamax-matchers >=0.3.0, <0.5",
Expand Down Expand Up @@ -51,7 +51,7 @@
"Topic :: Utilities",
],
description=(
'PRAW, an acronym for "Python Reddit API Wrapper", is a python package that'
'PRAW, an acronym for "Python Reddit API Wrapper", is a Python package that'
" allows for simple access to Reddit's API."
),
extras_require=extras,
Expand Down

0 comments on commit e7fc129

Please sign in to comment.