django-mptt-docs
is a simple app which you can use to manage documentations for your django project.
HackerEarth's documentation is powered by django-mptt-docs
, see it in action here::
https://www.hackerearth.com/docs/
-
You love markdown.
-
Easy to use: It's true there is static tools like
sphinx
to handle documentation, there you need create dirs, files etc. Say you have to move an entire dir to another parent directory you need to cut-paste, it's too mainstream so to use this package, you need to set a parent and hit save in admin panel. That's it, it will regenerate all the urls and deploy. -
It's highly customizable. You don't need to write htmls or css for different pages manually, just do it once.
-
This app depends on
django-mptt
so downloaddjango-mptt
to your project directory or install it from pip. Adddocs
anddjango-mptt
to your INSTALLED_APPS settings like this::INSTALLED_APPS = [ ... 'docs', 'django-mptt', ]
-
Include the
docs
URLconf in your project like this::url(r'^docs/', include('docs.urls')),
-
Add
/docs/static
to your STATICFILES_DIRS settings like this::STATICFILES_DIRS = ( '/docs/static/', )
-
Migrate docs application to create the models.
-
Visit django-admin panel to create docs and see it live here:: http://localhost:8000/docs/parent/child/