mirror of
https://github.com/msgpack/msgpack-python.git
synced 2025-10-19 12:03:15 +00:00
doc: use sphinx-rtd-theme (#575)
This commit is contained in:
parent
2982e9ff72
commit
c78026102c
5 changed files with 5 additions and 5 deletions
1
.github/workflows/docs.yaml
vendored
1
.github/workflows/docs.yaml
vendored
|
@ -24,7 +24,6 @@ jobs:
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements.txt
|
pip install -r requirements.txt
|
||||||
make cython
|
make cython
|
||||||
pip install .
|
|
||||||
|
|
||||||
- name: Sphinx Documentation Generator
|
- name: Sphinx Documentation Generator
|
||||||
run: |
|
run: |
|
||||||
|
|
|
@ -18,6 +18,7 @@ python:
|
||||||
install:
|
install:
|
||||||
- method: pip
|
- method: pip
|
||||||
path: .
|
path: .
|
||||||
|
- requirements: docs/requirements.txt
|
||||||
|
|
||||||
sphinx:
|
sphinx:
|
||||||
configuration: docs/conf.py
|
configuration: docs/conf.py
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
# -*- coding: utf-8 -*-
|
|
||||||
#
|
|
||||||
# msgpack documentation build configuration file, created by
|
# msgpack documentation build configuration file, created by
|
||||||
# sphinx-quickstart on Sun Feb 24 14:20:50 2013.
|
# sphinx-quickstart on Sun Feb 24 14:20:50 2013.
|
||||||
#
|
#
|
||||||
|
@ -91,7 +89,7 @@ pygments_style = "sphinx"
|
||||||
|
|
||||||
# The theme to use for HTML and HTML Help pages. See the documentation for
|
# The theme to use for HTML and HTML Help pages. See the documentation for
|
||||||
# a list of builtin themes.
|
# a list of builtin themes.
|
||||||
html_theme = "sphinxdoc"
|
html_theme = "sphinx_rtd_theme"
|
||||||
|
|
||||||
# Theme options are theme-specific and customize the look and feel of a 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
|
# further. For a list of options available for each theme, see the
|
||||||
|
|
2
docs/requirements.txt
Normal file
2
docs/requirements.txt
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
sphinx~=7.2
|
||||||
|
sphinx-rtd-theme~=1.3.0
|
2
tox.ini
2
tox.ini
|
@ -33,6 +33,6 @@ commands=
|
||||||
[testenv:sphinx]
|
[testenv:sphinx]
|
||||||
changedir = docs
|
changedir = docs
|
||||||
deps =
|
deps =
|
||||||
sphinx
|
-r docs/requirements.txt
|
||||||
commands =
|
commands =
|
||||||
sphinx-build -n -v -W --keep-going -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
sphinx-build -n -v -W --keep-going -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue