summaryrefslogtreecommitdiff
path: root/src/python/doc
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2020-05-29 08:19:10 +0200
committerGitHub <noreply@github.com>2020-05-29 08:19:10 +0200
commitc53567c85f936f78000471fcee6234e75f7742ca (patch)
tree2eee28d85a4fb13ae55ac59b0d6a252bc6e4eab6 /src/python/doc
parent669960ef3086606165873c8c986a67e9d3d83e9d (diff)
parent47e5c110b6c647a8cb2069bd488fa45bb579cfeb (diff)
Merge pull request #329 from VincentRouvreau/use_requirements_for_appveyor
use requirements file for appveyor
Diffstat (limited to 'src/python/doc')
-rw-r--r--src/python/doc/nerve_gic_complex_user.rst5
-rwxr-xr-xsrc/python/doc/python3-sphinx-build.py11
2 files changed, 1 insertions, 15 deletions
diff --git a/src/python/doc/nerve_gic_complex_user.rst b/src/python/doc/nerve_gic_complex_user.rst
index 0e67fc78..0b820abf 100644
--- a/src/python/doc/nerve_gic_complex_user.rst
+++ b/src/python/doc/nerve_gic_complex_user.rst
@@ -50,7 +50,7 @@ The cover C comes from the preimages of intervals (10 intervals with gain 0.3)
covering the height function (coordinate 2),
which are then refined into their connected components using the triangulation of the .OFF file.
-.. testcode::
+.. code-block:: python
import gudhi
nerve_complex = gudhi.CoverComplex()
@@ -99,9 +99,6 @@ the program output is:
[-0.171433, 0.367393]
[-0.909111, 0.745853]
0 interval(s) in dimension 1:
-
-.. testoutput::
-
Nerve is of dimension 1 - 41 simplices - 21 vertices.
[0]
[1]
diff --git a/src/python/doc/python3-sphinx-build.py b/src/python/doc/python3-sphinx-build.py
deleted file mode 100755
index 84d158cf..00000000
--- a/src/python/doc/python3-sphinx-build.py
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env python3
-
-"""
-Emulate sphinx-build for python3
-"""
-
-from sys import exit, argv
-from sphinx import main
-
-if __name__ == '__main__':
- exit(main(argv))