This repository has been archived by the owner on Feb 24, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 11
Documentation Guidelines
Seamus Smith edited this page May 25, 2022
·
24 revisions
Make sure to add the page to the sidebar manually
To link a page, put the name of the page in square brackets. i.e: [[Name of page]]
- Classes
- Modules
- Inclusion Tags (aka Components)
- Management Commands
- Layout Templates
- URL Endpoints
- Unit Tests
Each page should be named after the module, for example:
- ratatoskr.app.views
- ratatoskr.app.models
- ratatoskr.app.management.commands
Each class should be in it's own page, name like:
- ratatoskr.app.models.Schedule
Template paths use backslash, as we can't use forward slash for our page names:
- app\layouts\base.html
Management commands should be named like:
- Command commandname
Returns the sum of a and b
Describes an animal
- name: string
- age: float
- sound: string
Makes the animal make a sound
Additional content in head
Body content
python manage.py helloworld
Prints "Hello World" into the console. If the world ended, behavior is undefined.
- Things we use
- Heroku Maintaining
- Creating a dev environment
- Documentation Guidelines
- Calendar Integration Schema