Modern Apps git

← xtool.git

Add footer to docs (#61)

Commit
02ea670a91ae33256926b8480520289a8314db9d
Author
Kabir Oberai <[email protected]>
When
2025-05-18 18:32 UTC (1 year ago)
Parents
dd5de80

Diff

Netlify/build.sh
diff --git a/Netlify/build.sh b/Netlify/build.shindex f82b3dc..50a9d34 100755--- a/Netlify/build.sh+++ b/Netlify/build.sh@@ -8,4 +8,5 @@ rm -rf docs  swift package --allow-writing-to-package-directory \     generate-documentation --target XToolDocs --disable-indexing \+    --experimental-enable-custom-templates \     --output-path docs
Sources/XToolDocs/Documentation.docc/footer.html
diff --git a/Sources/XToolDocs/Documentation.docc/footer.html b/Sources/XToolDocs/Documentation.docc/footer.htmlnew file mode 100644index 0000000..f2cf211--- /dev/null+++ b/Sources/XToolDocs/Documentation.docc/footer.html@@ -0,0 +1,19 @@+<style>+footer {+    display: flex;+    justify-content: center;+    padding: 0.5rem 0;+    background-color: var(--color-fill-secondary);+    text-align: center;+}++a, a:visited {+    color: var(--color-text);+}+</style>++<footer>+    <span>+        &copy; xtool maintainers. Site hosted on <a href="https://www.netlify.com">Netlify</a>.+    </span>+</footer>