sphinxext-bsb 0.2.2__tar.gz → 0.2.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of sphinxext-bsb might be problematic. Click here for more details.
- sphinxext_bsb-0.2.3/PKG-INFO +13 -0
- sphinxext_bsb-0.2.3/README.md +3 -0
- sphinxext_bsb-0.2.3/project.json +97 -0
- sphinxext_bsb-0.2.3/pyproject.toml +79 -0
- sphinxext-bsb-0.2.2/bsbdocs.py → sphinxext_bsb-0.2.3/sphinxext/bsb/__init__.py +0 -1
- sphinxext-bsb-0.2.2/LICENSE +0 -21
- sphinxext-bsb-0.2.2/PKG-INFO +0 -6
- sphinxext-bsb-0.2.2/README.md +0 -2
- sphinxext-bsb-0.2.2/pyproject.toml +0 -11
- sphinxext-bsb-0.2.2/setup.cfg +0 -4
- sphinxext-bsb-0.2.2/sphinxext_bsb.egg-info/PKG-INFO +0 -6
- sphinxext-bsb-0.2.2/sphinxext_bsb.egg-info/SOURCES.txt +0 -9
- sphinxext-bsb-0.2.2/sphinxext_bsb.egg-info/dependency_links.txt +0 -1
- sphinxext-bsb-0.2.2/sphinxext_bsb.egg-info/requires.txt +0 -1
- sphinxext-bsb-0.2.2/sphinxext_bsb.egg-info/top_level.txt +0 -1
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: sphinxext-bsb
|
|
3
|
+
Version: 0.2.3
|
|
4
|
+
Summary: BSB Sphinx documentation extension
|
|
5
|
+
Requires-Python: >=3.9,<3.12
|
|
6
|
+
Description-Content-Type: text/markdown
|
|
7
|
+
Requires-Dist: bsb-core
|
|
8
|
+
Requires-Dist: sphinx-design~=0.5
|
|
9
|
+
|
|
10
|
+
# sphinxext-bsb
|
|
11
|
+
|
|
12
|
+
Project description here.
|
|
13
|
+
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sphinxext-bsb",
|
|
3
|
+
"$schema": "../node_modules/nx/schemas/project-schema.json",
|
|
4
|
+
"projectType": "library",
|
|
5
|
+
"sourceRoot": "sphinxext-bsb/sphinxext_bsb",
|
|
6
|
+
"targets": {
|
|
7
|
+
"lock": {
|
|
8
|
+
"executor": "@nxlv/python:lock",
|
|
9
|
+
"options": {
|
|
10
|
+
"update": false
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"sync": {
|
|
14
|
+
"executor": "@nxlv/python:sync",
|
|
15
|
+
"options": {}
|
|
16
|
+
},
|
|
17
|
+
"add": {
|
|
18
|
+
"executor": "@nxlv/python:add",
|
|
19
|
+
"options": {}
|
|
20
|
+
},
|
|
21
|
+
"update": {
|
|
22
|
+
"executor": "@nxlv/python:update",
|
|
23
|
+
"options": {}
|
|
24
|
+
},
|
|
25
|
+
"remove": {
|
|
26
|
+
"executor": "@nxlv/python:remove",
|
|
27
|
+
"options": {}
|
|
28
|
+
},
|
|
29
|
+
"build": {
|
|
30
|
+
"executor": "@nxlv/python:build",
|
|
31
|
+
"outputs": [
|
|
32
|
+
"{projectRoot}/dist"
|
|
33
|
+
],
|
|
34
|
+
"options": {
|
|
35
|
+
"outputPath": "{projectRoot}/dist",
|
|
36
|
+
"publish": true,
|
|
37
|
+
"lockedVersions": false,
|
|
38
|
+
"bundleLocalDependencies": false
|
|
39
|
+
},
|
|
40
|
+
"cache": true
|
|
41
|
+
},
|
|
42
|
+
"lint": {
|
|
43
|
+
"executor": "@nxlv/python:ruff-check",
|
|
44
|
+
"outputs": [],
|
|
45
|
+
"options": {
|
|
46
|
+
"lintFilePatterns": [
|
|
47
|
+
"sphinxext_bsb",
|
|
48
|
+
"tests"
|
|
49
|
+
]
|
|
50
|
+
},
|
|
51
|
+
"cache": true
|
|
52
|
+
},
|
|
53
|
+
"format": {
|
|
54
|
+
"executor": "@nxlv/python:ruff-format",
|
|
55
|
+
"outputs": [],
|
|
56
|
+
"options": {
|
|
57
|
+
"filePatterns": [
|
|
58
|
+
"sphinxext_bsb",
|
|
59
|
+
"tests"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"cache": true
|
|
63
|
+
},
|
|
64
|
+
"test": {
|
|
65
|
+
"executor": "@nxlv/python:run-commands",
|
|
66
|
+
"outputs": [
|
|
67
|
+
"{workspaceRoot}/reports/{projectRoot}/unittests",
|
|
68
|
+
"{workspaceRoot}/coverage/{projectRoot}"
|
|
69
|
+
],
|
|
70
|
+
"options": {
|
|
71
|
+
"command": "uv run pytest tests/",
|
|
72
|
+
"cwd": "{projectRoot}"
|
|
73
|
+
},
|
|
74
|
+
"cache": true
|
|
75
|
+
},
|
|
76
|
+
"install": {
|
|
77
|
+
"executor": "@nxlv/python:install",
|
|
78
|
+
"options": {
|
|
79
|
+
"silent": false,
|
|
80
|
+
"args": "",
|
|
81
|
+
"verbose": false,
|
|
82
|
+
"debug": false
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
"nx-release-publish": {
|
|
86
|
+
"executor": "@nxlv/python:publish",
|
|
87
|
+
"options": {},
|
|
88
|
+
"outputs": []
|
|
89
|
+
}
|
|
90
|
+
},
|
|
91
|
+
"tags": [],
|
|
92
|
+
"release": {
|
|
93
|
+
"version": {
|
|
94
|
+
"generator": "@nxlv/python:release-version"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
[tool.coverage.run]
|
|
2
|
+
branch = true
|
|
3
|
+
source = [ "sphinxext_bsb" ]
|
|
4
|
+
|
|
5
|
+
[tool.coverage.report]
|
|
6
|
+
exclude_lines = ['if TYPE_CHECKING:']
|
|
7
|
+
show_missing = true
|
|
8
|
+
|
|
9
|
+
[tool.pytest.ini_options]
|
|
10
|
+
addopts = """
|
|
11
|
+
--cov
|
|
12
|
+
--cov-report html:'../coverage/sphinxext-bsb/html'
|
|
13
|
+
--cov-report xml:'../coverage/sphinxext-bsb/coverage.xml'
|
|
14
|
+
--html='../reports/sphinxext-bsb/unittests/html/index.html'
|
|
15
|
+
--junitxml='../reports/sphinxext-bsb/unittests/junit.xml'
|
|
16
|
+
"""
|
|
17
|
+
|
|
18
|
+
[project]
|
|
19
|
+
name = "sphinxext-bsb"
|
|
20
|
+
version = "0.2.3"
|
|
21
|
+
description = "BSB Sphinx documentation extension"
|
|
22
|
+
requires-python = ">=3.9,<3.12"
|
|
23
|
+
readme = 'README.md'
|
|
24
|
+
dependencies = [
|
|
25
|
+
"bsb-core",
|
|
26
|
+
"sphinx-design~=0.5",
|
|
27
|
+
]
|
|
28
|
+
|
|
29
|
+
[tool.flit.module]
|
|
30
|
+
name = "sphinxext.bsb"
|
|
31
|
+
|
|
32
|
+
[dependency-groups]
|
|
33
|
+
dev = [
|
|
34
|
+
"autopep8>=2.3.1",
|
|
35
|
+
"ruff>=0.8.2",
|
|
36
|
+
"pytest>=8.3.4",
|
|
37
|
+
"pytest-sugar>=1.0.0",
|
|
38
|
+
"pytest-cov>=6.0.0",
|
|
39
|
+
"pytest-html>=4.1.1",
|
|
40
|
+
]
|
|
41
|
+
|
|
42
|
+
[build-system]
|
|
43
|
+
requires = ["flit>=3.5"]
|
|
44
|
+
build-backend = "flit.buildapi"
|
|
45
|
+
|
|
46
|
+
[tool.ruff]
|
|
47
|
+
exclude = [
|
|
48
|
+
".ruff_cache",
|
|
49
|
+
".svn",
|
|
50
|
+
".tox",
|
|
51
|
+
".venv",
|
|
52
|
+
"dist",
|
|
53
|
+
]
|
|
54
|
+
|
|
55
|
+
line-length = 88
|
|
56
|
+
indent-width = 4
|
|
57
|
+
|
|
58
|
+
[tool.ruff.lint]
|
|
59
|
+
select = [
|
|
60
|
+
# pycodestyle
|
|
61
|
+
"E",
|
|
62
|
+
# Pyflakes
|
|
63
|
+
"F",
|
|
64
|
+
# pyupgrade
|
|
65
|
+
"UP",
|
|
66
|
+
# flake8-bugbear
|
|
67
|
+
"B",
|
|
68
|
+
# flake8-simplify
|
|
69
|
+
"SIM",
|
|
70
|
+
# isort
|
|
71
|
+
"I",
|
|
72
|
+
]
|
|
73
|
+
ignore = []
|
|
74
|
+
|
|
75
|
+
fixable = ["ALL"]
|
|
76
|
+
unfixable = []
|
|
77
|
+
|
|
78
|
+
[tool.uv.sources]
|
|
79
|
+
bsb-core = { path = "../../packages/bsb-core", editable = true }
|
|
@@ -173,7 +173,6 @@ class AutoconfigDirective(SphinxDirective):
|
|
|
173
173
|
untree = self.dict_untree(untree)
|
|
174
174
|
return untree, value
|
|
175
175
|
|
|
176
|
-
|
|
177
176
|
def guess_example_value(self, attr):
|
|
178
177
|
type_ = self.get_attr_type(attr)
|
|
179
178
|
# The attribute may have a hinted example from the declaration `hint` kwarg,
|
sphinxext-bsb-0.2.2/LICENSE
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2022 Robin De Schepper
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
sphinxext-bsb-0.2.2/PKG-INFO
DELETED
sphinxext-bsb-0.2.2/README.md
DELETED
sphinxext-bsb-0.2.2/setup.cfg
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
sphinx-design
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
bsbdocs
|