From 58d98bbd36c106203407a468893d9a60d3f3e5e5 Mon Sep 17 00:00:00 2001 From: yoonhyejin <0327jane@gmail.com> Date: Thu, 29 Feb 2024 09:31:04 +0900 Subject: [PATCH 1/4] feat: archive versions before 0.12.0 --- docs-website/docusaurus.config.js | 10 ++++++++++ docs-website/versions.json | 4 +--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/docs-website/docusaurus.config.js b/docs-website/docusaurus.config.js index 423096544a2f0..cf80658535c54 100644 --- a/docs-website/docusaurus.config.js +++ b/docs-website/docusaurus.config.js @@ -114,6 +114,16 @@ module.exports = { type: "docsVersionDropdown", position: "left", dropdownActiveClassDisabled: true, + dropdownItemsAfter: [ + { + to: "https://docs-website-irpoe2osc-acryldata.vercel.app/docs/", + label: "0.11.0", + }, + { + to: "https://docs-website-1gv2yzn9d-acryldata.vercel.app/docs/", + label: "0.10.5", + }, + ], }, ], }, diff --git a/docs-website/versions.json b/docs-website/versions.json index a66607b67ddd5..725fc7457a698 100644 --- a/docs-website/versions.json +++ b/docs-website/versions.json @@ -1,5 +1,3 @@ [ - "0.12.0", - "0.11.0", - "0.10.5" + "0.12.0" ] From 870b1beaef88ee2b9e4cb63b3ba1240bcf299ee1 Mon Sep 17 00:00:00 2001 From: yoonhyejin <0327jane@gmail.com> Date: Thu, 29 Feb 2024 09:45:15 +0900 Subject: [PATCH 2/4] feat: set next as default version --- docs-website/docusaurus.config.js | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/docs-website/docusaurus.config.js b/docs-website/docusaurus.config.js index cf80658535c54..13fc48d390234 100644 --- a/docs-website/docusaurus.config.js +++ b/docs-website/docusaurus.config.js @@ -116,11 +116,11 @@ module.exports = { dropdownActiveClassDisabled: true, dropdownItemsAfter: [ { - to: "https://docs-website-irpoe2osc-acryldata.vercel.app/docs/", + href: "https://docs-website-irpoe2osc-acryldata.vercel.app/docs/", label: "0.11.0", }, { - to: "https://docs-website-1gv2yzn9d-acryldata.vercel.app/docs/", + href: "https://docs-website-1gv2yzn9d-acryldata.vercel.app/docs/", label: "0.10.5", }, ], @@ -220,6 +220,17 @@ module.exports = { "@docusaurus/preset-classic", { docs: { + lastVersion: "current", + versions: { + current: { + label: "Next", + banner: 'none', + }, + "0.12.0": { + label: "0.12.0", + banner: 'none', + }, + }, path: "genDocs", sidebarPath: require.resolve("./sidebars.js"), ...(!isSaas && { From 96d1984ef4bdf50eefac02e4f10c87090319ce67 Mon Sep 17 00:00:00 2001 From: yoonhyejin <0327jane@gmail.com> Date: Tue, 5 Mar 2024 09:45:32 +0900 Subject: [PATCH 3/4] fix: fix broken links in the next version --- docs-website/src/pages/docs/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs-website/src/pages/docs/index.js b/docs-website/src/pages/docs/index.js index 0edd07267b27e..11f1b3344a3d8 100644 --- a/docs-website/src/pages/docs/index.js +++ b/docs-website/src/pages/docs/index.js @@ -38,7 +38,7 @@ const deploymentGuideContent = [ { title: "Managed DataHub", platformIcon: "acryl", - to: "docs/saas", + to: "docs/managed-datahub/managed-datahub-overview", }, { title: "Docker", From 19da4cb8592d98107e3156741529be686f36a301 Mon Sep 17 00:00:00 2001 From: yoonhyejin <0327jane@gmail.com> Date: Tue, 5 Mar 2024 09:46:05 +0900 Subject: [PATCH 4/4] fix: fix broken links in the next version --- metadata-ingestion/scripts/docgen.py | 2 +- .../src/datahub/ingestion/source/identity/azure_ad.py | 2 +- .../src/datahub/ingestion/source/identity/okta.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/metadata-ingestion/scripts/docgen.py b/metadata-ingestion/scripts/docgen.py index 3e4595650d46a..10679ad770c45 100644 --- a/metadata-ingestion/scripts/docgen.py +++ b/metadata-ingestion/scripts/docgen.py @@ -1018,7 +1018,7 @@ def generate( - [Acryl Data introduces lineage support and automated propagation of governance information for Snowflake in DataHub](https://blog.datahubproject.io/acryl-data-introduces-lineage-support-and-automated-propagation-of-governance-information-for-339c99536561) - [Data in Context: Lineage Explorer in DataHub](https://blog.datahubproject.io/data-in-context-lineage-explorer-in-datahub-a53a9a476dc4) - [Harnessing the Power of Data Lineage with DataHub](https://blog.datahubproject.io/harnessing-the-power-of-data-lineage-with-datahub-ad086358dec4) -- [DataHub Lineage Impact Analysis](https://datahubproject.io/docs/next/act-on-metadata/impact-analysis) +- [DataHub Lineage Impact Analysis](../../act-on-metadata/impact-analysis.md) """) print("Lineage Documentation Generation Complete") diff --git a/metadata-ingestion/src/datahub/ingestion/source/identity/azure_ad.py b/metadata-ingestion/src/datahub/ingestion/source/identity/azure_ad.py index 5783304da5ef2..7e3ff7d4fb84c 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/identity/azure_ad.py +++ b/metadata-ingestion/src/datahub/ingestion/source/identity/azure_ad.py @@ -189,7 +189,7 @@ class AzureADSource(StatefulIngestionSourceBase): would like to take actions like adding them to a group or assigning them a role. For instructions on how to do configure Azure AD OIDC SSO, please read the documentation - [here](https://datahubproject.io/docs/authentication/guides/sso/configure-oidc-react-azure). + [here](../../../authentication/guides/sso/configure-oidc-react.md#create-an-application-registration-in-microsoft-azure-portal). ### Extracting DataHub Users diff --git a/metadata-ingestion/src/datahub/ingestion/source/identity/okta.py b/metadata-ingestion/src/datahub/ingestion/source/identity/okta.py index c9b0e4d7de467..c8a1ec580d012 100644 --- a/metadata-ingestion/src/datahub/ingestion/source/identity/okta.py +++ b/metadata-ingestion/src/datahub/ingestion/source/identity/okta.py @@ -215,7 +215,7 @@ class OktaSource(StatefulIngestionSourceBase): like to take actions like adding them to a group or assigning them a role. For instructions on how to do configure Okta OIDC SSO, please read the documentation - [here](https://datahubproject.io/docs/authentication/guides/sso/configure-oidc-react-okta). + [here](../../../authentication/guides/sso/configure-oidc-react.md#create-an-application-in-okta-developer-console). ### Extracting DataHub Users