Demo page

This page is just a demo for using the Sphinx theme “pyramid” with Pygments style “inkpot”.

Some random Python code:

try:
    from DistUtilsExtra.command import *
except ImportError:
    print >> sys.stderr, 'To build Sphinx-Theme-Brandenburg you need https://launchpad.net/python-distutils-extra'
    sys.exit(1)


def read_from_file(path):
    with open(path) as input:
        return input.read()

Here we have some shell code:

## Go to a bookmark
bcd(){
 if [ 2 -eq 0 ]; then
     _bcd_help
 elif  _bcd_check_cfg_file; then
   dir=""
   if [ -z "" ]; then
     echo "No bookmark \"inkpot\""
   else
     cd ""
   fi
 fi
}