Skip to content

Commit 179c132

Browse files
encukouWillAyd
andcommitted
Add "Part of the Stable ABI" annotations to the documentation
This replaces the existing :stableabi:, which wasn't really used. Doc/data/stable_abi.dat is expanded to include all relevant info (kind of the symbol and version it was added in), and the c_annotations Sphinx extension reads this file and adds notes similar to ones added by :stableabi: (which wasn't really used). Relevant prior work: python#23185 Co-authored-by: Will Ayd <william.ayd@icloud.com>
1 parent d3c3107 commit 179c132

4 files changed

Lines changed: 935 additions & 986 deletions

File tree

Doc/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,9 @@
225225
# Options for extensions
226226
# ----------------------
227227

228-
# Relative filename of the reference count data file.
228+
# Relative filename of the data files
229229
refcount_file = 'data/refcounts.dat'
230+
stable_abi_file = 'data/stable_abi.dat'
230231

231232
# Sphinx 2 and Sphinx 3 compatibility
232233
# -----------------------------------

0 commit comments

Comments
 (0)