diff --git a/Documentation/Cookbook/Scripts/otbGenerateExamplesRstDoc.py b/Documentation/Cookbook/Scripts/otbGenerateExamplesRstDoc.py index 025f836a857e2b0017b8142265bdcc9d1c78d693..95463f1191d2f8a44e23f2397445fae2a7028247 100644 --- a/Documentation/Cookbook/Scripts/otbGenerateExamplesRstDoc.py +++ b/Documentation/Cookbook/Scripts/otbGenerateExamplesRstDoc.py @@ -42,7 +42,7 @@ def generate_examples_index(rst_dir, list_of_examples): # Render index file and tag index files os.makedirs(join(rst_dir, "Examples"), exist_ok=True) index_f = open(join(rst_dir, "Examples.rst"), "w") - index_f.write(RstPageHeading("Examples", 3, ref="cpp-examples")) + index_f.write(RstPageHeading("C++ Examples", 3, ref="cpp-examples")) for tag, examples_filenames in tag_files.items(): tag_filename = join("Examples", tag + ".rst") diff --git a/Documentation/Cookbook/_static/css/otb_theme.css b/Documentation/Cookbook/_static/css/otb_theme.css index 54aa37cc9f54cf9ccda4c28d578559990914b090..ef635c46f4e8f774ce3138b8ff247b1a49f80e2e 100644 --- a/Documentation/Cookbook/_static/css/otb_theme.css +++ b/Documentation/Cookbook/_static/css/otb_theme.css @@ -10,6 +10,11 @@ margin-top: .8em; } +/* Small fix for the last section of the menu */ +.wy-menu-vertical { + margin-bottom: 1em; +}; + /* Reduce the effect of the p bottom margin before lists * Very useful for choice parameters in app doc for example */ diff --git a/Documentation/Cookbook/rst/Recipes.rst b/Documentation/Cookbook/rst/Recipes.rst deleted file mode 100644 index 775519aed63550894ede287b4341b607be72f86a..0000000000000000000000000000000000000000 --- a/Documentation/Cookbook/rst/Recipes.rst +++ /dev/null @@ -1,21 +0,0 @@ -Recipes -======= - -This chapter presents guidelines to perform various remote sensing and/or -image processing tasks. Its goal is not to be -exhaustive, but rather to familiarise users with the OTB package functionality -and demonstrate how they can be applied. - -.. toctree:: - :maxdepth: 6 - - recipes/optpreproc.rst - recipes/sarprocessing.rst - recipes/residual_registration.rst - recipes/improc.rst - recipes/bandmathx.rst - recipes/contrast_enhancement.rst - recipes/pbclassif.rst - recipes/featextract.rst - recipes/stereo.rst - recipes/hyperspectral.rst diff --git a/Documentation/Cookbook/rst/index.rst b/Documentation/Cookbook/rst/index.rst index 15234d085a62966d73ea2b961d3f3a3db15efe5e..b39e4ecda03103ed98a5ac0954272e3fbcdceee1 100644 --- a/Documentation/Cookbook/rst/index.rst +++ b/Documentation/Cookbook/rst/index.rst @@ -53,9 +53,23 @@ Table of Contents GraphicalInterface PythonAPI QGISInterface - Recipes Applications +.. toctree:: + :maxdepth: 2 + :caption: Recipes + + recipes/optpreproc.rst + recipes/sarprocessing.rst + recipes/residual_registration.rst + recipes/improc.rst + recipes/bandmathx.rst + recipes/contrast_enhancement.rst + recipes/pbclassif.rst + recipes/featextract.rst + recipes/stereo.rst + recipes/hyperspectral.rst + .. toctree:: :maxdepth: 2 :caption: C++ API diff --git a/Documentation/Cookbook/rst/recipes/improc.rst b/Documentation/Cookbook/rst/recipes/improc.rst index 36aa46f1b99da3da55a2cf128745dbfd5b0f3822..4216062f7ebafc55de4e5ab342b03cb90ffee1a6 100644 --- a/Documentation/Cookbook/rst/recipes/improc.rst +++ b/Documentation/Cookbook/rst/recipes/improc.rst @@ -1,5 +1,5 @@ -Image processing and information extraction -=========================================== +Image processing +================ Simple calculus with channels ----------------------------- diff --git a/Documentation/Cookbook/rst/recipes/stereo.rst b/Documentation/Cookbook/rst/recipes/stereo.rst index c25b3f74a880296bf8053cdd1737fbfa2b8f412b..6d90c2f1514bb446ab9f9d2906c97e758a426190 100644 --- a/Documentation/Cookbook/rst/recipes/stereo.rst +++ b/Documentation/Cookbook/rst/recipes/stereo.rst @@ -1,5 +1,5 @@ -Stereoscopic reconstruction from VHR optical images pair -======================================================== +Stereoscopic reconstruction +=========================== This section describes how to convert pair of stereo images into elevation information.