This is the source of the official Poetry website.
It's built using the static site generator Hugo and the Markdown docs from the Poetry repo.
- Poetry
- Node.js 18 (and
npm
)
To work on this project locally, first fork and clone this repo. Then:
make site
or, to instead use docs from a local poetry
repo:
make site POETRY_REPO=../path/to/local/poetry/repo
This will
- Either fetch or symlink
docs/*.md
from thepoetry
repo intocontent/docs
- Concurrently run
rollup
to compile assets andhugo
to serve content
The website will now be accessible at https://localhost:1313 and reload on any changes.