Skip to content

Commit 0addd8f

Browse files
authored
v0.9.1
2 parents 3b19439 + 971d806 commit 0addd8f

File tree

15 files changed

+30
-25
lines changed

15 files changed

+30
-25
lines changed

.github/workflows/Pipeline.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,11 @@ on:
99

1010
jobs:
1111
Pipeline:
12-
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@r4
12+
uses: pyTooling/Actions/.github/workflows/CompletePipeline.yml@dev
1313
with:
1414
package_name: sphinx_reports
1515
unittest_python_version_list: '3.11 3.12 3.13'
1616
codecov: true
1717
codacy: true
1818
dorny: true
19-
secrets:
20-
PYPI_TOKEN: ${{ secrets.PYPI_TOKEN }}
21-
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
22-
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
19+
secrets: inherit

doc/CodeCov/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ The second file shows how to integrate that document into the navigation bar / *
153153

154154
.. code-block:: ReST
155155
156+
.. _CODECOV:
157+
156158
Code Coverage Report
157159
####################
158160
@@ -187,7 +189,7 @@ The second file shows how to integrate that document into the navigation bar / *
187189
Python Class Reference <sphinx_reports/sphinx_reports>
188190
Unittest
189191
CodeCoverage
190-
DocCoverage
192+
Doc. Coverage Report <DocCoverage>
191193
Static Type Check Report ➚ <typing/index>
192194
193195
.. toctree::

doc/CodeCoverage.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _CODECOV:
2+
13
Code Coverage Report
24
####################
35

doc/Dependency.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ the mandatory dependencies too.
166166
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
167167
| `sphinx-copybutton <https://GitHub.com/executablebooks/sphinx-copybutton>`__ | ≥0.5 | `MIT <https://GitHub.com/executablebooks/sphinx-copybutton/blob/master/LICENSE>`__ | *Not yet evaluated.* |
168168
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
169-
| `sphinx_autodoc_typehints <https://GitHub.com/agronholm/sphinx-autodoc-typehints>`__ | ≥3.1 | `MIT <https://GitHub.com/agronholm/sphinx-autodoc-typehints/blob/master/LICENSE>`__ | *Not yet evaluated.* |
169+
| `sphinx_autodoc_typehints <https://GitHub.com/agronholm/sphinx-autodoc-typehints>`__ | ≥3.2 | `MIT <https://GitHub.com/agronholm/sphinx-autodoc-typehints/blob/master/LICENSE>`__ | *Not yet evaluated.* |
170170
+-------------------------------------------------------------------------------------------------+--------------+----------------------------------------------------------------------------------------------------------+------------------------------------------------------------------------------------------------------------------------------------------------------+
171171

172172
.. TODO:: document the usage of

doc/DocCov/index.rst

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ The second file shows how to integrate that document into the navigation bar / *
150150

151151
.. code-block:: ReST
152152
153+
.. _DOCCOV:
154+
153155
Documentation Coverage Report
154156
#############################
155157
@@ -184,7 +186,7 @@ The second file shows how to integrate that document into the navigation bar / *
184186
Python Class Reference <sphinx_reports/sphinx_reports>
185187
Unittest
186188
CodeCoverage
187-
DocCoverage
189+
Doc. Coverage Report <DocCoverage>
188190
Static Type Check Report ➚ <typing/index>
189191
190192
.. toctree::

doc/DocCoverage.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
.. _DOCCOV:
2+
13
Documentation Coverage Report
24
#############################
35

doc/Overview.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ See the following :file:`doc/requirements.txt` file as an example with commonly
4848
autoapi ~= 2.0.1
4949
sphinx_design ~= 0.6.1
5050
sphinx-copybutton ~= 0.5.2
51-
sphinx_autodoc_typehints ~= 3.1
51+
sphinx_autodoc_typehints ~= 3.2
5252
sphinx_reports ~= 1.0 # <= new entry
5353
5454
Finally, the extension needs to be enabled in Sphinx's :file:`conf.py`, so the extension is loaded by Sphinx.

doc/Unittest/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ The second file shows how to integrate that document into the navigation bar / *
163163
Python Class Reference <sphinx_reports/sphinx_reports>
164164
Unittest
165165
CodeCoverage
166-
DocCoverage
166+
Doc. Coverage Report <DocCoverage>
167167
Static Type Check Report ➚ <typing/index>
168168
169169
.. toctree::

doc/conf.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# If extensions (or modules to document with autodoc) are in another directory,
22
# add these directories to sys.path here. If the directory is relative to the
33
# documentation root, use os.path.abspath to make it absolute, like shown here.
4-
from importlib.util import find_spec
54
from sys import path as sys_path
65
from os.path import abspath
76
from pathlib import Path
@@ -24,8 +23,9 @@
2423
# |version| and |release|, also used in various other places throughout the
2524
# built documents.
2625
project = "sphinx_reports"
26+
directoryName = project.replace('.', '/')
2727

28-
packageInformationFile = Path(f"../{project.replace('.', '/')}/__init__.py")
28+
packageInformationFile = Path(f"../{directoryName}/__init__.py")
2929
versionInformation = extractVersionInformation(packageInformationFile)
3030

3131
author = versionInformation.Author
@@ -271,7 +271,7 @@
271271

272272
report_codecov_packages = {
273273
"src": {
274-
"name": "sphinx_reports",
274+
"name": f"{project}",
275275
"json_report": "../report/coverage/coverage.json",
276276
"fail_below": 80,
277277
"levels": "default"
@@ -280,8 +280,8 @@
280280

281281
report_doccov_packages = {
282282
"src": {
283-
"name": "sphinx_reports",
284-
"directory": "../sphinx_reports",
283+
"name": f"{project}",
284+
"directory": f"../{directoryName}",
285285
"fail_below": 80,
286286
"levels": "default"
287287
},

doc/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ License
240240
unittests/index
241241
coverage/index
242242
CodeCoverage
243-
DocCoverage
243+
Doc. Coverage Report <DocCoverage>
244244
Static Type Check Report ➚ <typing/index>
245245

246246
.. raw:: latex

0 commit comments

Comments
 (0)