Skip to content

Commit d89f016

Browse files
add netlify.toml to relational-migrator
1 parent 12c993d commit d89f016

File tree

2 files changed

+12
-28
lines changed

2 files changed

+12
-28
lines changed
Lines changed: 10 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,11 @@
1-
[[integrations]]
2-
name = "snooty-cache-plugin"
3-
41
[build]
5-
publish = "snooty/public"
6-
command = ". ./build.sh"
7-
8-
# Redirect calculated fields to new drawer introduced in DOCSP-32370 - Field Customizations
9-
# Field Customization
10-
[[redirects]]
11-
from = "/mapping-rules/calculated-fields/*"
12-
to = "/mapping-rules/fields/calculated-fields/:splat"
13-
14-
# Redirect for previous Code Generation Page DOCSP-33055 - Prep Code Generation
15-
[[redirects]]
16-
from = "/code-generation/code-generation"
17-
to = "/code-generation"
18-
19-
# DOCS-16498 Getting Started Page Start
20-
[[redirects]]
21-
from = "/migration-scenarios"
22-
to = "/getting-started/migration-scenarios"
23-
24-
[[redirects]]
25-
from = "/supported-databases"
26-
to = "/getting-started/supported-databases"
27-
2+
publish = "dist"
3+
base = "content/relational-migrator"
4+
5+
[build.environment]
6+
REPO_NAME = docs-relational-migrator
7+
SECRETS_SCAN_ENABLED = "false"
8+
OFFLINE_SNOOTY_ENABLED = "false"
9+
SEARCH_MANIFEST_ENABLED = "false"
10+
MUT_COMMANDS_ENABLED = "false"
11+
REDOC_ENABLED = "false"

platform/template.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Template toml file for new monorepo projects
1+
## Template Netlify toml file for new monorepo projects
22

33
# 1. Create a netlify.toml file at the root of your new project subdirectory
44
# 2. Copy the contents of this file into new netlify.toml file.
@@ -9,7 +9,7 @@
99
base = "content/<directory name>"
1010

1111
[build.environment]
12-
REPO_NAME = "<name of project that corresponds to repoName field in respective Atlas db entry>"
12+
REPO_NAME ="<name of project that corresponds to repoName field in respective Atlas db entry. Usually is "docs-<directory-name>"
1313
SECRETS_SCAN_ENABLED = "false"
1414
OFFLINE_SNOOTY_ENABLED = "false"
1515
SEARCH_MANIFEST_ENABLED = "false"

0 commit comments

Comments
 (0)