From 64c38200c0ca634fbaa11f9f13807c3c5ce3f5a8 Mon Sep 17 00:00:00 2001 From: mlluciano Date: Fri, 12 Apr 2024 09:10:17 -0400 Subject: [PATCH] docs: add beta disclaimer --- mkdocs/docs/index.md | 2 ++ mkdocs/docs/js/logo.js | 10 ++++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/mkdocs/docs/index.md b/mkdocs/docs/index.md index e86c2af..fc3db21 100644 --- a/mkdocs/docs/index.md +++ b/mkdocs/docs/index.md @@ -1,3 +1,5 @@ # Welcome to the official iDigBio documentation! To learn more about iDigBio visit [idigbio.org](https://www.idigbio.org/). + +**This site is a work in progress and currently in beta.** \ No newline at end of file diff --git a/mkdocs/docs/js/logo.js b/mkdocs/docs/js/logo.js index 03a2df0..c901a55 100644 --- a/mkdocs/docs/js/logo.js +++ b/mkdocs/docs/js/logo.js @@ -24,8 +24,14 @@ document.addEventListener("DOMContentLoaded", function() { document.addEventListener('DOMContentLoaded', function () { var searchInput = document.querySelector('.md-search__input'); if (searchInput) { - searchInput.placeholder = 'Search docs'; // Your custom placeholder text + searchInput.placeholder = 'Search docs'; } }); - +document.addEventListener('DOMContentLoaded', function () { + var title = document.querySelector('.md-ellipsis'); + if (title) { + title.innerHTML = 'BETA DOCUMENTATION' + title.style = 'color: red;' + } +});