From 6640ce2bab32a25414cd009646ecd7cf3cdfb11d Mon Sep 17 00:00:00 2001 From: Todd Leonhardt Date: Tue, 31 Jan 2017 00:05:32 -0500 Subject: Added doc _build dir to .gitignore --- docs/.gitignore | 2 ++ docs/index.rst | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 docs/.gitignore (limited to 'docs') 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``:: -- cgit v1.2.1