Merge pull request #72 from AnsoCode/chore/migrate-to-docs-json

chore(docs): migrate from mint.json to docs.json (Mintlify v2)
This commit is contained in:
Anso
2026-03-23 11:52:38 -04:00
committed by GitHub
3 changed files with 59 additions and 52 deletions
+3
View File
@@ -6,6 +6,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased]
### Changed
- docs: migrate Mintlify config from deprecated `mint.json` to `docs.json` v2 format; update navigation to use `{ "groups": [...] }` object structure; add logo, favicon, and theme fields
### Fixed
- fix(ci): `update-screenshots` — add `pull-requests: write` permission and switch both `actions/checkout` and `peter-evans/create-pull-request` from `GITHUB_TOKEN` to `DOCS_REPO_TOKEN` (PAT with `repo` scope); `GITHUB_TOKEN` is blocked from creating PRs against protected branches
- fix(ci): `sync-docs` — add `--exclude='.git'` to the rsync step; `rsync --delete` was deleting the `.git` directory cloned in the previous step because it doesn't exist in the source (`sencho/docs/`), causing `fatal: not in a git directory` in the commit step
+56
View File
@@ -0,0 +1,56 @@
{
"$schema": "https://mintlify.com/docs.json",
"theme": "mint",
"name": "Sencho",
"colors": {
"primary": "#0F172A",
"light": "#3B82F6",
"dark": "#0F172A"
},
"logo": {
"light": "/images/logo/logo-light.svg",
"dark": "/images/logo/logo-dark.svg",
"href": "/"
},
"favicon": "/images/logo/favicon.ico",
"navigation": {
"groups": [
{
"group": "Getting Started",
"pages": [
"getting-started/introduction",
"getting-started/quickstart",
"getting-started/configuration"
]
},
{
"group": "Features",
"pages": [
"features/overview",
"features/dashboard",
"features/stack-management",
"features/editor",
"features/resources",
"features/app-store",
"features/global-observability",
"features/host-console",
"features/multi-node",
"features/alerts-notifications"
]
},
{
"group": "Reference",
"pages": [
"reference/settings"
]
},
{
"group": "Operations",
"pages": [
"operations/troubleshooting",
"operations/backup"
]
}
]
}
}
-52
View File
@@ -1,52 +0,0 @@
{
"$schema": "https://mintlify.com/schema.json",
"name": "Sencho",
"logo": {
"light": "",
"dark": ""
},
"favicon": "",
"colors": {
"primary": "#0F172A",
"light": "#3B82F6",
"dark": "#0F172A"
},
"navigation": [
{
"group": "Getting Started",
"pages": [
"getting-started/introduction",
"getting-started/quickstart",
"getting-started/configuration"
]
},
{
"group": "Features",
"pages": [
"features/overview",
"features/dashboard",
"features/stack-management",
"features/editor",
"features/resources",
"features/app-store",
"features/global-observability",
"features/host-console",
"features/multi-node",
"features/alerts-notifications"
]
},
{
"group": "Reference",
"pages": [
"reference/settings"
]
},
{
"group": "Operations",
"pages": [
"operations/troubleshooting",
"operations/backup"
]
}
]
}