Skip to content

Commit

Permalink
Refreshing website content from main repo.
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Action Website Snapshot committed Nov 8, 2024
1 parent 75ac853 commit c861808
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,13 @@ const config = {
docs: {
sidebarPath: require.resolve('./sidebars.js'),
exclude: ['**/partials/**'],
editUrl:
'https://github.com/OpenLineage/OpenLineage/tree/main/website/',
editUrl: ({versionDocsDirPath, docPath, version}) => {
if (version === 'current') {
return `https://github.com/OpenLineage/OpenLineage/tree/main/website/docs/${docPath}`;
} else {
return `https://github.com/OpenLineage/openlineage-site/tree/main/${versionDocsDirPath}/${docPath}`;
}
}
},
theme: {
customCss: require.resolve('./src/css/custom.css'),
Expand Down

0 comments on commit c861808

Please sign in to comment.