Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

Using this template

Steps to start a new project from this repository, in order.

1. Create your repository

On GitHub, click Use this template → Create a new repository. See GitHub’s guide to creating a repository from a template.

2. Rename the package

The template’s package is called placeholder. Rename it everywhere:

Then update the links to this repository: urls in pyproject.toml, and github and title in docs/myst.yml.

3. Choose a license

LICENSE and the license field in pyproject.toml must name the same license. The template uses Apache-2.0; if you change it, change both.

4. Set up your environment

uv sync --extra dev        # or: pip install -e ".[dev]"
pre-commit install
pre-commit run --all-files

Code Formatting & Linting in the Guidelines explains what the hooks do.

5. Add your dependencies

List them under dependencies in pyproject.toml, then run uv lock and commit uv.lock with the change. The uv-lock hook does this for you on commit.

6. Turn on CI and the docs site

7. Remove what you do not need

Delete docs/contributed-examples/ or the docs workflow (.github/workflows/docs.yml) if your project has no use for them, and replace the README with your own.