Templates#
QuantEcon maintains a set of official templates to keep new repositories, lectures, and documents consistent. This page is an index of what is available and when to reach for each.
Template set |
Repository |
Use it for |
|---|---|---|
Workflow templates |
The |
|
Document & brand templates |
Letterhead, correspondence, and brand guidelines |
|
Org common files |
The shared |
Repository workflow templates#
The maintained GitHub Actions workflows for a lecture repository live in
quantecon/actions/templates. Copy these into a
repository’s .github/workflows/ directory and configure the commented options following that directory’s
README.
Template |
Trigger |
Purpose |
|---|---|---|
|
Pull requests |
Restore cache → incremental build → PR preview (Netlify / Cloudflare) |
|
Weekly, manual, or |
Full build → save the |
|
Push to |
Restore cache → build → deploy to GitHub Pages (native artifact deployment) |
These templates are built on the quantecon/actions reusable composite-action library and its container, which is the target architecture for QuantEcon lecture CI/CD. See the lecture deployment table for which repositories have adopted it.
Note
The older template-lecture-repo has been archived. To start a new lecture repository, copy the
project skeleton — the lectures/ folder (with its _config.yml, _toc.yml, intro.md, and lecture
files) — from a current lecture repository such as
lecture-dp, and add the workflow templates above. The
Building a custom Course page walks through the full process.
Document & brand templates#
QuantEcon/templates holds official templates for QuantEcon correspondence and documents, organised one folder per template type.
Letterhead (
letterhead/) — a LaTeX letterhead for QuantEcon correspondence, including the PSL Foundation fiscal-host acknowledgement. See the folder’sREADME.mdfor usage.
The repository’s README is also the home of the QuantEcon brand guidelines:
Brand colour |
Hex |
|---|---|
Primary Blue |
|
Dark Blue |
|
Accent Blue |
|
Teal (logo) |
|
Light Blue (logo) |
|
Navy (logo) |
|
Light Gray |
|
Typography: Helvetica Neue
Tagline: “Open source science for quantitative economics”
When adding a new document template, follow the repository’s contributing guide — create a dedicated
subdirectory with its own README.md, use the official branding, and confirm it compiles.
Organisation common files#
Organisation-wide defaults live in QuantEcon/.github, including the
shared quantecon environment (environment.yml) and the default issue and
pull-request templates that apply across QuantEcon repositories.