From 666b216116a71a37b9db802ff857cf1c8cad6731 Mon Sep 17 00:00:00 2001 From: theagilehacker Date: Sat, 6 Sep 2025 17:32:18 -0400 Subject: [PATCH 1/3] fixed documentation displaying 2 section titles when rendered. --- docs/index.md | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/docs/index.md b/docs/index.md index bca8cc526..d5cd6034c 100644 --- a/docs/index.md +++ b/docs/index.md @@ -25,36 +25,31 @@ app = App() app.cmdloop() ``` -## Getting Started - + {% include-markdown "./overview/index.md" %} -## Migrating from cmd - + {% include-markdown "./migrating/index.md" %} -## Features - + {% include-markdown "./features/index.md" start="" end="" %} -## Examples - + {% include-markdown "./examples/index.md" start="" end="" %} -## Plugins - + {% include-markdown "./plugins/index.md" start="" From 9a8d291303b496f49199b27df5b33d366954f227 Mon Sep 17 00:00:00 2001 From: theagilehacker Date: Sat, 6 Sep 2025 17:33:09 -0400 Subject: [PATCH 2/3] fixed readme exmple indentation of function to make it a member of the FirstApp so when copied will work as intended. --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a21bb1ed9..12ed7733c 100755 --- a/README.md +++ b/README.md @@ -127,9 +127,8 @@ import cmd2 class FirstApp(cmd2.Cmd): """A simple cmd2 application.""" - -def do_hello_world(self, _: cmd2.Statement): - self.poutput('Hello World') + def do_hello_world(self, _: cmd2.Statement): + self.poutput('Hello World') if __name__ == '__main__': From 015e9e25d343b07e719a20c8247ea2208c02a2fe Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Sun, 7 Sep 2025 20:31:28 -0400 Subject: [PATCH 3/3] Apply prettier auto-formatting to docs/index.md and fix a couple things off there --- docs/index.md | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/docs/index.md b/docs/index.md index d5cd6034c..cbbdb7dfb 100644 --- a/docs/index.md +++ b/docs/index.md @@ -26,30 +26,35 @@ app.cmdloop() ``` + {% include-markdown "./overview/index.md" %} + {% include-markdown "./migrating/index.md" %} - +## Features + {% include-markdown "./features/index.md" start="" end="" %} - +## Examples + {% include-markdown "./examples/index.md" start="" end="" %} - +## Plugins + {% include-markdown "./plugins/index.md" start=""