Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
seminar-breakout
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Shashank Suhas
seminar-breakout
Commits
f431ea04
Commit
f431ea04
authored
Aug 11, 2017
by
Yuxin Wu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
index in dataflow doc
parent
7b91ba1d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
56 additions
and
1 deletion
+56
-1
docs/_static/pymunk.js
docs/_static/pymunk.js
+45
-0
docs/modules/dataflow.rst
docs/modules/dataflow.rst
+11
-1
No files found.
docs/_static/pymunk.js
0 → 100644
View file @
f431ea04
// modified from
// https://stackoverflow.com/questions/12150491/toc-list-with-all-classes-generated-by-automodule-in-sphinx-docs
$
(
function
(){
var
createList
=
function
(
selected
)
{
var
ul
=
$
(
'
<ul>
'
);
selected
.
clone
().
each
(
function
(
i
,
e
)
{
var
n
=
$
(
e
).
children
(
'
.descname
'
);
var
l
=
$
(
e
).
children
(
'
.headerlink
'
);
var
a
=
$
(
'
<a>
'
);
a
.
attr
(
'
href
'
,
l
.
attr
(
'
href
'
)).
attr
(
'
title
'
,
'
Link to this definition
'
);
a
.
append
(
n
);
var
entry
=
$
(
'
<li>
'
).
append
(
a
);
ul
.
append
(
entry
);
});
return
ul
;
}
var
customIndex
=
$
(
'
.custom-index
'
);
customIndex
.
empty
();
var
mod_content
=
$
(
'
#module-contents
'
);
if
(
mod_content
.
length
==
0
)
return
;
var
mc_container
=
mod_content
[
0
].
parentNode
;
var
selected
=
$
(
mc_container
).
find
(
'
>dl>dt
'
);
if
(
selected
.
length
===
0
)
return
;
var
l
=
createList
(
selected
);
var
c
=
$
(
'
<div style="min-width: 300px;">
'
);
var
ul
=
c
.
clone
()
.
append
(
l
);
customIndex
.
append
(
ul
);
});
docs/modules/dataflow.rst
View file @
f431ea04
...
...
@@ -9,7 +9,17 @@ Subpackages
dataflow.dataset
dataflow.imgaug
Module contents
Table of Contents
-----------------
.. container:: custom-index
.. raw:: html
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script type="text/javascript" src='/_static/pymunk.js'></script>
Module Contents
---------------
.. automodule:: tensorpack.dataflow
...
...
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