use sphinx-rtd-theme (#668)

This commit is contained in:
Inada Naoki
2023-11-15 19:14:04 +09:00
committed by GitHub
parent cb236e9fef
commit 2e86ccec70
3 changed files with 11 additions and 3 deletions

View File

@@ -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

View File

@@ -49,8 +49,8 @@ source_suffix = ".rst"
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
@@ -100,7 +100,7 @@ pygments_style = "sphinx"
# 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

2
doc/requirements.txt Normal file
View File

@@ -0,0 +1,2 @@
sphinx~=7.2
sphinx-rtd-theme~=1.3.0