mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-06-02 07:00:26 -04:00
Material for MkDocs is in maintenance mode; Zensical is its successor from
the same maintainers. Zensical reads the existing mkdocs.yml natively, so
this is a tooling swap rather than a config rewrite.
- pyproject.toml: replace mkdocs-material with zensical in docs/dev groups
- Taskfile/CI/netlify: swap `mkdocs build|serve` for `zensical build|serve`
- mkdocs.yml: move custom `demo_url` under `extra:` (Zensical doesn't expose
custom top-level config keys to templates); move `custom_dir` out of the
docs source tree so raw templates aren't published as static files
- home.html: use `config.extra.demo_url`; replace the non-functional
`lang.t('source.link.title')` (a Python call MiniJinja can't run, already
rendering as literal text) with a static tooltip
Verified: `zensical build` exits clean ("No issues found"), 46 pages, with
mermaid, admonitions, content tabs, task lists, nav tabs, code-copy, custom
homepage, and announce banner all rendering at parity with the prior build.
116 lines
4.5 KiB
YAML
116 lines
4.5 KiB
YAML
site_name: Mealie
|
|
site_url: https://docs.mealie.io
|
|
use_directory_urls: true
|
|
theme:
|
|
palette:
|
|
# Light mode
|
|
- media: "(prefers-color-scheme: light)"
|
|
scheme: mealie
|
|
toggle:
|
|
icon: material/weather-night
|
|
name: Switch to dark mode
|
|
# Dark mode
|
|
- media: "(prefers-color-scheme: dark)"
|
|
scheme: slate
|
|
toggle:
|
|
icon: material/weather-sunny
|
|
name: Switch to light mode
|
|
custom_dir: overrides
|
|
features:
|
|
- content.code.annotate
|
|
- content.code.copy
|
|
- navigation.top
|
|
- navigation.instant
|
|
- navigation.expand
|
|
- navigation.sections
|
|
- navigation.tabs
|
|
- navigation.tabs.sticky
|
|
favicon: assets/img/favicon.png
|
|
name: material
|
|
icon:
|
|
logo: material/silverware-variant
|
|
|
|
markdown_extensions:
|
|
- pymdownx.emoji:
|
|
emoji_index: !!python/name:material.extensions.emoji.twemoji
|
|
emoji_generator: !!python/name:material.extensions.emoji.to_svg
|
|
- def_list
|
|
- pymdownx.highlight
|
|
- pymdownx.superfences
|
|
- pymdownx.tasklist:
|
|
custom_checkbox: true
|
|
- admonition
|
|
- attr_list
|
|
- pymdownx.tabbed:
|
|
alternate_style: true
|
|
- pymdownx.superfences:
|
|
custom_fences:
|
|
- name: mermaid
|
|
class: mermaid
|
|
format: !!python/name:pymdownx.superfences.fence_code_format
|
|
- pymdownx.details
|
|
extra:
|
|
demo_url: https://demo.mealie.io
|
|
extra_css:
|
|
- assets/stylesheets/custom.css
|
|
extra_javascript:
|
|
- assets/js/extra.js
|
|
repo_url: https://github.com/mealie-recipes/mealie/
|
|
repo_name: mealie-recipes/mealie
|
|
edit_uri: edit/mealie-next/docs/docs/
|
|
|
|
nav:
|
|
- Home: "index.md"
|
|
- Getting Started:
|
|
- Introduction: "documentation/getting-started/introduction.md"
|
|
- Features: "documentation/getting-started/features.md"
|
|
- Updating: "documentation/getting-started/updating.md"
|
|
- Version 1 Migration: "documentation/getting-started/migrating-to-mealie-v1.md"
|
|
- FAQ: "documentation/getting-started/faq.md"
|
|
- API: "documentation/getting-started/api-usage.md"
|
|
- Road Map: "documentation/getting-started/roadmap.md"
|
|
|
|
- Installation:
|
|
- Installation Checklist: "documentation/getting-started/installation/installation-checklist.md"
|
|
- SQLite (Recommended): "documentation/getting-started/installation/sqlite.md"
|
|
- PostgreSQL: "documentation/getting-started/installation/postgres.md"
|
|
- Backend Configuration: "documentation/getting-started/installation/backend-config.md"
|
|
- Security: "documentation/getting-started/installation/security.md"
|
|
- Logs: "documentation/getting-started/installation/logs.md"
|
|
- AI Providers: "documentation/getting-started/installation/ai-providers.md"
|
|
- Usage:
|
|
- Backup and Restoring: "documentation/getting-started/usage/backups-and-restoring.md"
|
|
- Permissions and Public Access: "documentation/getting-started/usage/permissions-and-public-access.md"
|
|
|
|
- Authentication:
|
|
- LDAP: "documentation/getting-started/authentication/ldap.md"
|
|
- OpenID Connect: "documentation/getting-started/authentication/oidc-v2.md"
|
|
|
|
- Community Guides:
|
|
- Bring API without internet exposure: "documentation/community-guide/bring-api.md"
|
|
- Automating Backups with n8n: "documentation/community-guide/n8n-backup-automation.md"
|
|
- Bulk Url Import: "documentation/community-guide/bulk-url-import.md"
|
|
- Home Assistant: "documentation/community-guide/home-assistant.md"
|
|
- Import Bookmarklet: "documentation/community-guide/import-recipe-bookmarklet.md"
|
|
- iOS Shortcut: "documentation/community-guide/ios-shortcut.md"
|
|
- Reverse Proxy (SWAG): "documentation/community-guide/swag.md"
|
|
|
|
- API Reference: "https://demo.mealie.io/docs"
|
|
|
|
- Contributors Guide:
|
|
- Non-Code: "contributors/non-coders.md"
|
|
- Translating: "contributors/translating.md"
|
|
- Developers Guide:
|
|
- Building Packages: "contributors/developers-guide/building-packages.md"
|
|
- Code Contributions: "contributors/developers-guide/code-contributions.md"
|
|
- Dev Getting Started: "contributors/developers-guide/starting-dev-server.md"
|
|
- Database Changes: "contributors/developers-guide/database-changes.md"
|
|
- Maintainers Guide: "contributors/developers-guide/maintainers.md"
|
|
- Migration Guide: "contributors/developers-guide/migration-guide.md"
|
|
- Guides:
|
|
- Improving Ingredient Parser: "contributors/guides/ingredient-parser.md"
|
|
|
|
- News:
|
|
- Surveys:
|
|
- October 2024: "news/surveys/2024-october/overview.md"
|