also match namespace entries on the <b> tag

This commit is contained in:
Toizi 2025-02-07 10:03:02 +01:00
parent 00e78d2287
commit 30a48d20d4
2 changed files with 9 additions and 9 deletions

View file

@ -17,7 +17,7 @@ NAMESPACE_PREFIX = 'n'
list_pattern = r'\[(.*?)(?:,(?: ?...)?)?\]'
type_pattern = r'(?P<type>List\[.*?\]|[\w\.]+)'
obj_doc_re = re.compile(r'-\s<b>(?P<sig>.*?)<\/b><br>\r?\n(?P<desc>.*?)\r?\n\r?\n', flags=re.DOTALL)
name_doc_pattern = r'- \*\*(?P<member>.*?)\*\*'
name_doc_pattern = r'- (\*\*|<b>)(?P<member>.*?)(\*\*|</b>)'
ref_re = re.compile(r'\\ref\spy_(.*?)_page')
sig_re = re.compile(r'(?P<return>{}) (?P<name>\w+)\s?\((?P<args>.*?)\)'.format(type_pattern))
list_re = re.compile(list_pattern)

View file

@ -28,28 +28,28 @@ The STUBS namespace contains all stubs.
\section STUBS_py_api Python API - Items of the STUBS namespace
<hr>
- **STUBS.AARCH64.LIBC.code**<br>
- <b>STUBS.AARCH64.LIBC.code</b><br>
The libc stub on AArch64 architecture with the ARM64 ABI calling convention.
- **STUBS.AARCH64.LIBC.symbols**<br>
- <b>STUBS.AARCH64.LIBC.symbols</b><br>
The symbols map of the AArch64 libc stub.
- **STUBS.I386.SYSTEMV.LIBC.code**<br>
- <b>STUBS.I386.SYSTEMV.LIBC.code</b><br>
The libc stub on i386 architecture with the SystemV ABI calling convention.
- **STUBS.I386.SYSTEMV.LIBC.symbols**<br>
- <b>STUBS.I386.SYSTEMV.LIBC.symbols</b><br>
The symbols map of the i386-systemv libc stub.
- **STUBS.X8664.MS.LIBC.code**<br>
- <b>STUBS.X8664.MS.LIBC.code</b><br>
The libc stub on x8664 architecture with the MS ABI calling convention.
- **STUBS.X8664.MS.LIBC.symbols**<br>
- <b>STUBS.X8664.MS.LIBC.symbols</b><br>
The symbols map of the x8664-ms libc stub.
- **STUBS.X8664.SYSTEMV.LIBC.code**<br>
- <b>STUBS.X8664.SYSTEMV.LIBC.code</b><br>
The libc stub on x8664 architecture with the SystemV ABI calling convention.
- **STUBS.X8664.SYSTEMV.LIBC.symbols**<br>
- <b>STUBS.X8664.SYSTEMV.LIBC.symbols</b><br>
The symbols map of the x8664-systemv libc stub.
*/