Files
directus/docs/netlify.toml
Esther Agbaje d8727ba4f1 Split existing docs pages into Developer Docs and User Guide (#18951)
* docs: add getting started

* docs: add data model

* docs: add content module

* docs: add user management

* docs: add file library

* docs: add insights

* docs: add general settings

* docs: update user guide sidebar

* docs: update sidebar

* docs: add data studio app to dev docs sidebar

* docs: update content module

* docs: update directus cloud

* docs: update settings and content module

* docs: removed unused files in app

* chore: update links

* chore: update redirects

* docs: update redirects

* chore: update redirects

* chore: update urls

* docs: add active match

* Remove unused import

---------

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2023-06-26 15:03:33 -04:00

113 lines
2.4 KiB
TOML

[build.environment]
NODE_VERSION = "18"
[build]
publish = ".vitepress/dist"
command = "pnpm run build"
[dev]
command = "pnpm run dev"
targetPort = 5173
autoLaunch = false
framework = "#custom"
[[redirects]]
from = "/api/*"
to = "/.netlify/functions/:splat"
status = 200
[[redirects]]
from = "/configuration/*"
to = "/app/:splat"
status = 301
[[redirects]]
from = "/cookbook/*"
to = "/guides/:splat"
status = 301
[[redirects]]
from = "/guides/flows/trigger-static-site-build-*"
to = "/guides/headless-cms/trigger-static-builds/:splat"
status = 301
[[redirects]]
from = "/guides/data-models/personal-portfolio-using-m2a"
to = "/"
status = 301
[[redirects]]
from = "/guides/data-models/build-a-content-hierarchy"
to = "/"
status = 301
[[redirects]]
from = "/guides/permissions/basic-workflows"
to = "/guides/headless-cms/approval-workflows"
status = 301
[[redirects]]
from = "/use-cases/headless-cms/build-website-*"
to = "/guides/headless-cms/build-static-website/:splat"
status = 301
[[redirects]]
from = "/use-cases/headless-cms/create-reusable-page-components-using-m2a"
to = "/guides/headless-cms/reusable-components"
status = 301
[[redirects]]
from = "/getting-started/backing-directus"
to = "/contributing/sponsor"
status = 301
[[redirects]]
from = "/app/content/*"
to = "/user-guide/content-module/content/:splat"
status = 301
[[redirects]]
from = "/app/users-roles-permissions.html"
to = "/user-guide/user-management/users-roles-permissions.html"
status = 301
[[redirects]]
from = "/getting-started/glossary.html"
to = "/user-guide/overview/glossary.html"
status = 301
[[redirects]]
from = "/app/activity-log.html"
to = "/user-guide/settings/activity-log.html"
status = 301
[[redirects]]
from = "/app/insights.html"
to = "/user-guide/insights/dashboards.html"
status = 301
[[redirects]]
from = "/app/file-library.html"
to = "/user-guide/file-library/files.html"
status = 301
[[redirects]]
from = "/app/project-settings.html"
to = "/user-guide/cloud/project-settings.html"
status = 301
[[redirects]]
from = "/app/content/shares.html"
to = "/user-guide/content-module/content/shares.html"
status = 301
[[redirects]]
from = "/app/user-directory.html"
to = "/user-guide/user-management/user-directory.html"
status = 301
[[redirects]]
from = "/cloud/*"
to = "/user-guide/cloud/:splat"
status = 301