diff --git a/.husky/.gitignore b/.husky/.gitignore new file mode 100644 index 00000000000..31354ec1389 --- /dev/null +++ b/.husky/.gitignore @@ -0,0 +1 @@ +_ diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 00000000000..470f973fd60 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,4 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +yarn pretty-quick --staged --pattern 'src/**/*.js' --pattern 'gatsby-*.js' diff --git a/advocacy_docs/supported-open-source/postgresql/installer/index.mdx b/advocacy_docs/supported-open-source/postgresql/installer/index.mdx index 19542aa4447..c7fc835c4eb 100644 --- a/advocacy_docs/supported-open-source/postgresql/installer/index.mdx +++ b/advocacy_docs/supported-open-source/postgresql/installer/index.mdx @@ -1,6 +1,8 @@ --- title: "EDB Installers" description: "The PostgreSQL installers created by EnterpriseDB are designed to make it quick and simple to install PostgreSQL on your computer." +legacyRedirects: + - "/edb-docs/d/postgresql/installation-getting-started/installation-guide/13.0/index.html" --- The PostgreSQL installers created by EnterpriseDB are designed to make it quick and simple to install PostgreSQL on your computer. The installer provides: diff --git a/gatsby-config.js b/gatsby-config.js index af345a7da4d..08d10bf7e4f 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -131,10 +131,6 @@ const indexQuery = ` /********** Gatsby config *********/ module.exports = { - flags: { - PRESERVE_WEBPACK_CACHE: true, - FAST_REFRESH: true, - }, pathPrefix: '/docs', siteMetadata: { title: 'EDB Docs', diff --git a/gatsby-node.js b/gatsby-node.js index d4747102f8f..e0d4d4b993b 100644 --- a/gatsby-node.js +++ b/gatsby-node.js @@ -340,7 +340,7 @@ const createAdvocacy = (navTree, prevNext, doc, learn, actions) => { ); } - const path = `${doc.fields.path}/${katacodaPage.scenario}`; + const path = `${doc.fields.path}${katacodaPage.scenario}`; actions.createPage({ path: path, component: require.resolve('./src/templates/katacoda-page.js'), diff --git a/package.json b/package.json index 928bf142fd1..7fad275c6bc 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "format": "prettier --write src/**/*.js gatsby-*.js", "build": "gatsby build --prefix-paths", "serve-build": "gatsby serve --prefix-paths", + "prepare": "husky install", "update-icons": "git submodule update --init --remote && node scripts/createIconTypes.js && node scripts/createIconNames.js", "build-pdf": "docker-compose -f docker/docker-compose.build-pdf.yaml run --rm --entrypoint scripts/pdf/generate_pdf.py pdf-builder", "build-all-pdfs": "for i in product_docs/docs/**/*/ ; do echo \"$i\"; yarn build-pdf ${i%} || exit 1; done", @@ -23,43 +24,37 @@ "heroku-postbuild": "gatsby build", "build-legacy-redirects-nginx": "gatsby clean && gatsby build --prefix-paths && python3 scripts/legacy_redirects/clean_up_output.py" }, - "husky": { - "hooks": { - "pre-commit": "pretty-quick --staged --pattern 'src/**/*.js' --pattern 'gatsby-*.js'" - } - }, "dependencies": { "@mdx-js/mdx": "^1.6.1", "@mdx-js/react": "^1.6.1", "algoliasearch": "^4.2.0", "balance-text": "^3.3.0", - "bl": "4.0.3", + "bl": "4.1.0", "bootstrap": "4.6.0", - "gatsby": "^2.31.1", - "gatsby-cli": "^2.12.93", - "gatsby-image": "^2.4.1", - "gatsby-plugin-algolia": "^0.16.3", - "gatsby-plugin-catch-links": "^2.6.0", + "gatsby": "^3.1.0", + "gatsby-cli": "^3.1.0", + "gatsby-plugin-algolia": "^0.17.0", + "gatsby-plugin-catch-links": "^3.0.0", "gatsby-plugin-google-fonts": "^1.0.1", - "gatsby-plugin-google-tagmanager": "^2.10.0", - "gatsby-plugin-manifest": "^2.4.10", - "gatsby-plugin-mdx": "^1.2.6", + "gatsby-plugin-google-tagmanager": "^3.0.0", + "gatsby-plugin-manifest": "^3.0.0", + "gatsby-plugin-mdx": "^2.0.1", "gatsby-plugin-meta-redirect": "^1.1.1", - "gatsby-plugin-netlify": "^2.3.13", + "gatsby-plugin-netlify": "^3.0.1", "gatsby-plugin-nginx-redirect": "^0.0.11", - "gatsby-plugin-react-helmet": "^3.3.1", + "gatsby-plugin-react-helmet": "^4.0.0", "gatsby-plugin-react-svg": "^3.0.0", "gatsby-plugin-remove-fingerprints": "^0.0.2", - "gatsby-plugin-sass": "^3.1.0", - "gatsby-plugin-sharp": "^2.13.2", - "gatsby-plugin-sitemap": "^2.4.13", - "gatsby-remark-autolink-headers": "^2.3.1", - "gatsby-remark-images": "^3.10.0", - "gatsby-remark-prismjs": "^3.5.4", - "gatsby-source-filesystem": "^2.3.1", - "gatsby-transformer-json": "^2.4.3", - "gatsby-transformer-remark": "^2.8.15", - "gatsby-transformer-sharp": "^2.5.1", + "gatsby-plugin-sass": "^4.0.2", + "gatsby-plugin-sharp": "^3.0.1", + "gatsby-plugin-sitemap": "^3.0.0", + "gatsby-remark-autolink-headers": "^3.0.0", + "gatsby-remark-images": "4.0.0", + "gatsby-remark-prismjs": "^4.0.0", + "gatsby-source-filesystem": "^3.0.0", + "gatsby-transformer-json": "^3.0.0", + "gatsby-transformer-remark": "^3.0.0", + "gatsby-transformer-sharp": "^3.0.0", "graceful-fs": "^4.2.4", "is-absolute-url": "^3.0.3", "markdown-to-jsx": "^7.0.0", @@ -77,7 +72,7 @@ "fast-glob": "^3.2.5", "hast-util-is-element": "^1.1.0", "hast-util-to-text": "^2.0.1", - "husky": "^4.3.5", + "husky": "^5.1.3", "prettier": "^2.2.1", "pretty-quick": "^3.1.0", "react-refresh": "^0.9.0", @@ -88,6 +83,7 @@ "remark-frontmatter": "^2.0.0", "remark-mdx": "^1.6.22", "remark-stringify": "^8.1.1", + "semver-compare": "^1.0.0", "to-vfile": "^6.1.0", "typescript": "^4.1.3" }, diff --git a/product_docs/docs/ark/3.5/ark_v3.5_documentation.pdf b/product_docs/docs/ark/3.5/ark_v3.5_documentation.pdf index 8ed489e450c..e14c847a73d 100644 Binary files a/product_docs/docs/ark/3.5/ark_v3.5_documentation.pdf and b/product_docs/docs/ark/3.5/ark_v3.5_documentation.pdf differ diff --git a/product_docs/docs/bart/2.4/bart_v2.4_documentation.pdf b/product_docs/docs/bart/2.4/bart_v2.4_documentation.pdf index e2555a821e6..4ed05384da7 100644 Binary files a/product_docs/docs/bart/2.4/bart_v2.4_documentation.pdf and b/product_docs/docs/bart/2.4/bart_v2.4_documentation.pdf differ diff --git a/product_docs/docs/bart/2.5.1/bart_v2.5.1_documentation.pdf b/product_docs/docs/bart/2.5.1/bart_v2.5.1_documentation.pdf index 8b5059fda45..70cb1d6b879 100644 Binary files a/product_docs/docs/bart/2.5.1/bart_v2.5.1_documentation.pdf and b/product_docs/docs/bart/2.5.1/bart_v2.5.1_documentation.pdf differ diff --git a/product_docs/docs/bart/2.5.2/bart_v2.5.2_documentation.pdf b/product_docs/docs/bart/2.5.2/bart_v2.5.2_documentation.pdf index 592237339e0..f96126e2d28 100644 Binary files a/product_docs/docs/bart/2.5.2/bart_v2.5.2_documentation.pdf and b/product_docs/docs/bart/2.5.2/bart_v2.5.2_documentation.pdf differ diff --git a/product_docs/docs/bart/2.5.3/bart_v2.5.3_documentation.pdf b/product_docs/docs/bart/2.5.3/bart_v2.5.3_documentation.pdf index 03fcedd70e4..99636cc3525 100644 Binary files a/product_docs/docs/bart/2.5.3/bart_v2.5.3_documentation.pdf and b/product_docs/docs/bart/2.5.3/bart_v2.5.3_documentation.pdf differ diff --git a/product_docs/docs/bart/2.5.4/bart_v2.5.4_documentation.pdf b/product_docs/docs/bart/2.5.4/bart_v2.5.4_documentation.pdf index cff15af8952..d73c594cecf 100644 Binary files a/product_docs/docs/bart/2.5.4/bart_v2.5.4_documentation.pdf and b/product_docs/docs/bart/2.5.4/bart_v2.5.4_documentation.pdf differ diff --git a/product_docs/docs/bart/2.5.5/bart_v2.5.5_documentation.pdf b/product_docs/docs/bart/2.5.5/bart_v2.5.5_documentation.pdf index b6bcf2173c2..c2d4185c1fd 100644 Binary files a/product_docs/docs/bart/2.5.5/bart_v2.5.5_documentation.pdf and b/product_docs/docs/bart/2.5.5/bart_v2.5.5_documentation.pdf differ diff --git a/product_docs/docs/bart/2.5.7/bart_v2.5.7_documentation.pdf b/product_docs/docs/bart/2.5.7/bart_v2.5.7_documentation.pdf index c5f6deb126c..e09add83565 100644 Binary files a/product_docs/docs/bart/2.5.7/bart_v2.5.7_documentation.pdf and b/product_docs/docs/bart/2.5.7/bart_v2.5.7_documentation.pdf differ diff --git a/product_docs/docs/bart/2.6.1/bart_v2.6.1_documentation.pdf b/product_docs/docs/bart/2.6.1/bart_v2.6.1_documentation.pdf index 8732e3aaa69..3b0c36a887f 100644 Binary files a/product_docs/docs/bart/2.6.1/bart_v2.6.1_documentation.pdf and b/product_docs/docs/bart/2.6.1/bart_v2.6.1_documentation.pdf differ diff --git a/product_docs/docs/bart/2.6/bart_v2.6_documentation.pdf b/product_docs/docs/bart/2.6/bart_v2.6_documentation.pdf index ef573b71e44..ede2655a25d 100644 Binary files a/product_docs/docs/bart/2.6/bart_v2.6_documentation.pdf and b/product_docs/docs/bart/2.6/bart_v2.6_documentation.pdf differ diff --git a/product_docs/docs/efm/3.10/efm_v3.10_documentation.pdf b/product_docs/docs/efm/3.10/efm_v3.10_documentation.pdf index 23648c9def2..b6a852f8bfc 100644 Binary files a/product_docs/docs/efm/3.10/efm_v3.10_documentation.pdf and b/product_docs/docs/efm/3.10/efm_v3.10_documentation.pdf differ diff --git a/product_docs/docs/efm/3.5/efm_v3.5_documentation.pdf b/product_docs/docs/efm/3.5/efm_v3.5_documentation.pdf index 026a377785d..0e85bd55817 100644 Binary files a/product_docs/docs/efm/3.5/efm_v3.5_documentation.pdf and b/product_docs/docs/efm/3.5/efm_v3.5_documentation.pdf differ diff --git a/product_docs/docs/efm/3.6/efm_v3.6_documentation.pdf b/product_docs/docs/efm/3.6/efm_v3.6_documentation.pdf index fd58740fc67..8fb7ee56ea7 100644 Binary files a/product_docs/docs/efm/3.6/efm_v3.6_documentation.pdf and b/product_docs/docs/efm/3.6/efm_v3.6_documentation.pdf differ diff --git a/product_docs/docs/efm/3.7/efm_v3.7_documentation.pdf b/product_docs/docs/efm/3.7/efm_v3.7_documentation.pdf index 192df6f2f18..5c4092c5d3e 100644 Binary files a/product_docs/docs/efm/3.7/efm_v3.7_documentation.pdf and b/product_docs/docs/efm/3.7/efm_v3.7_documentation.pdf differ diff --git a/product_docs/docs/efm/3.8/efm_v3.8_documentation.pdf b/product_docs/docs/efm/3.8/efm_v3.8_documentation.pdf index 1afca9c25db..0fca5279b7c 100644 Binary files a/product_docs/docs/efm/3.8/efm_v3.8_documentation.pdf and b/product_docs/docs/efm/3.8/efm_v3.8_documentation.pdf differ diff --git a/product_docs/docs/efm/3.9/efm_v3.9_documentation.pdf b/product_docs/docs/efm/3.9/efm_v3.9_documentation.pdf index 29364eac509..824d8c04427 100644 Binary files a/product_docs/docs/efm/3.9/efm_v3.9_documentation.pdf and b/product_docs/docs/efm/3.9/efm_v3.9_documentation.pdf differ diff --git a/product_docs/docs/efm/4.0/efm_v4.0_documentation.pdf b/product_docs/docs/efm/4.0/efm_v4.0_documentation.pdf index c8a7b6c188d..1650a346563 100644 Binary files a/product_docs/docs/efm/4.0/efm_v4.0_documentation.pdf and b/product_docs/docs/efm/4.0/efm_v4.0_documentation.pdf differ diff --git a/product_docs/docs/efm/4.1/efm_v4.1_documentation.pdf b/product_docs/docs/efm/4.1/efm_v4.1_documentation.pdf index a5402dc6069..31b4a257a83 100644 Binary files a/product_docs/docs/efm/4.1/efm_v4.1_documentation.pdf and b/product_docs/docs/efm/4.1/efm_v4.1_documentation.pdf differ diff --git a/product_docs/docs/epas/10/epas_v10_documentation.pdf b/product_docs/docs/epas/10/epas_v10_documentation.pdf index a911dc37e74..9be2208bad6 100644 Binary files a/product_docs/docs/epas/10/epas_v10_documentation.pdf and b/product_docs/docs/epas/10/epas_v10_documentation.pdf differ diff --git a/product_docs/docs/epas/11/epas_v11_documentation.pdf b/product_docs/docs/epas/11/epas_v11_documentation.pdf index 7bc302c278c..9091d55cd50 100644 Binary files a/product_docs/docs/epas/11/epas_v11_documentation.pdf and b/product_docs/docs/epas/11/epas_v11_documentation.pdf differ diff --git a/product_docs/docs/epas/12/epas_v12_documentation.pdf b/product_docs/docs/epas/12/epas_v12_documentation.pdf index 64fd7b8e5a0..8be0206c3a7 100644 Binary files a/product_docs/docs/epas/12/epas_v12_documentation.pdf and b/product_docs/docs/epas/12/epas_v12_documentation.pdf differ diff --git a/product_docs/docs/epas/13/epas_v13_documentation.pdf b/product_docs/docs/epas/13/epas_v13_documentation.pdf index eb7b5564449..6eb19c12dc5 100644 Binary files a/product_docs/docs/epas/13/epas_v13_documentation.pdf and b/product_docs/docs/epas/13/epas_v13_documentation.pdf differ diff --git a/product_docs/docs/epas/9.5/epas_v9.5_documentation.pdf b/product_docs/docs/epas/9.5/epas_v9.5_documentation.pdf index 4cf80325960..057d51610ec 100644 Binary files a/product_docs/docs/epas/9.5/epas_v9.5_documentation.pdf and b/product_docs/docs/epas/9.5/epas_v9.5_documentation.pdf differ diff --git a/product_docs/docs/epas/9.6/epas_v9.6_documentation.pdf b/product_docs/docs/epas/9.6/epas_v9.6_documentation.pdf index 107845ca6fe..f0d990870b8 100644 Binary files a/product_docs/docs/epas/9.6/epas_v9.6_documentation.pdf and b/product_docs/docs/epas/9.6/epas_v9.6_documentation.pdf differ diff --git a/product_docs/docs/hadoop_data_adapter/2.0.5/hadoop_data_adapter_v2.0.5_documentation.pdf b/product_docs/docs/hadoop_data_adapter/2.0.5/hadoop_data_adapter_v2.0.5_documentation.pdf index d36bcfe45d8..3f2c9a307e1 100644 Binary files a/product_docs/docs/hadoop_data_adapter/2.0.5/hadoop_data_adapter_v2.0.5_documentation.pdf and b/product_docs/docs/hadoop_data_adapter/2.0.5/hadoop_data_adapter_v2.0.5_documentation.pdf differ diff --git a/product_docs/docs/hadoop_data_adapter/2.0.7/hadoop_data_adapter_v2.0.7_documentation.pdf b/product_docs/docs/hadoop_data_adapter/2.0.7/hadoop_data_adapter_v2.0.7_documentation.pdf index c64aafca0a4..e658066ac91 100644 Binary files a/product_docs/docs/hadoop_data_adapter/2.0.7/hadoop_data_adapter_v2.0.7_documentation.pdf and b/product_docs/docs/hadoop_data_adapter/2.0.7/hadoop_data_adapter_v2.0.7_documentation.pdf differ diff --git a/product_docs/docs/hadoop_data_adapter/2.0/hadoop_data_adapter_v2.0_documentation.pdf b/product_docs/docs/hadoop_data_adapter/2.0/hadoop_data_adapter_v2.0_documentation.pdf index 2670eae04c6..7d7be3220b4 100644 Binary files a/product_docs/docs/hadoop_data_adapter/2.0/hadoop_data_adapter_v2.0_documentation.pdf and b/product_docs/docs/hadoop_data_adapter/2.0/hadoop_data_adapter_v2.0_documentation.pdf differ diff --git a/product_docs/docs/jdbc_connector/42.2.12.1/jdbc_connector_v42.2.12.1_documentation.pdf b/product_docs/docs/jdbc_connector/42.2.12.1/jdbc_connector_v42.2.12.1_documentation.pdf index 86be790a469..2a9907d518c 100644 Binary files a/product_docs/docs/jdbc_connector/42.2.12.1/jdbc_connector_v42.2.12.1_documentation.pdf and b/product_docs/docs/jdbc_connector/42.2.12.1/jdbc_connector_v42.2.12.1_documentation.pdf differ diff --git a/product_docs/docs/jdbc_connector/42.2.12.3/jdbc_connector_v42.2.12.3_documentation.pdf b/product_docs/docs/jdbc_connector/42.2.12.3/jdbc_connector_v42.2.12.3_documentation.pdf index e0df4dcf3f4..6c7b6ac75ae 100644 Binary files a/product_docs/docs/jdbc_connector/42.2.12.3/jdbc_connector_v42.2.12.3_documentation.pdf and b/product_docs/docs/jdbc_connector/42.2.12.3/jdbc_connector_v42.2.12.3_documentation.pdf differ diff --git a/product_docs/docs/jdbc_connector/42.2.8.1/jdbc_connector_v42.2.8.1_documentation.pdf b/product_docs/docs/jdbc_connector/42.2.8.1/jdbc_connector_v42.2.8.1_documentation.pdf index c8d4165ada7..3c8d3a09e9b 100644 Binary files a/product_docs/docs/jdbc_connector/42.2.8.1/jdbc_connector_v42.2.8.1_documentation.pdf and b/product_docs/docs/jdbc_connector/42.2.8.1/jdbc_connector_v42.2.8.1_documentation.pdf differ diff --git a/product_docs/docs/jdbc_connector/42.2.9.1/jdbc_connector_v42.2.9.1_documentation.pdf b/product_docs/docs/jdbc_connector/42.2.9.1/jdbc_connector_v42.2.9.1_documentation.pdf index c407ba09ee8..8e5a551be8c 100644 Binary files a/product_docs/docs/jdbc_connector/42.2.9.1/jdbc_connector_v42.2.9.1_documentation.pdf and b/product_docs/docs/jdbc_connector/42.2.9.1/jdbc_connector_v42.2.9.1_documentation.pdf differ diff --git a/product_docs/docs/migration_portal/3.0.1/migration_portal_v3.0.1_documentation.pdf b/product_docs/docs/migration_portal/3.0.1/migration_portal_v3.0.1_documentation.pdf index ffb2743b5e4..4288752562d 100644 Binary files a/product_docs/docs/migration_portal/3.0.1/migration_portal_v3.0.1_documentation.pdf and b/product_docs/docs/migration_portal/3.0.1/migration_portal_v3.0.1_documentation.pdf differ diff --git a/product_docs/docs/migration_toolkit/53.0.1/migration_toolkit_v53.0.1_documentation.pdf b/product_docs/docs/migration_toolkit/53.0.1/migration_toolkit_v53.0.1_documentation.pdf index 818cc57fa6f..ad6b84b619f 100644 Binary files a/product_docs/docs/migration_toolkit/53.0.1/migration_toolkit_v53.0.1_documentation.pdf and b/product_docs/docs/migration_toolkit/53.0.1/migration_toolkit_v53.0.1_documentation.pdf differ diff --git a/product_docs/docs/migration_toolkit/53.0.2/migration_toolkit_v53.0.2_documentation.pdf b/product_docs/docs/migration_toolkit/53.0.2/migration_toolkit_v53.0.2_documentation.pdf index 723873aa001..9e11acd7a95 100644 Binary files a/product_docs/docs/migration_toolkit/53.0.2/migration_toolkit_v53.0.2_documentation.pdf and b/product_docs/docs/migration_toolkit/53.0.2/migration_toolkit_v53.0.2_documentation.pdf differ diff --git a/product_docs/docs/migration_toolkit/54.0.0/migration_toolkit_v54.0.0_documentation.pdf b/product_docs/docs/migration_toolkit/54.0.0/migration_toolkit_v54.0.0_documentation.pdf index 3042c79b9b4..16d8e8d0137 100644 Binary files a/product_docs/docs/migration_toolkit/54.0.0/migration_toolkit_v54.0.0_documentation.pdf and b/product_docs/docs/migration_toolkit/54.0.0/migration_toolkit_v54.0.0_documentation.pdf differ diff --git a/product_docs/docs/mongo_data_adapter/5.2.8/mongo_data_adapter_v5.2.8_documentation.pdf b/product_docs/docs/mongo_data_adapter/5.2.8/mongo_data_adapter_v5.2.8_documentation.pdf index 4c922c7bd37..622f917321d 100644 Binary files a/product_docs/docs/mongo_data_adapter/5.2.8/mongo_data_adapter_v5.2.8_documentation.pdf and b/product_docs/docs/mongo_data_adapter/5.2.8/mongo_data_adapter_v5.2.8_documentation.pdf differ diff --git a/product_docs/docs/mysql_data_adapter/2.5.5/mysql_data_adapter_v2.5.5_documentation.pdf b/product_docs/docs/mysql_data_adapter/2.5.5/mysql_data_adapter_v2.5.5_documentation.pdf index 87aec8a19e7..d60abbd814e 100644 Binary files a/product_docs/docs/mysql_data_adapter/2.5.5/mysql_data_adapter_v2.5.5_documentation.pdf and b/product_docs/docs/mysql_data_adapter/2.5.5/mysql_data_adapter_v2.5.5_documentation.pdf differ diff --git a/product_docs/docs/net_connector/4.0.10.1/net_connector_v4.0.10.1_documentation.pdf b/product_docs/docs/net_connector/4.0.10.1/net_connector_v4.0.10.1_documentation.pdf index f3f0abbbffc..f143de7f123 100644 Binary files a/product_docs/docs/net_connector/4.0.10.1/net_connector_v4.0.10.1_documentation.pdf and b/product_docs/docs/net_connector/4.0.10.1/net_connector_v4.0.10.1_documentation.pdf differ diff --git a/product_docs/docs/net_connector/4.0.10.2/net_connector_v4.0.10.2_documentation.pdf b/product_docs/docs/net_connector/4.0.10.2/net_connector_v4.0.10.2_documentation.pdf index 427591e1847..6cf47900ac6 100644 Binary files a/product_docs/docs/net_connector/4.0.10.2/net_connector_v4.0.10.2_documentation.pdf and b/product_docs/docs/net_connector/4.0.10.2/net_connector_v4.0.10.2_documentation.pdf differ diff --git a/product_docs/docs/net_connector/4.0.6.1/net_connector_v4.0.6.1_documentation.pdf b/product_docs/docs/net_connector/4.0.6.1/net_connector_v4.0.6.1_documentation.pdf index c663f9b4081..5fa1fd5d937 100644 Binary files a/product_docs/docs/net_connector/4.0.6.1/net_connector_v4.0.6.1_documentation.pdf and b/product_docs/docs/net_connector/4.0.6.1/net_connector_v4.0.6.1_documentation.pdf differ diff --git a/product_docs/docs/net_connector/4.1.3.1/net_connector_v4.1.3.1_documentation.pdf b/product_docs/docs/net_connector/4.1.3.1/net_connector_v4.1.3.1_documentation.pdf index 45195281f1d..2adbcbfe82e 100644 Binary files a/product_docs/docs/net_connector/4.1.3.1/net_connector_v4.1.3.1_documentation.pdf and b/product_docs/docs/net_connector/4.1.3.1/net_connector_v4.1.3.1_documentation.pdf differ diff --git a/product_docs/docs/net_connector/4.1.5.1/net_connector_v4.1.5.1_documentation.pdf b/product_docs/docs/net_connector/4.1.5.1/net_connector_v4.1.5.1_documentation.pdf index c07fc3437d8..7f2ecf27d7a 100644 Binary files a/product_docs/docs/net_connector/4.1.5.1/net_connector_v4.1.5.1_documentation.pdf and b/product_docs/docs/net_connector/4.1.5.1/net_connector_v4.1.5.1_documentation.pdf differ diff --git a/product_docs/docs/net_connector/4.1.6.1/net_connector_v4.1.6.1_documentation.pdf b/product_docs/docs/net_connector/4.1.6.1/net_connector_v4.1.6.1_documentation.pdf index e5bdf98bb3f..1de25b90f22 100644 Binary files a/product_docs/docs/net_connector/4.1.6.1/net_connector_v4.1.6.1_documentation.pdf and b/product_docs/docs/net_connector/4.1.6.1/net_connector_v4.1.6.1_documentation.pdf differ diff --git a/product_docs/docs/ocl_connector/12.1.2.1/ocl_connector_v12.1.2.1_documentation.pdf b/product_docs/docs/ocl_connector/12.1.2.1/ocl_connector_v12.1.2.1_documentation.pdf index 1177f60416d..f4cd28677e0 100644 Binary files a/product_docs/docs/ocl_connector/12.1.2.1/ocl_connector_v12.1.2.1_documentation.pdf and b/product_docs/docs/ocl_connector/12.1.2.1/ocl_connector_v12.1.2.1_documentation.pdf differ diff --git a/product_docs/docs/ocl_connector/13.1.4.1/ocl_connector_v13.1.4.1_documentation.pdf b/product_docs/docs/ocl_connector/13.1.4.1/ocl_connector_v13.1.4.1_documentation.pdf index 446b2915a36..5cd1caa0c02 100644 Binary files a/product_docs/docs/ocl_connector/13.1.4.1/ocl_connector_v13.1.4.1_documentation.pdf and b/product_docs/docs/ocl_connector/13.1.4.1/ocl_connector_v13.1.4.1_documentation.pdf differ diff --git a/product_docs/docs/ocl_connector/13.1.4.2/ocl_connector_v13.1.4.2_documentation.pdf b/product_docs/docs/ocl_connector/13.1.4.2/ocl_connector_v13.1.4.2_documentation.pdf index 5ebce7fed38..1bec18d2a7c 100644 Binary files a/product_docs/docs/ocl_connector/13.1.4.2/ocl_connector_v13.1.4.2_documentation.pdf and b/product_docs/docs/ocl_connector/13.1.4.2/ocl_connector_v13.1.4.2_documentation.pdf differ diff --git a/product_docs/docs/odbc_connector/12.0.0.1/odbc_connector_v12.0.0.1_documentation.pdf b/product_docs/docs/odbc_connector/12.0.0.1/odbc_connector_v12.0.0.1_documentation.pdf index bedfa85cb90..05803dcabed 100644 Binary files a/product_docs/docs/odbc_connector/12.0.0.1/odbc_connector_v12.0.0.1_documentation.pdf and b/product_docs/docs/odbc_connector/12.0.0.1/odbc_connector_v12.0.0.1_documentation.pdf differ diff --git a/product_docs/docs/odbc_connector/12.0.0.2/odbc_connector_v12.0.0.2_documentation.pdf b/product_docs/docs/odbc_connector/12.0.0.2/odbc_connector_v12.0.0.2_documentation.pdf index 3b96033149d..a1f8ca88f76 100644 Binary files a/product_docs/docs/odbc_connector/12.0.0.2/odbc_connector_v12.0.0.2_documentation.pdf and b/product_docs/docs/odbc_connector/12.0.0.2/odbc_connector_v12.0.0.2_documentation.pdf differ diff --git a/product_docs/docs/odbc_connector/12.2.0.1/odbc_connector_v12.2.0.1_documentation.pdf b/product_docs/docs/odbc_connector/12.2.0.1/odbc_connector_v12.2.0.1_documentation.pdf index a2a482643cc..89938ce7d5f 100644 Binary files a/product_docs/docs/odbc_connector/12.2.0.1/odbc_connector_v12.2.0.1_documentation.pdf and b/product_docs/docs/odbc_connector/12.2.0.1/odbc_connector_v12.2.0.1_documentation.pdf differ diff --git a/product_docs/docs/odbc_connector/12.2.0.2/odbc_connector_v12.2.0.2_documentation.pdf b/product_docs/docs/odbc_connector/12.2.0.2/odbc_connector_v12.2.0.2_documentation.pdf index b8e0d0c3437..4136791c703 100644 Binary files a/product_docs/docs/odbc_connector/12.2.0.2/odbc_connector_v12.2.0.2_documentation.pdf and b/product_docs/docs/odbc_connector/12.2.0.2/odbc_connector_v12.2.0.2_documentation.pdf differ diff --git a/product_docs/docs/pem/7.10/pem_v7.10_documentation.pdf b/product_docs/docs/pem/7.10/pem_v7.10_documentation.pdf index fbda4d97ffe..012697ff323 100644 Binary files a/product_docs/docs/pem/7.10/pem_v7.10_documentation.pdf and b/product_docs/docs/pem/7.10/pem_v7.10_documentation.pdf differ diff --git a/product_docs/docs/pem/7.11/pem_v7.11_documentation.pdf b/product_docs/docs/pem/7.11/pem_v7.11_documentation.pdf index b8788e8ff98..ef07ea6286e 100644 Binary files a/product_docs/docs/pem/7.11/pem_v7.11_documentation.pdf and b/product_docs/docs/pem/7.11/pem_v7.11_documentation.pdf differ diff --git a/product_docs/docs/pem/7.12/pem_v7.12_documentation.pdf b/product_docs/docs/pem/7.12/pem_v7.12_documentation.pdf index 4ffa1a920c3..eea5ba9f80d 100644 Binary files a/product_docs/docs/pem/7.12/pem_v7.12_documentation.pdf and b/product_docs/docs/pem/7.12/pem_v7.12_documentation.pdf differ diff --git a/product_docs/docs/pem/7.13/pem_v7.13_documentation.pdf b/product_docs/docs/pem/7.13/pem_v7.13_documentation.pdf index a62c60e9780..0c72dd10719 100644 Binary files a/product_docs/docs/pem/7.13/pem_v7.13_documentation.pdf and b/product_docs/docs/pem/7.13/pem_v7.13_documentation.pdf differ diff --git a/product_docs/docs/pem/7.14/pem_v7.14_documentation.pdf b/product_docs/docs/pem/7.14/pem_v7.14_documentation.pdf index 7f16f69a1ca..6dd8e143e64 100644 Binary files a/product_docs/docs/pem/7.14/pem_v7.14_documentation.pdf and b/product_docs/docs/pem/7.14/pem_v7.14_documentation.pdf differ diff --git a/product_docs/docs/pem/7.15/pem_v7.15_documentation.pdf b/product_docs/docs/pem/7.15/pem_v7.15_documentation.pdf index 33f3fc2ca29..adcb16ccaf0 100644 Binary files a/product_docs/docs/pem/7.15/pem_v7.15_documentation.pdf and b/product_docs/docs/pem/7.15/pem_v7.15_documentation.pdf differ diff --git a/product_docs/docs/pem/7.16/pem_v7.16_documentation.pdf b/product_docs/docs/pem/7.16/pem_v7.16_documentation.pdf index dbe6224dc08..25bddaa9943 100644 Binary files a/product_docs/docs/pem/7.16/pem_v7.16_documentation.pdf and b/product_docs/docs/pem/7.16/pem_v7.16_documentation.pdf differ diff --git a/product_docs/docs/pem/7.6/pem_v7.6_documentation.pdf b/product_docs/docs/pem/7.6/pem_v7.6_documentation.pdf index 2a2f2f275e4..f968b9e3093 100644 Binary files a/product_docs/docs/pem/7.6/pem_v7.6_documentation.pdf and b/product_docs/docs/pem/7.6/pem_v7.6_documentation.pdf differ diff --git a/product_docs/docs/pem/7.7/pem_v7.7_documentation.pdf b/product_docs/docs/pem/7.7/pem_v7.7_documentation.pdf index a5e32c27192..245d94fc547 100644 Binary files a/product_docs/docs/pem/7.7/pem_v7.7_documentation.pdf and b/product_docs/docs/pem/7.7/pem_v7.7_documentation.pdf differ diff --git a/product_docs/docs/pem/7.8/pem_v7.8_documentation.pdf b/product_docs/docs/pem/7.8/pem_v7.8_documentation.pdf index 434065d87b7..9dfe1dc95e9 100644 Binary files a/product_docs/docs/pem/7.8/pem_v7.8_documentation.pdf and b/product_docs/docs/pem/7.8/pem_v7.8_documentation.pdf differ diff --git a/product_docs/docs/pem/7.9/pem_v7.9_documentation.pdf b/product_docs/docs/pem/7.9/pem_v7.9_documentation.pdf index 3f9dc180f42..727babbc98b 100644 Binary files a/product_docs/docs/pem/7.9/pem_v7.9_documentation.pdf and b/product_docs/docs/pem/7.9/pem_v7.9_documentation.pdf differ diff --git a/product_docs/docs/pem/8.0.1/pem_v8.0.1_documentation.pdf b/product_docs/docs/pem/8.0.1/pem_v8.0.1_documentation.pdf index 2171b6fab55..45d3739f395 100644 Binary files a/product_docs/docs/pem/8.0.1/pem_v8.0.1_documentation.pdf and b/product_docs/docs/pem/8.0.1/pem_v8.0.1_documentation.pdf differ diff --git a/product_docs/docs/pem/8.0/pem_v8.0_documentation.pdf b/product_docs/docs/pem/8.0/pem_v8.0_documentation.pdf index 630284d2cfe..a6f7472fb3f 100644 Binary files a/product_docs/docs/pem/8.0/pem_v8.0_documentation.pdf and b/product_docs/docs/pem/8.0/pem_v8.0_documentation.pdf differ diff --git a/product_docs/docs/pgbouncer/1.0/index.mdx b/product_docs/docs/pgbouncer/1.0/index.mdx index 459a4d868af..430f53c929d 100644 --- a/product_docs/docs/pgbouncer/1.0/index.mdx +++ b/product_docs/docs/pgbouncer/1.0/index.mdx @@ -21,20 +21,5 @@ EnterpriseDB enhancements for the PgBouncer project are available via RPM Packag For more information about PgBouncer, including reference and usage information, please visit the [PgBouncer project site](https://www.pgbouncer.org). -
- -
- !!! Note - -
- If you are using the pdf version of this document, using cut/paste to copy command may result in extra spaces or carriage returns in the pasted command. If a command fails, check the command carefully for additional characters. - -
- -
- -installation configuration\_and\_usage uninstallation conclusion - -
diff --git a/product_docs/docs/pgbouncer/1.0/pgbouncer_v1.0_documentation.pdf b/product_docs/docs/pgbouncer/1.0/pgbouncer_v1.0_documentation.pdf index b0dd4a1221c..bd422d5b0ac 100644 Binary files a/product_docs/docs/pgbouncer/1.0/pgbouncer_v1.0_documentation.pdf and b/product_docs/docs/pgbouncer/1.0/pgbouncer_v1.0_documentation.pdf differ diff --git a/product_docs/docs/pgpool/1.0/pgpool_v1.0_documentation.pdf b/product_docs/docs/pgpool/1.0/pgpool_v1.0_documentation.pdf index 7e11bd3e98c..24d625bb5a4 100644 Binary files a/product_docs/docs/pgpool/1.0/pgpool_v1.0_documentation.pdf and b/product_docs/docs/pgpool/1.0/pgpool_v1.0_documentation.pdf differ diff --git a/product_docs/docs/postgis/1.0/postgis_v1.0_documentation.pdf b/product_docs/docs/postgis/1.0/postgis_v1.0_documentation.pdf index fd9e07c45f6..8fc88fc9383 100644 Binary files a/product_docs/docs/postgis/1.0/postgis_v1.0_documentation.pdf and b/product_docs/docs/postgis/1.0/postgis_v1.0_documentation.pdf differ diff --git a/product_docs/docs/slony/1.0/slony_v1.0_documentation.pdf b/product_docs/docs/slony/1.0/slony_v1.0_documentation.pdf index 6e906bc1805..144ee02acd7 100644 Binary files a/product_docs/docs/slony/1.0/slony_v1.0_documentation.pdf and b/product_docs/docs/slony/1.0/slony_v1.0_documentation.pdf differ diff --git a/scripts/createIconNames.js b/scripts/createIconNames.js index ff3ddebb9b1..48c693709b9 100644 --- a/scripts/createIconNames.js +++ b/scripts/createIconNames.js @@ -10,9 +10,10 @@ const toScreamingSnakeCase = (string) => string.replace(/-/g, '_').toUpperCase() const icons = readdirSync('static/edb-icons').filter(isSVG).map(removeExtension); const IconNamesContent = [ - 'export default {', + 'const iconNames = {', icons.map((icon) => ` ${toScreamingSnakeCase(icon)}: '${toSingleLowerCase(icon)}',`).join('\n'), - '};\n', + '};', + 'export default iconNames;\n', ].join('\n'); writeFileSync(`src/components/icon/iconNames.js`, IconNamesContent); diff --git a/scripts/normalize/lib/note-rerewriter.js b/scripts/normalize/lib/note-rerewriter.js deleted file mode 100644 index 771069ac3f8..00000000000 --- a/scripts/normalize/lib/note-rerewriter.js +++ /dev/null @@ -1,82 +0,0 @@ -// Rewrite the converted RST notes to Admonitions - -const visit = require('unist-util-visit') -const mdast2string = require('mdast-util-to-string') -const squeeze = require('mdast-squeeze-paragraphs') - -function noteReRewriter() { - const compiler = this.Compiler; - if (compiler?.prototype?.visitors) - attachCompiler(compiler); - - return (tree, file) => { - visit(tree, ["blockquote", "paragraph"], (node, index, parent) => { - if (node.type === "paragraph" && parent.type === "blockquote") return; - - const {titleNode, titleParent} = extractNoteTitle(node); - if (!titleNode) return; - - let children = node.children; - trimChildren({children}); - while (!mdast2string({children}).trim() && index+1 < parent.children.length) - { - children = [parent.children[index+1]]; - parent.children.splice(index+1, 1); - trimChildren({children}); - } - - // wrap in paragraph if splitting a paragraph - if (titleParent === node) - { - children = [{ - type: "paragraph", - children, - }]; - } - - squeeze({children}); - - const replacement = { - type: "admonition", - keyword: "note", - children, - }; - parent.children.splice(index, 1, replacement); - }); - }; - - function trimChildren(parent) - { - while (parent.children?.length && !parent.children[0]?.value) - parent = parent.children[0]; - if (parent.children.length) - parent.children[0].value = parent.children[0].value.replace(/^[ :]+/, ''); - } - - function extractNoteTitle(parent) - { - while (parent.children?.length && !(parent.children[0]?.type === "strong" && /^ *note:? *$/i.test(mdast2string(parent.children[0])))) - parent = parent.children[0]; - return { - titleNode: parent.children?.splice(0,1)[0], - titleParent: parent - }; - } - - function attachCompiler(compiler) - { - const proto = compiler.prototype; - - proto.visitors = Object.assign({}, proto.visitors, { - "admonition": stringify, - }); - } - - function stringify(node) - { - const lines = this.block(node).split('\n'); - return "!!! Note\n" + lines.map(l => l.length ? " " + l : l).join('\n'); - } -} - -module.exports = noteReRewriter; \ No newline at end of file diff --git a/scripts/normalize/lib/note-rewriter.js b/scripts/normalize/lib/note-rewriter.js index 8051287a9fa..a78d9184a72 100644 --- a/scripts/normalize/lib/note-rewriter.js +++ b/scripts/normalize/lib/note-rewriter.js @@ -1,4 +1,4 @@ -// Rewrite the not-very-well-converted RST alerts to markdown quotes with titles in bold +// Rewrite the not-very-well-converted RST alerts to admonitions const visit = require('unist-util-visit') const mdast2string = require('mdast-util-to-string') @@ -21,10 +21,19 @@ function transformer(tree, file) { }); replacement = { - type: "blockquote", + type: "admonition", + keyword: "Note", + quoted: false, + "indentSize": 4, children: [ - { type: "strong", children: [{type: 'text', value: mdast2string({children: title}) + ':'}], }, - ...node.children.filter(node => !node.type.startsWith("jsx")), + { + type: "admonition-heading", + children: [{ type: "text", value: mdast2string({children: title})}] + }, + { + type: "admonition-content", + children: node.children.filter(node => !node.type.startsWith("jsx")), + }, ], }; }); diff --git a/scripts/normalize/lib/relativelinks.js b/scripts/normalize/lib/relativelinks.js index dec18f584d7..d3992500932 100644 --- a/scripts/normalize/lib/relativelinks.js +++ b/scripts/normalize/lib/relativelinks.js @@ -130,7 +130,7 @@ const index = { keyId: (id) => { - return '#' + slugger.slug(id.replace(/^[^#]*#+/, '') + return '#' + slugger.slug(decodeURIComponent(id.replace(/^[^#]*#+/, '')) .replace(/[_-]/g, "") .replace(/\s+/g, "")) .toLowerCase(); diff --git a/scripts/normalize/lib/strip-image-alt.js b/scripts/normalize/lib/strip-image-alt.js new file mode 100644 index 00000000000..09ec091ecd3 --- /dev/null +++ b/scripts/normalize/lib/strip-image-alt.js @@ -0,0 +1,11 @@ +const visit = require('unist-util-visit') +const mdast2string = require('mdast-util-to-string') + +module.exports = () => transformer; + +function transformer(tree, file) { + + visit(tree, "image", (node, index, parent) => { + node.alt = node.alt.replace(/^ ?\*|\* ?$/g, ''); + }); +} \ No newline at end of file diff --git a/scripts/normalize/markdown.js b/scripts/normalize/markdown.js index 6ce91ac5622..2b028413caa 100644 --- a/scripts/normalize/markdown.js +++ b/scripts/normalize/markdown.js @@ -13,10 +13,12 @@ const remarkMdxEmbeddedHast = require('./lib/mast-embedded-hast') const {linkTargetIndexer, relativeLinkRewriter, index} = require('./lib/relativelinks') const remarkStringify = require('remark-stringify') const noEscapeImageAlt = require('./lib/no-escape-image-alt') +//const stripImageAlt = require('./lib/strip-image-alt') const tableFormatter = require('./lib/table-formatter') const {docs1LinkRewriter, linkStats} = require('./lib/docs1-link-rewriter') -const noteRewriter = require('./lib/note-rerewriter.js') +const noteRewriter = require('./lib/note-rewriter.js') const codeInTables = require('../../src/plugins/code-in-tables.js') +const admonitions = require('remark-admonitions') ;(async () => { @@ -33,6 +35,7 @@ example: const parser = unified() .use(remarkParse) + .use(admonitions, { tag: '!!!', icons: 'none', infima: true }) .use(mdx) .use(remarkFrontmatter) const indexing = unified() @@ -45,13 +48,15 @@ example: .use(relativeLinkRewriter) .use(tableFormatter) .use(codeInTables) - .use(docs1LinkRewriter); + .use(docs1LinkRewriter) +// .use(stripImageAlt) const compiler = unified() .use(remarkParse) .use(remarkStringify, {emphasis: '*', bullet: '-', fences: true}) .use(mdx) .use(remarkFrontmatter) .use(remarkMdxEmbeddedHast) + .use(admonitions, { tag: '!!!', icons: 'none', infima: true }) .use(noteRewriter) .use(codeInTables) .use(noEscapeImageAlt) diff --git a/src/components/back-button.js b/src/components/back-button.js index 34a9988a364..d060c8d57a6 100644 --- a/src/components/back-button.js +++ b/src/components/back-button.js @@ -2,31 +2,18 @@ import React from 'react'; import { Link } from './'; import Icon, { iconNames } from './icon/'; -const BackButton = ({ path, currentPath }) => { - let url = path; - if (!url && currentPath) { - const splitPath = currentPath.split('/'); - url = - splitPath.length > 4 - ? splitPath.slice(0, splitPath.length - 2).join('/') + '/' - : '/'; - } else if (!url) { - url = '/'; - } - - return ( -
  • - - - Back - -
  • - ); -}; +const BackButton = () => ( +
  • + + + Back + +
  • +); export default BackButton; diff --git a/src/components/icon/iconNames.js b/src/components/icon/iconNames.js index d029d501073..a0378a5d2d2 100644 --- a/src/components/icon/iconNames.js +++ b/src/components/icon/iconNames.js @@ -1,4 +1,4 @@ -export default { +const iconNames = { ALERT: 'alert', ANGULARJS_COLOR: 'angularjscolor', ANNOUNCE: 'announce', @@ -183,3 +183,4 @@ export default { WEBINAR: 'webinar', WINDOWS_COLOR: 'windowscolor', }; +export default iconNames; diff --git a/src/components/left-nav.js b/src/components/left-nav.js index 8c46a0030e1..2bea7626851 100644 --- a/src/components/left-nav.js +++ b/src/components/left-nav.js @@ -71,7 +71,7 @@ const LeftNav = ({ }) => { return (