summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorTodd Leonhardt <todd.leonhardt@gmail.com>2017-01-31 00:05:32 -0500
committerTodd Leonhardt <todd.leonhardt@gmail.com>2017-01-31 00:05:32 -0500
commit6640ce2bab32a25414cd009646ecd7cf3cdfb11d (patch)
tree594e69702b06418391e334ec9928ddaa51462e4a /docs
parentb66837ed3a11bbee7eb98da8b95e0f58eec533bf (diff)
downloadcmd2-git-6640ce2bab32a25414cd009646ecd7cf3cdfb11d.tar.gz
Added doc _build dir to .gitignore
Diffstat (limited to 'docs')
-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``::