Skip to content

A starting point for a Django styleguide based on pykss. Includes templates for pykss styleguideblock, index and sections.

Notifications You must be signed in to change notification settings

annikaC/django-pykss-styleguide

Repository files navigation

django-pykss-styleguide

This is a starting point for your own internal pykss-based styleguide. Using pykss's auto generated documentation, a structured index is created with pages for each section.

Also included is a styleguideblock template.

Copy, fork, override, have fun!

Please refer to the KSS syntax for getting this to work with your CSS.

See a very barebones demo here: demo link

Requirements: pykss - see here

Add these lines to settings.py:

Add 'pykss' and 'django-pykss-styleguide' to INSTALLED_APPS

PYKSS_DIRS = [os.path.join(STATIC_ROOT, 'django-pykss-styleguide', 'css')]

And make sure to add to your patterns in urls.py too:

url(r'^', include('django-pykss-styleguide.urls', namespace='django-pykss-styleguide')),

Originally developed for Open Utility's internal styleguide.

About

A starting point for a Django styleguide based on pykss. Includes templates for pykss styleguideblock, index and sections.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published