Skip to content

Commit 85c216f

Browse files
authored
Fix docs theme (#531)
1 parent cdf5fe6 commit 85c216f

File tree

4 files changed

+4
-112
lines changed

4 files changed

+4
-112
lines changed

docs/conf.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
# General information about the project.
4747
project = "django-dbbackup"
48-
copyright = "2016, Michael Shepanski"
48+
copyright = "Mark Bakhit"
4949

5050
# basepath
5151
path = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
@@ -102,11 +102,8 @@
102102

103103
# -- Options for HTML output ---------------------------------------------------
104104

105-
on_rtd = os.environ.get("READTHEDOCS", None) == "True"
106-
if on_rtd:
107-
html_theme = "default"
108-
else:
109-
html_theme = "nature"
105+
html_theme = "sphinx_rtd_theme"
106+
110107

111108
# Theme options are theme-specific and customize the look and feel of a theme
112109
# further. For a list of options available for each theme, see the

docs/index.rst

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ It is made to:
1515
- Keep your development database up to date
1616
- Use Crontab or Celery to setup automated backups
1717

18-
.. warning::
19-
20-
Django DBBackup version 3 is very different to its predecessors.
21-
See `Upgrade documentation`_ to help to get up to date.
22-
23-
.. _`Upgrade documentation`: upgrade.html
24-
2518
Contents:
2619

2720
.. toctree::
@@ -33,7 +26,6 @@ Contents:
3326
storage
3427
commands
3528
integration
36-
upgrade
3729
contributing
3830
changelog
3931

docs/upgrade.rst

Lines changed: 0 additions & 98 deletions
This file was deleted.

requirements/docs.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ docutils
33
python-dotenv
44
sphinx
55
sphinx-django-command
6+
sphinx-rtd-theme

0 commit comments

Comments
 (0)