File tree Expand file tree Collapse file tree 5 files changed +14
-10
lines changed Expand file tree Collapse file tree 5 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,8 @@ First time setup
79
79
80
80
pip install -e ".[dev]"
81
81
82
- - Install the pre-commit hooks:
82
+ - Install the `pre-commit framework `_.
83
+ - Install the pre-commit hooks::
83
84
84
85
pre-commit install --install-hooks
85
86
@@ -89,6 +90,7 @@ First time setup
89
90
.. _email : https://help.github.com/en/articles/setting-your-commit-email-address-in-git
90
91
.. _Fork : https://github.com/pallets/flask/fork
91
92
.. _Clone : https://help.github.com/en/articles/fork-a-repo#step-2-create-a-local-clone-of-your-fork
93
+ .. _pre-commit framework : https://pre-commit.com/#install
92
94
93
95
Start coding
94
96
~~~~~~~~~~~~
Original file line number Diff line number Diff line change 1
1
# Minimal makefile for Sphinx documentation
2
2
#
3
3
4
- # You can set these variables from the command line.
5
- SPHINXOPTS =
6
- SPHINXBUILD = sphinx-build
4
+ # You can set these variables from the command line, and also
5
+ # from the environment for the first two.
6
+ SPHINXOPTS ?=
7
+ SPHINXBUILD ?= sphinx-build
7
8
SOURCEDIR = .
8
9
BUILDDIR = _build
9
10
Original file line number Diff line number Diff line change 1
- import packaging
1
+ import packaging . version
2
2
from pallets_sphinx_themes import get_version
3
3
from pallets_sphinx_themes import ProjectLink
4
4
Original file line number Diff line number Diff line change @@ -25,11 +25,11 @@ if errorlevel 9009 (
25
25
exit /b 1
26
26
)
27
27
28
- %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
28
+ %SPHINXBUILD% -M %1 %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
29
29
goto end
30
30
31
31
:help
32
- %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS%
32
+ %SPHINXBUILD% -M help %SOURCEDIR% %BUILDDIR% %SPHINXOPTS% %O%
33
33
34
34
:end
35
35
popd
Original file line number Diff line number Diff line change 1
- Sphinx ~= 2.1.2
2
- Pallets-Sphinx-Themes ~= 1.1.4
3
- sphinxcontrib-log-cabinet ~= 1.0.0
1
+ Sphinx ~= 2.2.0
2
+ Pallets-Sphinx-Themes ~= 1.2.2
3
+ sphinxcontrib-log-cabinet ~= 1.0.1
4
4
sphinx-issues ~= 1.2.0
5
+ packaging ~= 19.2
You can’t perform that action at this time.
0 commit comments