Skip to content

Commit

Permalink
Merge pull request #1881 from EnterpriseDB/release/2021-09-24-a
Browse files Browse the repository at this point in the history
Release: 2021-09-24
  • Loading branch information
josh-heyer authored Sep 25, 2021
2 parents 8267ddb + 285f4de commit 5b806a9
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "Performing a Schema Assessment"
redirects:
- /migration_portal/3.0.1/04_mp_migrating_database/02_mp_schema_assessment/
- /migration_portal/3.1.0/04_mp_migrating_database/02_mp_schema_assessment/
- /migration_portal/3.2.0/04_mp_migrating_database/04_mp_data_migration/
- /migration_portal/3.2.0/04_mp_migrating_database/02_mp_schema_assessment/

legacyRedirectsGenerated:
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ title: "Schema Migration"
redirects:
- /migration_portal/3.0.1/04_mp_migrating_database/03_mp_schema_migration/
- /migration_portal/3.1.0/04_mp_migrating_database/03_mp_schema_migration/
- /migration_portal/3.2.0/04_mp_migrating_database/04_mp_data_migration/
- /migration_portal/3.2.0/04_mp_migrating_database/03_mp_schema_migration/

legacyRedirectsGenerated:
# This list is generated by a script. If you need add entries, use the `legacyRedirects` key.
Expand Down
2 changes: 0 additions & 2 deletions product_docs/docs/pglogical/3.7/subscriptions/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
navigation:
- subscriptions
- pglogical-writer
redirects:
- ../subscriptions
navTitle: Subscriptions
title: Subscription Overview
originalFilePath: subscriptions.md
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
redirects:
- ../pglogical-writer
- ../../pglogical-writer
navTitle: pglogical Writer
title: pglogical writer
originalFilePath: pglogical-writer.md
Expand Down
16 changes: 9 additions & 7 deletions scripts/source/pglogical.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
const path = require("path");
const fs = require("fs/promises");
const { read, write } = require("to-vfile");
const remarkParse = require("@mdx-js/mdx/node_modules/remark-parse");
const remarkParse = require("remark-parse");
const mdx = require("remark-mdx");
const unified = require("@mdx-js/mdx/node_modules/unified");
const unified = require("unified");
const remarkFrontmatter = require("remark-frontmatter");
const remarkStringify = require("remark-stringify");
const admonitions = require("remark-admonitions");
Expand Down Expand Up @@ -42,11 +42,13 @@ const basePath = path.resolve("temp_pglogical3/docs/");
{
if (subDest && !(subDest instanceof Array))
{
if (!subIndexFilename) subIndexFilename = subDest;
fileToMetadata[subDest] = {
...fileToMetadata[subDest],
redirects: ["../" + path.basename(subDest, ".md")]
};
if (!subIndexFilename)
subIndexFilename = subDest;
else
fileToMetadata[subDest] = {
...fileToMetadata[subDest],
redirects: ["../../" + path.basename(subDest, ".md")]
};
}
}
}
Expand Down

0 comments on commit 5b806a9

Please sign in to comment.