From c15a3570fa54e837c27f0e5b862e7bb5c16302d7 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Thu, 7 Sep 2017 13:17:19 +0000 Subject: Python documentation is now built from sources to the build directory. Missing bibtex and images to be "as before" git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/branches/cythonization_improvement@2649 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 0deda91875e34ce534c88a601cfb167d9c7dfa01 --- src/cython/doc/cubical_complex_user.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/cython/doc/cubical_complex_user.rst') diff --git a/src/cython/doc/cubical_complex_user.rst b/src/cython/doc/cubical_complex_user.rst index 344b9554..8c9a3ed6 100644 --- a/src/cython/doc/cubical_complex_user.rst +++ b/src/cython/doc/cubical_complex_user.rst @@ -97,12 +97,13 @@ The input file for the following complex is: .. literalinclude:: cubicalcomplexdoc.txt -.. centered:: cubicalcomplexdoc.txt +.. centered:: data/bitmap/cubicalcomplexdoc.txt .. testcode:: import gudhi - cubical_complex = gudhi.CubicalComplex(perseus_file='cubicalcomplexdoc.txt') + cubical_complex = gudhi.CubicalComplex(perseus_file=gudhi.__root_source_dir__ + \ + '/data/bitmap/cubicalcomplexdoc.txt') result_str = 'Cubical complex is of dimension ' + repr(cubical_complex.dimension()) + ' - ' + \ repr(cubical_complex.num_simplices()) + ' simplices.' print(result_str) @@ -129,14 +130,15 @@ For instance: .. literalinclude:: periodiccubicalcomplexdoc.txt -.. centered:: periodiccubicalcomplexdoc.txt +.. centered:: data/bitmap/periodiccubicalcomplexdoc.txt Indicate that we have imposed periodic boundary conditions in the direction x, but not in the direction y. .. testcode:: import gudhi - periodic_cc = gudhi.PeriodicCubicalComplex(perseus_file='periodiccubicalcomplexdoc.txt') + periodic_cc = gudhi.PeriodicCubicalComplex(perseus_file=gudhi.__root_source_dir__ + \ + '/data/bitmap/periodiccubicalcomplexdoc.txt') result_str = 'Periodic cubical complex is of dimension ' + repr(periodic_cc.dimension()) + ' - ' + \ repr(periodic_cc.num_simplices()) + ' simplices.' print(result_str) -- cgit v1.2.3