diff --git a/.mintignore b/.mintignore index 5486387..3ab7ea0 100644 --- a/.mintignore +++ b/.mintignore @@ -6,3 +6,4 @@ rust/target/ dist/ artifacts/ eval/ +website/ diff --git a/docs.json b/docs.json index 8046849..85aaac4 100644 --- a/docs.json +++ b/docs.json @@ -2,6 +2,7 @@ "$schema": "https://mintlify.com/docs.json", "theme": "mint", "name": "Premove", + "favicon": "/premove-icon.png", "description": "Open-source work to reduce end-to-end latency in conversational voice-agent systems.", "isWhiteLabeled": true, "seo": { diff --git a/style.css b/style.css index 9788b13..ce9f24d 100644 --- a/style.css +++ b/style.css @@ -17,7 +17,6 @@ height: 1.5rem; flex: 0 0 1.5rem; background: url("/premove-icon.png") center / contain no-repeat; - filter: brightness(0); } html.dark #navbar .nav-logo { @@ -25,7 +24,7 @@ html.dark #navbar .nav-logo { } html.dark #navbar .nav-logo::before { - filter: brightness(0) invert(1); + filter: invert(1); } #theme-preference-menu-trigger { diff --git a/tests/test_docs_routes.py b/tests/test_docs_routes.py index ca4249c..29d7c51 100644 --- a/tests/test_docs_routes.py +++ b/tests/test_docs_routes.py @@ -44,6 +44,8 @@ def _page_file(page: str) -> Path: def test_mintlify_public_routes_match_the_site_plan() -> None: config = json.loads((ROOT / "docs.json").read_text(encoding="utf-8")) assert config["seo"]["metatags"]["canonical"] == "https://docs.premove.dev" + assert config["favicon"] == "/premove-icon.png" + assert "website/" in (ROOT / ".mintignore").read_text(encoding="utf-8").splitlines() assert config["seo"]["indexing"] == "navigable" assert config["seo"]["metatags"]["author"] == "Premove AI" assert config["seo"]["metatags"]["og:locale"] == "en_US" @@ -120,7 +122,7 @@ def test_mintlify_public_routes_match_the_site_plan() -> None: style_css = (ROOT / "style.css").read_text(encoding="utf-8") assert "font-size: 2.5rem;" in style_css assert 'background: url("/premove-icon.png")' in style_css - assert "filter: brightness(0) invert(1);" in style_css + assert "filter: invert(1);" in style_css assert "#theme-preference-menu-trigger::before" in style_css assert 'content: "☾";' in style_css assert 'content: "☀";' in style_css