Skip to content

Commit

Permalink
Fix docs theme (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
Archmonger authored Aug 22, 2024
1 parent cdf5fe6 commit 85c216f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 112 deletions.
9 changes: 3 additions & 6 deletions docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@

# General information about the project.
project = "django-dbbackup"
copyright = "2016, Michael Shepanski"
copyright = "Mark Bakhit"

# basepath
path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
Expand Down Expand Up @@ -102,11 +102,8 @@

# -- Options for HTML output ---------------------------------------------------

on_rtd = os.environ.get("READTHEDOCS", None) == "True"
if on_rtd:
html_theme = "default"
else:
html_theme = "nature"
html_theme = "sphinx_rtd_theme"


# Theme options are theme-specific and customize the look and feel of a theme
# further. For a list of options available for each theme, see the
Expand Down
8 changes: 0 additions & 8 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,6 @@ It is made to:
- Keep your development database up to date
- Use Crontab or Celery to setup automated backups

.. warning::

Django DBBackup version 3 is very different to its predecessors.
See `Upgrade documentation`_ to help to get up to date.

.. _`Upgrade documentation`: upgrade.html

Contents:

.. toctree::
Expand All @@ -33,7 +26,6 @@ Contents:
storage
commands
integration
upgrade
contributing
changelog

Expand Down
98 changes: 0 additions & 98 deletions docs/upgrade.rst

This file was deleted.

1 change: 1 addition & 0 deletions requirements/docs.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ docutils
python-dotenv
sphinx
sphinx-django-command
sphinx-rtd-theme

0 comments on commit 85c216f

Please sign in to comment.