summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--docs/.gitignore2
-rw-r--r--docs/index.rst2
2 files changed, 4 insertions, 0 deletions
diff --git a/docs/.gitignore b/docs/.gitignore
new file mode 100644
index 00000000..d4e11e5e
--- /dev/null
+++ b/docs/.gitignore
@@ -0,0 +1,2 @@
+_build
+
diff --git a/docs/index.rst b/docs/index.rst
index eba90e0b..f7951472 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -17,6 +17,8 @@ programs. Extends the Python Standard Library's cmd_ package.
The basic use of ``cmd2`` is identical to that of cmd_.
+.. highlight:: python
+
1. Create a subclass of ``cmd2.Cmd``. Define attributes and
``do_*`` methods to control its behavior. Throughout this documentation,
we will assume that you are naming your subclass ``App``::