Fix docs build for 1.9 release, part 3

steps.version.outputs.VERSION is always empty in build_docs.yaml, so the substitution never worked. Hard-code for today.
This commit is contained in:
Simon Hausmann 2024-12-18 17:59:10 +01:00
parent 566cb4eaa3
commit 90f72925c1
3 changed files with 12 additions and 12 deletions

View file

@ -9,8 +9,8 @@ import starlightSidebarTopics from "starlight-sidebar-topics";
// https://astro.build/config
export default defineConfig({
site: "https://snapshots.slint.dev/master/docs/slint/",
base: "/master/docs/slint",
site: "https://releases.slint.dev/1.9.0/docs/slint/",
base: "/1.9.0/docs/slint",
markdown: {
rehypePlugins: [
[

View file

@ -34,7 +34,7 @@ The documentation is split into several sections:
description="This will get you up and running with the tooling for Slint development including the IDE integration via the Slint Language Server (LSP) and Slint Viewer.
<br/><br/>
It then offers a guide explaining all the key concepts of Slint and how to understand and use the Slint language."
href="/master/docs/slint"
href="/1.9.0/docs/slint"
>
</LinkCard>
@ -42,7 +42,7 @@ The documentation is split into several sections:
title="Reference"
description="This contains the API reference for all aspects of the Slint language. All the elements, properties, functions, callbacks and namespaces. It also contains the
API reference for the `std-widgets` library. A set of cross platform components that can be used to build desktop applications."
href="/master/docs/slint/reference/primitive-types"
href="/1.9.0/docs/slint/reference/primitive-types"
>
</LinkCard>
@ -50,14 +50,14 @@ API reference for the `std-widgets` library. A set of cross platform components
title="Tutorial"
description="For those that like to learn by example or want to see how to structure a simple application, this section contains a step-by-step tutorial that walks you
through the creation of a simple memory game example."
href="/master/docs/slint/tutorial/quickstart/"
href="/1.9.0/docs/slint/tutorial/quickstart/"
>
</LinkCard>
<LinkCard
title="Language Integrations"
description="This details the API for the Rust, C++, and JS-Runtime versions of Slint."
href="/master/docs/slint/language-integrations/"
href="/1.9.0/docs/slint/language-integrations/"
>
</LinkCard>
</CardGrid>