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

Fix docs theme #531

Merged
merged 2 commits into from
Aug 22, 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
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