poxy 0.19.3__py3-none-any.whl → 0.19.4__py3-none-any.whl
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.
- poxy/main.py +8 -5
- poxy/version.txt +1 -1
- {poxy-0.19.3.dist-info → poxy-0.19.4.dist-info}/METADATA +5 -1
- {poxy-0.19.3.dist-info → poxy-0.19.4.dist-info}/RECORD +9 -9
- {poxy-0.19.3.dist-info → poxy-0.19.4.dist-info}/WHEEL +1 -1
- {poxy-0.19.3.dist-info → poxy-0.19.4.dist-info}/LICENSE.txt +0 -0
- {poxy-0.19.3.dist-info → poxy-0.19.4.dist-info}/entry_points.txt +0 -0
- {poxy-0.19.3.dist-info → poxy-0.19.4.dist-info}/top_level.txt +0 -0
- {poxy-0.19.3.dist-info → poxy-0.19.4.dist-info}/zip-safe +0 -0
poxy/main.py
CHANGED
@@ -58,19 +58,21 @@ def _invoker(func, **kwargs):
|
|
58
58
|
sys.exit(0)
|
59
59
|
|
60
60
|
|
61
|
-
def make_boolean_optional_arg(args, name, default, help='', **kwargs):
|
61
|
+
def make_boolean_optional_arg(args: argparse.ArgumentParser, name: str, default, help='', **kwargs):
|
62
|
+
name = name.strip().lstrip('-')
|
62
63
|
if sys.version_info >= (3, 9):
|
63
64
|
args.add_argument(rf'--{name}', default=default, help=help, action=argparse.BooleanOptionalAction, **kwargs)
|
64
65
|
else:
|
65
|
-
|
66
|
+
dest = name.replace(r'-', r'_')
|
67
|
+
args.add_argument(rf'--{name}', action=r'store_true', help=help, dest=dest, default=default, **kwargs)
|
66
68
|
args.add_argument(
|
67
69
|
rf'--no-{name}',
|
68
70
|
action=r'store_false',
|
69
71
|
help=(help if help == argparse.SUPPRESS else None),
|
70
|
-
dest=
|
72
|
+
dest=dest,
|
73
|
+
default=default,
|
71
74
|
**kwargs,
|
72
75
|
)
|
73
|
-
args.set_defaults(**{name: default})
|
74
76
|
|
75
77
|
|
76
78
|
def git(git_args: str, cwd=None) -> typing.Tuple[int, str, str]:
|
@@ -124,7 +126,8 @@ def multi_version_git_tags(args: argparse.Namespace):
|
|
124
126
|
original_branch = current_branch
|
125
127
|
|
126
128
|
default_branch = git_failed_if_nonzero(git('rev-parse --abbrev-ref origin/HEAD', cwd=input_dir))[1]
|
127
|
-
|
129
|
+
if default_branch.startswith(r'origin/'):
|
130
|
+
default_branch = default_branch[len(r'origin/') :]
|
128
131
|
print(rf'Default branch: {default_branch}')
|
129
132
|
|
130
133
|
tags = git_failed_if_nonzero(git('tag', cwd=input_dir))[1].splitlines()
|
poxy/version.txt
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.19.
|
1
|
+
0.19.4
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: poxy
|
3
|
-
Version: 0.19.
|
3
|
+
Version: 0.19.4
|
4
4
|
Summary: Documentation generator for C++.
|
5
5
|
Author-email: Mark Gillard <mark.gillard@outlook.com.au>
|
6
6
|
License: MIT
|
@@ -221,6 +221,10 @@ Poxy bundles a fork of m.css, used per the [MIT/Expat license](https://github.co
|
|
221
221
|
|
222
222
|
# Changelog
|
223
223
|
|
224
|
+
## v0.19.4 - 2024-12-24
|
225
|
+
|
226
|
+
- fixed minor issues on Python 3.8
|
227
|
+
|
224
228
|
## v0.19.3 - 2024-11-11
|
225
229
|
|
226
230
|
- fixed crash with nested C-style enums without a name (#39) (@tim-janik)
|
@@ -5,7 +5,7 @@ poxy/doxygen.py,sha256=nHygTYfKqh4M0hcdomWK5J3T16GZ7owM5oaWa141Ky4,46372
|
|
5
5
|
poxy/emoji.py,sha256=Vj2ZbUq1MewLMVoLtH2xP_jZToRoNi52AgrIg3VhUuU,3410
|
6
6
|
poxy/fixers.py,sha256=7stPmUxxD3uKHqj-0XZC1y4CuhqaTq_4H-G5l1912Ro,46243
|
7
7
|
poxy/graph.py,sha256=xI7xoV6-yTM-gh2OBARakANLHzGYBwwhwJHchQz2EKw,31959
|
8
|
-
poxy/main.py,sha256=
|
8
|
+
poxy/main.py,sha256=11ynSr52gBHR8ZwtOjAo4bobjVBR66wH9JIRQ7HA_Yw,27337
|
9
9
|
poxy/mcss.py,sha256=j9PmkfjcwaKdKBauwiPKhSeKGNmGiBt0i_WcnVAV3Hk,2157
|
10
10
|
poxy/paths.py,sha256=OqyP9bIIhW0zyWL6PV2TVV9zsrtvnb25_XNmHlFJmQ8,1540
|
11
11
|
poxy/project.py,sha256=qgvHR-V0gi_mFv1sCiTZ1VTFy8iprAQr3mJvEry5lZQ,99057
|
@@ -16,7 +16,7 @@ poxy/soup.py,sha256=gMXKigNJDuJWWFhPpD5Gu9gbeyVVXo7SrjL1GcsqlMs,7678
|
|
16
16
|
poxy/svg.py,sha256=tsMcKIxQ8OVmXEabqwKDkdEqYV4zI5wM0AJ-E1EXmVo,2657
|
17
17
|
poxy/utils.py,sha256=0_HRU6GxlwJ5TXPJId2j8zQJnUZ8TJBiBU6wqgrMjrI,5748
|
18
18
|
poxy/version.py,sha256=N5I7nr5zcmAy-hhgZFi7KfFPV-lB_ueD_Xx6R7XQ-tk,668
|
19
|
-
poxy/version.txt,sha256=
|
19
|
+
poxy/version.txt,sha256=IW2DGX3mZWuWjcDCWaUL3pq58_FGBF3OxTal2CCkWVQ,7
|
20
20
|
poxy/xml_utils.py,sha256=dJEtHyp4lORHhmBt1E9miRH48PpPM6WRlLEdMhn0Yi8,2183
|
21
21
|
poxy/css/m-special.css,sha256=dLVigwqsg_Htm6CESQGemyOKjb-plBlFk54dsAoOd_A,4644
|
22
22
|
poxy/css/m-theme-dark.css,sha256=UbAEz9JAgJ1PJJG-Oy9UG2_DUqYTaPJm1cDvVGy5kYk,4186
|
@@ -176,10 +176,10 @@ poxy/mcss/plugins/m/plots.py,sha256=DGehGirCDzkPGAf0bE9nqX1Gk4JX7xA0VhGvJszFSg0,
|
|
176
176
|
poxy/mcss/plugins/m/qr.py,sha256=L1bsWUHUoFnshMhBlZs5T-yOzM82-C2NLMq6oLso3FI,4189
|
177
177
|
poxy/mcss/plugins/m/sphinx.py,sha256=_NO0FmI_BR8Y-idUtujzqX7lIuF94oQgN8CD2CAPw0o,30971
|
178
178
|
poxy/mcss/plugins/m/vk.py,sha256=pcda_Xz1mirqT8Uoq12d-p8F9ROT_C43kjyhWI-lyLQ,3114
|
179
|
-
poxy-0.19.
|
180
|
-
poxy-0.19.
|
181
|
-
poxy-0.19.
|
182
|
-
poxy-0.19.
|
183
|
-
poxy-0.19.
|
184
|
-
poxy-0.19.
|
185
|
-
poxy-0.19.
|
179
|
+
poxy-0.19.4.dist-info/LICENSE.txt,sha256=kp84JW_RPClTO5Hz6yHQ9jKPfUMerlHHAeyU0VpXV_E,1064
|
180
|
+
poxy-0.19.4.dist-info/METADATA,sha256=eqkMwj2MFGogUpFKGucmt4HfZlz37qjA4u5pJ5zwRe8,20558
|
181
|
+
poxy-0.19.4.dist-info/WHEEL,sha256=PZUExdf71Ui_so67QXpySuHtCi3-J3wvF4ORK6k_S8U,91
|
182
|
+
poxy-0.19.4.dist-info/entry_points.txt,sha256=yWiOmptj1Ga_dDEU9ch16hRgmzDE8bgrtDkGbH7VFYc,66
|
183
|
+
poxy-0.19.4.dist-info/top_level.txt,sha256=vAxxbZDX_cQ6rfRZ1SYSStSdMMlsHEP-zgzBSB0gPco,5
|
184
|
+
poxy-0.19.4.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
|
185
|
+
poxy-0.19.4.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|