File tree Expand file tree Collapse file tree 4 files changed +13
-0
lines changed Expand file tree Collapse file tree 4 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -133,6 +133,11 @@ jobs:
133133 with :
134134 persist-credentials : false
135135
136+ - name : " Fetch origin/master"
137+ # rediraffe needs to compare to origin/master
138+ run : |
139+ git fetch origin master --depth=1
140+
136141 - name : " Install Python"
137142 uses : actions/setup-python@e797f83bcb11b83ae66e0230d6156d7c80228e7c # v6.0.0
138143 with :
Original file line number Diff line number Diff line change 3939 "sphinx.ext.intersphinx" ,
4040 "sphinxcontrib.restbuilder" ,
4141 "sphinx.ext.napoleon" ,
42+ "sphinxext.rediraffe" ,
4243 "sphinx_code_tabs" ,
4344 "sphinx_rtd_theme" ,
4445]
125126 "python" : ("https://docs.python.org/3" , None ),
126127}
127128
129+ rediraffe_branch = "origin/master"
130+ rediraffe_redirects = {
131+ "cmd.rst" : "commands/index.rst" ,
132+ }
133+
128134nitpick_ignore = [
129135 ("py:class" , "DefaultValue" ),
130136 ("py:class" , "FilePath" ),
Original file line number Diff line number Diff line change @@ -17,3 +17,4 @@ sphinx-code-tabs
1717sphinx-lint
1818sphinxcontrib-restbuilder
1919sphinxcontrib-spelling
20+ git+https://github.com/nedbat/sphinxext-rediraffe@nedbat/bug-58
Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ commands =
8686 doc8 -q --ignore-path ' doc/_*' doc CHANGES.rst README.rst
8787 sphinx-lint doc CHANGES.rst README.rst
8888 sphinx-build -b html -aEnqW doc doc/_build/html
89+ sphinx-build -b rediraffecheckdiff doc/ doc/_build/html
8990 rst2html --verbose --strict README.rst doc/_build/README.html
9091 - sphinx-build -b html -b linkcheck -aEnq doc doc/_build/html
9192 - sphinx-build -b html -b linkcheck -aEnQW doc doc/_build/html
You can’t perform that action at this time.
0 commit comments