Read_more
Other resources
diff --git a/src/routes/(about)/about/+page.svelte b/src/routes/(about)/about/+page.svelte
index 35feacb..9106f55 100644
--- a/src/routes/(about)/about/+page.svelte
+++ b/src/routes/(about)/about/+page.svelte
@@ -1,11 +1,7 @@
-Welcome to the docks!
-
-
+
The Docks is a ship builder for the game
@@ -36,10 +32,18 @@
diff --git a/src/routes/(about)/about/changelog/+page.svelte b/src/routes/(about)/about/changelog/+page.svelte
new file mode 100644
index 0000000..a0a4041
--- /dev/null
+++ b/src/routes/(about)/about/changelog/+page.svelte
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
diff --git a/src/routes/(about)/about/changelog/changelog.svx b/src/routes/(about)/about/changelog/changelog.svx
new file mode 100644
index 0000000..57cf5b2
--- /dev/null
+++ b/src/routes/(about)/about/changelog/changelog.svx
@@ -0,0 +1,44 @@
+# Changelog for [AotDS: The Docks][homepage]
+
+
+
+## 3.0.0 2023-05-09
+
+ * major rewrite.
+
+
+## 2.3.0 2022-04-17
+
+
+### Features
+
+ * add 'reset ship' button
+ * add changelog to app
+ * add version to About component
+
+
+## 2.2.0 2022-04-11
+
+
+### Features
+
+ * allow to edit the print layout
+
+
+## 2.1.0 (2022-04-07)
+
+
+### Features
+
+* add localStorage memory
+* can move main system comps in the print output
+
+
+* add standard-version
+
+
+
+
+
+
+ [homepage]: https://git.babyl.ca/yanick/aotds-docks
diff --git a/svelte.config.js b/svelte.config.js
index 83e2bf3..de4c3f9 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -1,9 +1,11 @@
import preprocess from "svelte-preprocess";
import adapter from "@sveltejs/adapter-static";
+import { mdsvex } from "mdsvex";
/** @type {import('@sveltejs/kit').Config} */
const config = {
- preprocess: preprocess(),
+ extensions: [".svelte", ".svx"],
+ preprocess: [mdsvex(), preprocess()],
kit: {
adapter: adapter({
fallback: "index.html",
diff --git a/vite.config.js b/vite.config.js
index aece566..9b9697c 100644
--- a/vite.config.js
+++ b/vite.config.js
@@ -1,6 +1,8 @@
// vite.config.js
import { sveltekit } from "@sveltejs/kit/vite";
import packageJson from "./package.json";
+import getVersion from "git-repo-version";
+import git from "git-describe";
/** @type {import('vite').UserConfig} */
const config = {
@@ -9,7 +11,9 @@ const config = {
ssr: {},
optimizeDeps: {},
define: {
- "import.meta.env.PACKAGE_VERSION": JSON.stringify(packageJson.version),
+ "import.meta.env.PACKAGE_VERSION": JSON.stringify(
+ git.gitDescribeSync().semverString
+ ),
"import.meta.env.HOMEPAGE": JSON.stringify(packageJson.homepage),
"import.meta.env.BUGS": JSON.stringify(packageJson.bugs.url),
},