poxy 0.19.2__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.
@@ -480,62 +480,6 @@
480
480
  <filename>cpp/header/version</filename>
481
481
  <namespace>std</namespace>
482
482
  </compound>
483
- <member kind="function">
484
- <type>T</type>
485
- <name>ATOMIC_VAR_INIT</name>
486
- <anchorfile>cpp/atomic/ATOMIC_VAR_INIT</anchorfile>
487
- <anchor></anchor>
488
- <arglist>(T... args)</arglist>
489
- </member>
490
- <member kind="function">
491
- <type>T</type>
492
- <name>assert</name>
493
- <anchorfile>cpp/error/assert</anchorfile>
494
- <anchor></anchor>
495
- <arglist>(T... args)</arglist>
496
- </member>
497
- <member kind="function">
498
- <type>T</type>
499
- <name>offsetof</name>
500
- <anchorfile>cpp/types/offsetof</anchorfile>
501
- <anchor></anchor>
502
- <arglist>(T... args)</arglist>
503
- </member>
504
- <member kind="function">
505
- <type>T</type>
506
- <name>operator delete</name>
507
- <anchorfile>cpp/memory/new/operator_delete</anchorfile>
508
- <anchor></anchor>
509
- <arglist>(T... args)</arglist>
510
- </member>
511
- <member kind="function">
512
- <type>T</type>
513
- <name>operator delete[]</name>
514
- <anchorfile>cpp/memory/new/operator_delete</anchorfile>
515
- <anchor></anchor>
516
- <arglist>(T... args)</arglist>
517
- </member>
518
- <member kind="function">
519
- <type>T</type>
520
- <name>operator new</name>
521
- <anchorfile>cpp/memory/new/operator_new</anchorfile>
522
- <anchor></anchor>
523
- <arglist>(T... args)</arglist>
524
- </member>
525
- <member kind="function">
526
- <type>T</type>
527
- <name>operator new[]</name>
528
- <anchorfile>cpp/memory/new/operator_new</anchorfile>
529
- <anchor></anchor>
530
- <arglist>(T... args)</arglist>
531
- </member>
532
- <member kind="function">
533
- <type>T</type>
534
- <name>setjmp</name>
535
- <anchorfile>cpp/utility/program/setjmp</anchorfile>
536
- <anchor></anchor>
537
- <arglist>(T... args)</arglist>
538
- </member>
539
483
  <compound kind="namespace">
540
484
  <name>std</name>
541
485
  <filename></filename>
@@ -68827,36 +68771,8 @@
68827
68771
  <name>std::zetta</name>
68828
68772
  <filename>cpp/numeric/ratio/ratio</filename>
68829
68773
  </compound>
68830
- <member kind="function">
68831
- <type>T</type>
68832
- <name>va_arg</name>
68833
- <anchorfile>cpp/utility/variadic/va_arg</anchorfile>
68834
- <anchor></anchor>
68835
- <arglist>(T... args)</arglist>
68836
- </member>
68837
- <member kind="function">
68838
- <type>T</type>
68839
- <name>va_copy</name>
68840
- <anchorfile>cpp/utility/variadic/va_copy</anchorfile>
68841
- <anchor></anchor>
68842
- <arglist>(T... args)</arglist>
68843
- </member>
68844
- <member kind="function">
68845
- <type>T</type>
68846
- <name>va_end</name>
68847
- <anchorfile>cpp/utility/variadic/va_end</anchorfile>
68848
- <anchor></anchor>
68849
- <arglist>(T... args)</arglist>
68850
- </member>
68851
68774
  <compound kind="class">
68852
68775
  <name>va_list</name>
68853
68776
  <filename>cpp/utility/variadic/va_list</filename>
68854
68777
  </compound>
68855
- <member kind="function">
68856
- <type>T</type>
68857
- <name>va_start</name>
68858
- <anchorfile>cpp/utility/variadic/va_start</anchorfile>
68859
- <anchor></anchor>
68860
- <arglist>(T... args)</arglist>
68861
- </member>
68862
68778
  </tagfile>
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
- args.add_argument(rf'--{name}', action=r'store_true', help=help, **kwargs)
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=name,
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
- default_branch = default_branch.removeprefix(r'origin/')
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.2
1
+ 0.19.4
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: poxy
3
- Version: 0.19.2
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,11 +221,14 @@ 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.2 - 2024-11-11
224
+ ## v0.19.4 - 2024-12-24
225
+
226
+ - fixed minor issues on Python 3.8
227
+
228
+ ## v0.19.3 - 2024-11-11
225
229
 
226
230
  - fixed crash with nested C-style enums without a name (#39) (@tim-janik)
227
- - fixed `r'POXY_IMPLEMENTATION_DETAIL_IMPL` appearing in HTML in some circumstances
228
- - minor updates to cppreference.com tagfile
231
+ - fixed `POXY_IMPLEMENTATION_DETAIL_IMPL` appearing in HTML in some circumstances
229
232
 
230
233
  ## v0.19.1 - 2024-10-30
231
234
 
@@ -1,11 +1,11 @@
1
1
  poxy/__init__.py,sha256=YMx1Lxzs7QkyrXJXdEAuaPcZO9i6INiv-j-KBAlbcxg,507
2
- poxy/cppreference-doxygen-web.tag.xml,sha256=LvWjm8U4K80Nm_Mhlpc5YGM39KYH-nTPl5tj8haWP-w,2156321
2
+ poxy/cppreference-doxygen-web.tag.xml,sha256=jHYta0FGk5opq8ZrbnVDuk3AV4psKmgcDbqCnu25lF0,2153766
3
3
  poxy/css.py,sha256=PP7rACVpzLC0-mTDKRxMrVaYdNBZZ_X6USCcaMgw5H0,6953
4
4
  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=PwidelWWB3rxLPCAYgiof7NB35HmZmU-lSi7RfQL8j4,27175
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=n8nEL77-uL-2uK8EsWtDysdQM9Si-Tg-wqwbM7-QNKQ,7
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.2.dist-info/LICENSE.txt,sha256=kp84JW_RPClTO5Hz6yHQ9jKPfUMerlHHAeyU0VpXV_E,1064
180
- poxy-0.19.2.dist-info/METADATA,sha256=7XgpIuUW3JGlSiKLr81VL14gAHuQQl_fvPmH03dY-9U,20540
181
- poxy-0.19.2.dist-info/WHEEL,sha256=P9jw-gEje8ByB7_hXoICnHtVCrEwMQh-630tKvQWehc,91
182
- poxy-0.19.2.dist-info/entry_points.txt,sha256=yWiOmptj1Ga_dDEU9ch16hRgmzDE8bgrtDkGbH7VFYc,66
183
- poxy-0.19.2.dist-info/top_level.txt,sha256=vAxxbZDX_cQ6rfRZ1SYSStSdMMlsHEP-zgzBSB0gPco,5
184
- poxy-0.19.2.dist-info/zip-safe,sha256=frcCV1k9oG9oKj3dpUqdJg1PxRT2RSN_XKdLCPjaYaY,2
185
- poxy-0.19.2.dist-info/RECORD,,
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,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.3.0)
2
+ Generator: setuptools (75.6.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5