Changeset 13469 for main/waeup.kofa/trunk/docs
- Timestamp:
- 17 Nov 2015, 11:53:34 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/docs/source/conf.py
r12863 r13469 213 213 # Example configuration for intersphinx: refer to the Python standard library. 214 214 intersphinx_mapping = {'http://docs.python.org/': None} 215 216 217 def autodoc_skip_dotnamed_members(app, what, name, obj, skip, optios): 218 """In autodoc skip members with dot in name. 219 220 Sphinx chokes when it comes to objects that have dots in their name. 221 222 We will make this skipping an option of the then used 223 `waeup.sphinx.autodoc` package. 224 225 This is clearly a workaround and not a solution. This is a 226 workaround, not a solution. 227 228 In the long run our patch to Sphinx core will hopefully make it into 229 the Sphinx package itself. This would be a solution, not a 230 workaround. 231 """ 232 if "." in name: 233 ## Uncomment the following line to see what is skipped. 234 # print("SKIPPING %r %r %r" % (what, name, obj)) 235 return True 236 return False 237 238 def setup(app): 239 app.connect('autodoc-skip-member', autodoc_skip_dotnamed_members)
Note: See TracChangeset for help on using the changeset viewer.