Skip to content
My Project

My Project

One sentence that says what My Project does and who it is for.

November 20, 2026

My Project#

Guide#

My Project helps [who] do [what] without [the usual pain]. This guide takes you from installing it to using it in a real project.

Tip

Every page here has a Markdown copy. Use Copy as Markdown at the top of a page to paste it into an AI assistant.

Install#

My Project needs Python 3.10 or newer.

pip
pip install my-project
uv
uv add my-project
pipx
pipx install my-project

Check that it works:

$ my-project --version
my-project 1.0.0

Note

Replace these commands with your project's own. Tabs with the same labels stay in sync across the site, so a reader who picks uv once sees uv everywhere.

Quick start#

This page gets you from an empty folder to a first result.

  1. Create a project folder: mkdir hello && cd hello
  2. Save the configuration below as my-project.toml
  3. Run my-project run. The summary is written to build/summary.txt.
my-project.toml
[project]
name = "hello"
output = "build/"

What just happened#

flowchart LR
  config[my-project.toml] --> run{my-project run}
  run --> out[build/summary.txt]

Warning

Diagrams like this one are drawn in the browser. They need the site to be served over HTTP, not opened as a file.

Next steps#

Writing docs#

These pages use the Sumi theme for MkDocs NG. Everything is plain Markdown, so the files read well on GitHub too.

Preview locally#

pip install -r requirements.txt
mkdocs serve                  # http://127.0.0.1:8000/, Chinese under zh/
mkdocs serve --language zh    # only Chinese, faster

Where things live#

  • docs/English pages
    • index.mdhome page (data in front matter)
    • guide/
    • reference/
    • releases.mdrelease page, filled from releases.yml
    • releases.yml
    • blog/
      • .authors.yml
      • posts/one file per post, named YYYY-MM-DD-slug.md
  • docs-zh/Chinese pages, same layout
  • mkdocs.ymlsettings for both languages

Components#

You write You get
> [!NOTE] A callout. Also TIP, IMPORTANT, WARNING, CAUTION.
A numbered list + {.steps} A procedure with numbered steps. Indent step content by 4 spaces.
A list of links + {.cards} A grid of cards.
Code fences with {tab="…"} Tabs.
A table + {.fields} A parameter reference.
```mermaid A diagram.
```filetree A file tree.
$E = mc^2$ Math.
++Ctrl+K++ Keys.

See the Sumi component guide for all of them.

Before you open a pull request#

mkdocs build --strict

--strict turns broken links and missing pages into errors. CI runs the same command.

Configuration#

My Project reads my-project.toml from the current folder. Environment variables override the file.

my-project.toml
[project]
name = "hello"
output = "build/"
verbose = false
namestringDefault folder name
Shown in output and logs.
outputpathDefault build/
Where results are written. Created if missing.
verbosebooleanDefault false
Print every step. Same as --verbose.
timeoutintegerDefault 30
Seconds before a run is stopped. 0 waits forever.

Environment variables#

MY_PROJECT_TOKEN
The API token. Never put it in the file.
MY_PROJECT_OUTPUT
output

Releases#

Install the latest release:

pip install --upgrade my-project

Each release below lists its changes and files. Add a new entry at the top of docs/releases.yml when you publish.

Blog#

News, release notes and guides from the My Project team.

Esc
↵ to open ↑↓ to move Esc to close
Keyboard shortcuts
Ctrl K /
Open search and commands
t
Toggle dark mode
[ ]
Previous / next page
j k
Previous / next heading
?
Show this help