From 21db5d84f3ce60a3be79392531df3a19f2d87fa3 Mon Sep 17 00:00:00 2001 From: "Bryan W. Weber" Date: Sat, 9 Jun 2018 17:01:09 -0400 Subject: [PATCH] Move Matlab docs out of the code-docs subfolder Now that examples are gone, it's not needed anymore. --- .gitignore | 14 ++++++++------ doc/SConscript | 4 ++-- doc/sphinx/matlab/index.rst | 17 ++++++++--------- 3 files changed, 18 insertions(+), 17 deletions(-) diff --git a/.gitignore b/.gitignore index 029bca223..73fb87e95 100644 --- a/.gitignore +++ b/.gitignore @@ -40,9 +40,11 @@ config.log *.gch coverage/ coverage.info -doc/sphinx/cython/examples -doc/sphinx/cython/examples.rst -doc/sphinx/matlab/examples/ -doc/sphinx/matlab/examples.rst -doc/sphinx/matlab/tutorials/ -doc/sphinx/matlab/code-docs/ +doc/sphinx/matlab/data.rst +doc/sphinx/matlab/importing.rst +doc/sphinx/matlab/kinetics.rst +doc/sphinx/matlab/one-dim.rst +doc/sphinx/matlab/thermodynamics.rst +doc/sphinx/matlab/transport.rst +doc/sphinx/matlab/utilities.rst +doc/sphinx/matlab/zero-dim.rst diff --git a/doc/SConscript b/doc/SConscript index e748b97a2..d0a8bc878 100644 --- a/doc/SConscript +++ b/doc/SConscript @@ -200,8 +200,8 @@ if localenv['sphinx_docs']: # every time the source is changed, we don't want to have to commit the # change in the rst file as well as the source - too much code churn. So # we use a template and a SubstFile directive. - c = tempenv.SubstFile('#doc/sphinx/matlab/code-docs/%s.rst' % page.name, - '#doc/sphinx/matlab/matlab-template.rst.in') + c = tempenv.SubstFile('#doc/sphinx/matlab/%s.rst' % page.name, + '#doc/sphinx/matlab/matlab-template.rst.in') build(c) localenv.Depends(sphinxdocs, c) diff --git a/doc/sphinx/matlab/index.rst b/doc/sphinx/matlab/index.rst index 64e8d6d98..f97c98a67 100644 --- a/doc/sphinx/matlab/index.rst +++ b/doc/sphinx/matlab/index.rst @@ -7,12 +7,11 @@ Matlab Interface User's Guide :maxdepth: 2 input-tutorial - code-docs/importing - code-docs/interface - code-docs/thermodynamics - code-docs/kinetics - code-docs/transport - code-docs/zero-dim - code-docs/one-dim - code-docs/data - code-docs/utilities + importing + thermodynamics + kinetics + transport + zero-dim + one-dim + data + utilities