|
223 | 223 | ('envvar', 'USERPROFILE'), |
224 | 224 | ] |
225 | 225 |
|
| 226 | +# Vendored identifiers without intersphinx support. |
| 227 | +nitpick_ignore += [ |
| 228 | + # used in c-api/expat.rst |
| 229 | + ('c:identifier', 'XML_Bool'), |
| 230 | + ('c:identifier', 'XML_Char'), |
| 231 | + ('c:identifier', 'XML_CharacterDataHandler'), |
| 232 | + ('c:identifier', 'XML_CommentHandler'), |
| 233 | + ('c:identifier', 'XML_DefaultHandler'), |
| 234 | + ('c:identifier', 'XML_Encoding'), |
| 235 | + ('c:identifier', 'XML_EndElementHandler'), |
| 236 | + ('c:identifier', 'XML_EndNamespaceDeclHandler'), |
| 237 | + ('c:identifier', 'XML_Error'), |
| 238 | + ('c:identifier', 'XML_LChar'), |
| 239 | + ('c:identifier', 'XML_Memory_Handling_Suite'), |
| 240 | + ('c:identifier', 'XML_Parser'), |
| 241 | + ('c:identifier', 'XML_ProcessingInstructionHandler'), |
| 242 | + ('c:identifier', 'XML_Size'), |
| 243 | + ('c:identifier', 'XML_StartDoctypeDeclHandler'), |
| 244 | + ('c:identifier', 'XML_StartElementHandler'), |
| 245 | + ('c:identifier', 'XML_StartNamespaceDeclHandler'), |
| 246 | + ('c:identifier', 'XML_Status'), |
| 247 | + ('c:identifier', 'XML_UnknownEncodingHandler'), |
| 248 | +] |
| 249 | + |
226 | 250 | # Temporary undocumented names. |
227 | 251 | # In future this list must be empty. |
228 | 252 | nitpick_ignore += [ |
|
247 | 271 | nitpick_ignore.append(('c:identifier', name)) |
248 | 272 | del role, name |
249 | 273 |
|
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 | | - |
274 | 274 | # Disable Docutils smartquotes for several translations |
275 | 275 | smartquotes_excludes = { |
276 | 276 | 'languages': ['ja', 'fr', 'zh_TW', 'zh_CN'], |
|
0 commit comments