DOCS HANDBOOK
Write a page. Give it a home.
HTML files, shared layouts, and URLs that follow your folders.
1. Create an HTML file
Put pages inside app/pages/. For example, app/pages/api/v2/documentation.html is served at /api/v2/documentation.html. No route changes are needed.
2. Use the shared template
Copy this starting point. Jinja’s content block places your HTML between the shared header and footer.
{% extends "base.html" %}
{% block title %}My new page{% endblock %}
{% block description %}A short description of this page.{% endblock %}
{% block content %}
My new page
Your documentation goes here.
{% endblock %}
3. Add styles when you need them
Every page using the base template loads app/static/css/docs.css. For a section stylesheet, create a CSS file in that folder and add:
{% block extra_css %}
{% endblock %}
Folders and links
A folder’s index.html is available at its trailing-slash URL, such as /guides/. That URL only works once you create the index file. Use root-relative links like /api/v2/documentation.html so links work at any depth.
Add links to new pages in app/templates/base.html. Pages are routed automatically; the navigation is deliberately curated.
Publish an update
Save the file, preview it locally, then commit and push to the repository connected to Render. See the project README for setup and deployment instructions.
