Skip to content

Commit 87d4336

Browse files
Documentation fixes (#1507)
* fixed documentation displaying 2 section titles when rendered. * fixed readme exmple indentation of function to make it a member of the FirstApp so when copied will work as intended. --------- Co-authored-by: Todd Leonhardt <[email protected]>
1 parent d819701 commit 87d4336

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ import cmd2
127127
class FirstApp(cmd2.Cmd):
128128
"""A simple cmd2 application."""
129129

130-
131-
def do_hello_world(self, _: cmd2.Statement):
132-
self.poutput('Hello World')
130+
def do_hello_world(self, _: cmd2.Statement):
131+
self.poutput('Hello World')
133132

134133

135134
if __name__ == '__main__':

docs/index.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@ app = App()
2525
app.cmdloop()
2626
```
2727

28-
## Getting Started
28+
<!-- Getting Started -->
2929

3030
{%
3131
include-markdown "./overview/index.md"
3232
%}
3333

34-
## Migrating from cmd
34+
<!-- Migrating from cmd -->
3535

3636
{%
3737
include-markdown "./migrating/index.md"

0 commit comments

Comments
 (0)