Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .mintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ rust/target/
dist/
artifacts/
eval/
website/
1 change: 1 addition & 0 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
3 changes: 1 addition & 2 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,14 @@
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 {
color: #ffffff !important;
}

html.dark #navbar .nav-logo::before {
filter: brightness(0) invert(1);
filter: invert(1);
}

#theme-preference-menu-trigger {
Expand Down
4 changes: 3 additions & 1 deletion tests/test_docs_routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down
Loading