Skip to content

Instantly share code, notes, and snippets.

@hseritt
Created February 25, 2017 12:38
Show Gist options
  • Save hseritt/1a9950abfc4baf39e9513c5ca0174b2e to your computer and use it in GitHub Desktop.
Save hseritt/1a9950abfc4baf39e9513c5ca0174b2e to your computer and use it in GitHub Desktop.
Generate epydocs (documentation)
#!/usr/bin/env bash
outputdir="docs/code"
export DJANGO_SETTINGS_MODULE='myproject.settings'
epydoc --html --parse-only --name myprojectname --inheritance grouped apps myprojectname scripts -o $outputdir/
cp static/admin/css/base.css $outputdir/epydoc.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment