|
223 | 223 | ('envvar', 'USERPROFILE'), |
224 | 224 | ] |
225 | 225 |
|
226 | | -# Vendored types |
227 | | -nitpick_ignore += [ |
228 | | - ("c:identifier", "XML_Bool"), |
229 | | - ("c:identifier", "XML_Char"), |
230 | | - ("c:identifier", "XML_CharacterDataHandler"), |
231 | | - ("c:identifier", "XML_CommentHandler"), |
232 | | - ("c:identifier", "XML_DefaultHandler"), |
233 | | - ("c:identifier", "XML_Encoding"), |
234 | | - ("c:identifier", "XML_EndElementHandler"), |
235 | | - ("c:identifier", "XML_EndNamespaceDeclHandler"), |
236 | | - ("c:identifier", "XML_Error"), |
237 | | - ("c:identifier", "XML_LChar"), |
238 | | - ("c:identifier", "XML_Memory_Handling_Suite"), |
239 | | - ("c:identifier", "XML_Parser"), |
240 | | - ("c:identifier", "XML_ProcessingInstructionHandler"), |
241 | | - ("c:identifier", "XML_Size"), |
242 | | - ("c:identifier", "XML_StartDoctypeDeclHandler"), |
243 | | - ("c:identifier", "XML_StartElementHandler"), |
244 | | - ("c:identifier", "XML_StartNamespaceDeclHandler"), |
245 | | - ("c:identifier", "XML_Status"), |
246 | | - ("c:identifier", "XML_UnknownEncodingHandler"), |
247 | | -] |
248 | | - |
249 | 226 | # Temporary undocumented names. |
250 | 227 | # In future this list must be empty. |
251 | 228 | nitpick_ignore += [ |
|
270 | 247 | nitpick_ignore.append(('c:identifier', name)) |
271 | 248 | del role, name |
272 | 249 |
|
| 250 | +# Vendored identifiers. The list does not need to be empty. |
| 251 | +c_id_attributes = [ |
| 252 | + # used in c-api/expat.rst |
| 253 | + "XML_Bool", |
| 254 | + "XML_Char", |
| 255 | + "XML_CharacterDataHandler", |
| 256 | + "XML_CommentHandler", |
| 257 | + "XML_DefaultHandler", |
| 258 | + "XML_Encoding", |
| 259 | + "XML_EndElementHandler", |
| 260 | + "XML_EndNamespaceDeclHandler", |
| 261 | + "XML_Error", |
| 262 | + "XML_LChar", |
| 263 | + "XML_Memory_Handling_Suite", |
| 264 | + "XML_Parser", |
| 265 | + "XML_ProcessingInstructionHandler", |
| 266 | + "XML_Size", |
| 267 | + "XML_StartDoctypeDeclHandler", |
| 268 | + "XML_StartElementHandler", |
| 269 | + "XML_StartNamespaceDeclHandler", |
| 270 | + "XML_Status", |
| 271 | + "XML_UnknownEncodingHandler", |
| 272 | +] |
| 273 | + |
273 | 274 | # Disable Docutils smartquotes for several translations |
274 | 275 | smartquotes_excludes = { |
275 | 276 | 'languages': ['ja', 'fr', 'zh_TW', 'zh_CN'], |
|
0 commit comments