Skip to content

Commit

Permalink
use sphinx-rtd-theme (#668)
Browse files Browse the repository at this point in the history
  • Loading branch information
methane authored Nov 15, 2023
1 parent cb236e9 commit 2e86cce
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
6 changes: 6 additions & 0 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,12 @@ build:
os: ubuntu-22.04
tools:
python: "3.11"

apt_packages:
- default-libmysqlclient-dev
- build-essential

python:
install:
- requirements: doc/requirements.txt

6 changes: 3 additions & 3 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
master_doc = "index"

# General information about the project.
project = "MySQLdb"
copyright = "2012, Andy Dustman"
project = "mysqlclient"
copyright = "2023, Inada Naoki"

# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the
Expand Down Expand Up @@ -100,7 +100,7 @@

# The theme to use for HTML and HTML Help pages. See the documentation for
# a list of builtin themes.
html_theme = "default"
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
2 changes: 2 additions & 0 deletions doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sphinx~=7.2
sphinx-rtd-theme~=1.3.0

0 comments on commit 2e86cce

Please sign in to comment.