Skip to content

Commit

Permalink
docs: archive old version before 0.12.0 & fix broken links (datahub-p…
Browse files Browse the repository at this point in the history
…roject#9957)

Co-authored-by: Harshal Sheth <[email protected]>
  • Loading branch information
yoonhyejin and hsheth2 authored Mar 5, 2024
1 parent 9dd0c37 commit 67406aa
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 7 deletions.
21 changes: 21 additions & 0 deletions docs-website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@ module.exports = {
type: "docsVersionDropdown",
position: "left",
dropdownActiveClassDisabled: true,
dropdownItemsAfter: [
{
href: "https://docs-website-irpoe2osc-acryldata.vercel.app/docs/",
label: "0.11.0",
},
{
href: "https://docs-website-1gv2yzn9d-acryldata.vercel.app/docs/",
label: "0.10.5",
},
],
},
],
},
Expand Down Expand Up @@ -210,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 && {
Expand Down
2 changes: 1 addition & 1 deletion docs-website/src/pages/docs/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const deploymentGuideContent = [
{
title: "Managed DataHub",
platformIcon: "acryl",
to: "docs/saas",
to: "docs/managed-datahub/managed-datahub-overview",
},
{
title: "Docker",
Expand Down
4 changes: 1 addition & 3 deletions docs-website/versions.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
[
"0.12.0",
"0.11.0",
"0.10.5"
"0.12.0"
]
2 changes: 1 addition & 1 deletion metadata-ingestion/scripts/docgen.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 67406aa

Please sign in to comment.