diff options
Diffstat (limited to 'docs/source/_templates')
-rw-r--r-- | docs/source/_templates/module.rst | 2 | ||||
-rw-r--r-- | docs/source/_templates/versions.html | 69 |
2 files changed, 38 insertions, 33 deletions
diff --git a/docs/source/_templates/module.rst b/docs/source/_templates/module.rst index 5ad89be..495995e 100644 --- a/docs/source/_templates/module.rst +++ b/docs/source/_templates/module.rst @@ -2,6 +2,7 @@ {{ underline }} .. automodule:: {{ fullname }} + :members: {% block functions %} {% if functions %} @@ -12,6 +13,7 @@ {% for item in functions %} .. autofunction:: {{ item }} + .. include:: backreferences/{{fullname}}.{{item}}.examples diff --git a/docs/source/_templates/versions.html b/docs/source/_templates/versions.html index f48ab86..5b1021a 100644 --- a/docs/source/_templates/versions.html +++ b/docs/source/_templates/versions.html @@ -1,47 +1,50 @@ <div class="rst-versions" data-toggle="rst-versions" role="note" aria-label="versions"> - <!-- add shift_up to the class for force viewing --> - <span class="rst-current-version" data-toggle="rst-current-version"> + <!-- add shift_up to the class for force viewing , + data-toggle="rst-current-version" --> + <span class="rst-current-version" style="margin-bottom:1mm;"> <span class="fa fa-book"> Python Optimal Transport</span> - versions - <span class="fa fa-caret-down"></span> + <hr style="margin-bottom:1.5mm;margin-top:5mm;"> + <!-- versions + <span class="fa fa-caret-down"></span>--> + <span class="rst-current-version" style="display: inline-block;padding: + 0px;color:#fcfcfcab;float:left;font-size: 100%;"> + Versions: + <a href="https://pythonot.github.io/" + style="padding: 3px;color:#fcfcfc;font-size: 100%;">Release</a> + <a href="https://pythonot.github.io/master" + style="padding: 3px;color:#fcfcfc;font-size: 100%;">Development</a> + <a href="https://github.com/PythonOT/POT" + style="padding: 3px;color:#fcfcfc;font-size: 100%;">Code</a> + + </span> + + </span> - <div class="rst-other-versions"><!-- Inserted RTD Footer --> + + <!-- + <div class="rst-other-versions"> + + <div class="injected"> - - - <dl> - <dt>Versions</dt> - - <dd><a href="https://pythonot.github.io/">Release</a></dd> - - <dd><a href="https://pythonot.github.io/master">Development</a></dd> - - - - </dl> - + + <dl> + <dt>Versions</dt> + <dd><a href="https://pythonot.github.io/">Release</a></dd> - - <dl> - <dt>On GitHub</dt> - <dd> - <a href="https://github.com/PythonOT/POT">Code on Github</a> - </dd> - - </dl> - + <dd><a href="https://pythonot.github.io/master">Development</a></dd> + - - - <hr> - + <dt><a href="https://github.com/PythonOT/POT">Code on Github</a></dt> + + </dl> + <hr> -</div> -</div> +</div> +</div>--> </div>
\ No newline at end of file |