Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
dlib
Commits
940546f8
Commit
940546f8
authored
May 07, 2018
by
Davis King
Browse files
Make python docs include __call__ and __init__
parent
851d70a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
0 deletions
+11
-0
docs/docs/python/conf.py
docs/docs/python/conf.py
+11
-0
No files found.
docs/docs/python/conf.py
View file @
940546f8
...
@@ -244,3 +244,14 @@ texinfo_documents = [
...
@@ -244,3 +244,14 @@ texinfo_documents = [
# How to display URL addresses: 'footnote', 'no', or 'inline'.
# How to display URL addresses: 'footnote', 'no', or 'inline'.
#texinfo_show_urls = 'footnote'
#texinfo_show_urls = 'footnote'
# Make sphinx document constructors and __call__
def
skip
(
app
,
what
,
name
,
obj
,
skip
,
options
):
if
name
==
"__init__"
or
name
==
"__call__"
:
return
False
return
skip
def
setup
(
app
):
app
.
connect
(
"autodoc-skip-member"
,
skip
)
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment