From 5d2d075eef4531100f5956879409b49fe84dbd55 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Sun, 12 Mar 2023 00:54:16 -0500 Subject: [PATCH] Clean up build process --- docs/ALGORITHM.adoc | 2 +- docs/DESIGN.adoc | 2 +- docs/index.adoc | 6 +++--- justfile | 16 ++++++++-------- web-frontend/src/routes/+layout.svelte | 2 +- web/build.rs | 3 +++ web/src/main.rs | 2 +- web/src/static_assets.rs | 8 +++++++- 8 files changed, 25 insertions(+), 16 deletions(-) create mode 100644 web/build.rs diff --git a/docs/ALGORITHM.adoc b/docs/ALGORITHM.adoc index de5dd6f..94bc793 100644 --- a/docs/ALGORITHM.adoc +++ b/docs/ALGORITHM.adoc @@ -12,7 +12,7 @@ The goal of this document is to define the algorithm. -If you want to see the steps to get to this definition, go to link:DESIGN.html[DESIGN]. +If you want to see the steps to get to this definition, go to link:/docs/DESIGN[DESIGN]. == Data format diff --git a/docs/DESIGN.adoc b/docs/DESIGN.adoc index c23b331..9080305 100644 --- a/docs/DESIGN.adoc +++ b/docs/DESIGN.adoc @@ -12,7 +12,7 @@ The goal of this document is to walk through how the design was chosen. -If you want to see the algorithm definition, go to link:ALGORITHM.html[ALGORITHM]. +If you want to see the algorithm definition, go to link:/docs/ALGORITHM[ALGORITHM]. == 10,000 meter view diff --git a/docs/index.adoc b/docs/index.adoc index c077537..480e5ad 100644 --- a/docs/index.adoc +++ b/docs/index.adoc @@ -11,9 +11,9 @@ == Pages * link:..[xpin.app] - Go back to the xpin homepage -* link:ALGORITHM.html[ALGORITHM] - Algorithm definition -* link:DESIGN.html[DESIGN] - Algorithm design documentation -* link:WORDLIST.html[WORDLIST] - Wordlist design and implementation +* link:/docs/ALGORITHM[ALGORITHM] - Algorithm definition +* link:/docs/DESIGN[DESIGN] - Algorithm design documentation +* link:/docs/WORDLIST[WORDLIST] - Wordlist design and implementation ++++