From af396e3809bff1bad1b82a29c89da4048e8605bd Mon Sep 17 00:00:00 2001 From: Ashwin Bharambe Date: Mon, 3 Mar 2025 11:48:57 -0800 Subject: [PATCH] fix: update version and fix docs release notes link --- docs/source/conf.py | 5 +++++ docs/source/index.md | 2 +- pyproject.toml | 2 +- uv.lock | 4 +++- 4 files changed, 10 insertions(+), 3 deletions(-) diff --git a/docs/source/conf.py b/docs/source/conf.py index 44975c02c..de428b486 100644 --- a/docs/source/conf.py +++ b/docs/source/conf.py @@ -21,6 +21,10 @@ with Path(__file__).parent.parent.parent.joinpath("pyproject.toml").open("rb") a pyproject = tomli.load(f) llama_stack_version = pyproject["project"]["version"] + # generate the full link including text and url here + llama_stack_version_url = f"https://github.com/meta-llama/llama-stack/releases/tag/v{llama_stack_version}" + llama_stack_version_link = f"release notes" + project = "llama-stack" copyright = "2025, Meta" author = "Meta" @@ -74,6 +78,7 @@ myst_enable_extensions = [ myst_substitutions = { "docker_hub": "https://hub.docker.com/repository/docker/llamastack", "llama_stack_version": llama_stack_version, + "llama_stack_version_link": llama_stack_version_link, } suppress_warnings = ['myst.header'] diff --git a/docs/source/index.md b/docs/source/index.md index 8234e1a9a..4a698e28f 100644 --- a/docs/source/index.md +++ b/docs/source/index.md @@ -1,7 +1,7 @@ ```{admonition} News :class: tip -Llama Stack {{ llama_stack_version }} is now available! See the [release notes](https://github.com/meta-llama/llama-stack/releases/tag/v{{ llama_stack_version }}) for more details. +Llama Stack {{ llama_stack_version }} is now available! See the {{ llama_stack_version_link }} for more details. ``` # Llama Stack diff --git a/pyproject.toml b/pyproject.toml index 8b604e6d3..0f47a0077 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "llama_stack" -version = "0.1.4" +version = "0.1.5" authors = [{ name = "Meta Llama", email = "llama-oss@meta.com" }] description = "Llama Stack" readme = "README.md" diff --git a/uv.lock b/uv.lock index c839d38a2..b2e37af29 100644 --- a/uv.lock +++ b/uv.lock @@ -1,4 +1,5 @@ version = 1 +revision = 1 requires-python = ">=3.10" resolution-markers = [ "(python_full_version < '3.11' and platform_machine != 'aarch64' and sys_platform == 'linux') or (python_full_version < '3.11' and sys_platform != 'darwin' and sys_platform != 'linux')", @@ -852,7 +853,7 @@ wheels = [ [[package]] name = "llama-stack" -version = "0.1.4" +version = "0.1.5" source = { editable = "." } dependencies = [ { name = "blobfile" }, @@ -968,6 +969,7 @@ requires-dist = [ { name = "types-setuptools", marker = "extra == 'dev'" }, { name = "uvicorn", marker = "extra == 'dev'" }, ] +provides-extras = ["dev", "test", "docs", "codegen"] [[package]] name = "llama-stack-client"