From 973686890826bfb2eb822ade022d18127f04d2c5 Mon Sep 17 00:00:00 2001 From: FishAlchemist <48265002+FishAlchemist@users.noreply.github.com> Date: Thu, 16 Jan 2025 04:12:55 +0800 Subject: [PATCH] Add meta titles to documents in guides, excluding integration documents. (#10539) ## Summary Add meta titles to documents in guides, excluding integration documents. ## Test Plan ``uvx --with-requirements docs/requirements.txt -- mkdocs build --strict -f mkdocs.public.yml``
Build Result * ``guides/install-python`` ```html ... ... Install and Manage Python | uv ... ``` * ``guides/projects`` ```html ... ... Working on projects | uv ... ``` * ``guides/publish`` ```html ... ... Publishing a package | uv ... ``` * ``guides/scripts`` ```html ... ... Run Scripts | uv ... ``` * ``guides/tools`` ```html ... ... Using tools | uv ... ```
--------- Co-authored-by: Charles Tapley Hoyt Co-authored-by: Zanie Blue --- docs/guides/install-python.md | 7 +++++++ docs/guides/projects.md | 7 +++++++ docs/guides/publish.md | 5 +++++ docs/guides/scripts.md | 7 +++++++ docs/guides/tools.md | 7 +++++++ 5 files changed, 33 insertions(+) diff --git a/docs/guides/install-python.md b/docs/guides/install-python.md index 9cefc830c..bc3555cdc 100644 --- a/docs/guides/install-python.md +++ b/docs/guides/install-python.md @@ -1,3 +1,10 @@ +--- +title: Installing and managing Python +description: + A guide to using uv to install Python, including requesting specific versions, automatic + installation, viewing installed versions, and more. +--- + # Installing Python If Python is already installed on your system, uv will diff --git a/docs/guides/projects.md b/docs/guides/projects.md index a9d219162..aff63e72b 100644 --- a/docs/guides/projects.md +++ b/docs/guides/projects.md @@ -1,3 +1,10 @@ +--- +title: Working on projects +description: + A guide to using uv to create and manage Python projects, including adding dependencies, running + commands, and building publishable distributions. +--- + # Working on projects uv supports managing Python projects, which define their dependencies in a `pyproject.toml` file. diff --git a/docs/guides/publish.md b/docs/guides/publish.md index d429ea26b..9e0fb114d 100644 --- a/docs/guides/publish.md +++ b/docs/guides/publish.md @@ -1,3 +1,8 @@ +--- +title: Publishing a package +description: A guide to using uv to build and publish Python packages to a package index, like PyPI. +--- + # Publishing a package uv supports building Python packages into source and binary distributions via `uv build` and diff --git a/docs/guides/scripts.md b/docs/guides/scripts.md index c6d10af63..1dbf91b3a 100644 --- a/docs/guides/scripts.md +++ b/docs/guides/scripts.md @@ -1,3 +1,10 @@ +--- +title: Running scripts +description: + A guide to using uv to run Python scripts, including support for inline dependency metadata, + reproducible scripts, and more. +--- + # Running scripts A Python script is a file intended for standalone execution, e.g., with `python