makes version dynamic

This commit is contained in:
Christian Beutel
2025-01-05 13:43:43 +01:00
parent 49ba105a95
commit 38cb5702e3
4 changed files with 9 additions and 62 deletions

View File

@@ -0,0 +1,7 @@
import { defineCollection } from 'astro:content';
import { docsLoader } from "@astrojs/starlight/loaders";
import { docsSchema } from "@astrojs/starlight/schema";
export const collections = {
docs: defineCollection({ loader: docsLoader(), schema: docsSchema() }),
};

View File

@@ -1,6 +0,0 @@
import { defineCollection } from 'astro:content';
import { docsSchema } from '@astrojs/starlight/schema';
export const collections = {
docs: defineCollection({ schema: docsSchema() }),
};

View File

@@ -2,6 +2,7 @@
title: Installation
description: Detailed installation instructions for docker and bare-metal
---
import { version } from '../../../../package.json';
wanderer consists of three components:
1. the frontend written with [SvelteKit](https://github.com/sveltejs/kit)
@@ -115,7 +116,7 @@ To update all containers to a new version simply run `docker compose pull && doc
While not recommended it is absolutely possible to install wanderer from source.
### Prerequisites
1. git installed && `git clone https://github.com/Flomp/wanderer.git --branch v0.12.0 --single-branch`
1. git installed && git clone https://github.com/Flomp/wanderer.git --branch v{version} --single-branch
2. go >= 1.21.1 installed
3. node >= 18.17.0 installed
4. npm >= 8.15.0 installed