From 51ea4ba9fbcdfc785a5e9d6bafcac69334e535a8 Mon Sep 17 00:00:00 2001 From: kotfu Date: Wed, 3 Jul 2019 11:23:58 -0600 Subject: Revise menu structure - collapse menu structure in sidebar so not everything is always shown - updates to Getting Started section --- docs/index.rst | 66 +++++++++++++--------------------------------------------- 1 file changed, 14 insertions(+), 52 deletions(-) (limited to 'docs/index.rst') diff --git a/docs/index.rst b/docs/index.rst index df9a1513..68106d9f 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -24,21 +24,16 @@ The basic use of ``cmd2`` is identical to that of cmd_. app.cmdloop() -Overview --------- +Getting Started +--------------- -[create links with short descriptions to the various overview pages here] +.. include:: overview/summary.rst .. toctree:: :maxdepth: 2 :hidden: - :caption: Overview - overview/featuretour - overview/installation - overview/alternatives - overview/resources - examples/quickstart + overview/index Migrating from cmd @@ -48,14 +43,8 @@ Migrating from cmd .. toctree:: :maxdepth: 2 - :hidden: - :caption: Migrating from cmd - migrating/why - migrating/incompatibilities - migrating/minimum - migrating/free_features - migrating/nextsteps + migrating/index Features @@ -65,55 +54,28 @@ Features .. toctree:: :maxdepth: 2 - :hidden: - :caption: Features - - features/generating_output - features/argument_processing - features/prompt - features/help - features/history - features/startup_commands - features/shortcuts_aliases_macros - features/settings - features/completion - features/os - features/multiline - features/disable_commands - features/clipboard - features/transcript - features/hooks - features/plugins - features/scripting - features/embedded_python_shells + features/index -Examples --------------------- -[create links with short descriptions to the various examples pages here] +API Reference +------------- .. toctree:: :maxdepth: 2 - :hidden: - :caption: Examples - examples/quickstart + api/index -API Reference -------------- +Examples +-------------------- + +[create links with short descriptions to the various examples pages here] .. toctree:: :maxdepth: 2 - :hidden: - :caption: API Reference - api/cmd - api/decorators - api/exceptions - api/utility_functions - api/utility_classes + examples/index Meta -- cgit v1.2.1