@@ -73,10 +73,10 @@ def add_annotations(self, app, doctree):
7373 par = node .parent
7474 if par ['domain' ] != 'c' :
7575 continue
76- if par ['notlimited ' ]:
77- node .insert (0 , nodes .emphasis (' Not part of the stable API .' ,
78- ' Not part of the stable API .' ,
79- classes = ['notlimited ' ]))
76+ if par ['stableabi ' ]:
77+ node .insert (0 , nodes .emphasis (' Part of the stable ABI .' ,
78+ ' Part of the stable ABI .' ,
79+ classes = ['stableabi ' ]))
8080 if par ['objtype' ] != 'function' :
8181 continue
8282 if not par [0 ].has_key ('names' ) or not par [0 ]['names' ]:
@@ -108,10 +108,10 @@ def setup(app):
108108 # monkey-patch C object...
109109 CObject .option_spec = {
110110 'noindex' : directives .flag ,
111- 'notlimited ' : directives .flag ,
111+ 'stableabi ' : directives .flag ,
112112 }
113113 old_handle_signature = CObject .handle_signature
114114 def new_handle_signature (self , sig , signode ):
115- signode .parent ['notlimited ' ] = 'notlimited ' in self .options
115+ signode .parent ['stableabi ' ] = 'stableabi ' in self .options
116116 return old_handle_signature (self , sig , signode )
117117 CObject .handle_signature = new_handle_signature
0 commit comments