Skip to content

armgit / xtool

Public Imported from GitHub
0

Cross-platform Xcode replacement. Build and deploy iOS apps with SwiftPM on Linux, Windows, macOS.

Add footer to docs (#61)

Kabir Oberai02ea670a91ae
diff --git a/Netlify/build.sh b/Netlify/build.sh
index 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
diff --git a/Sources/XToolDocs/Documentation.docc/footer.html b/Sources/XToolDocs/Documentation.docc/footer.html
new file mode 100644
index 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>