Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
FSL
fslpy
Commits
72ec52ba
Commit
72ec52ba
authored
4 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Patches
Plain Diff
MNT: Update sphinx config
parent
114bf373
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/conf.py
+6
-20
6 additions, 20 deletions
doc/conf.py
with
6 additions
and
20 deletions
doc/conf.py
+
6
−
20
View file @
72ec52ba
...
...
@@ -361,26 +361,12 @@ epub_exclude_files = ['search.html']
# special-members flag)
autoclass_content
=
'
class
'
# Document private members and special members (e.g. __init__)
autodoc_default_flags
=
[
'
private-members
'
,
'
special-members
'
]
# Documentation for python modules is in the same order
# as the source code.
autodoc_member_order
=
'
bysource
'
def
autodoc_skip_member
(
app
,
what
,
name
,
obj
,
skip
,
options
):
# Do not document the _sync_* properties
# that are added by the props package to
# all SyncableHasProperties classes.
if
what
==
'
class
'
:
attName
=
name
.
split
(
'
.
'
)[
-
1
]
return
skip
or
attName
.
startswith
(
'
_sync_
'
)
return
skip
or
False
def
setup
(
app
):
app
.
connect
(
'
autodoc-skip-member
'
,
autodoc_skip_member
)
autodoc_default_options
=
{
'
special-members
'
:
True
,
'
private-members
'
:
True
,
'
undoc-members
'
:
True
,
'
member-order
'
:
'
bysource
'
,
}
graphviz_output_format
=
'
svg
'
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment