Skip to content

Commit

Permalink
Merge pull request #1641 from pascalbreuninger/feat/ENG-3187-version-…
Browse files Browse the repository at this point in the history
…legacy-docs

DO NOT MERGE feat(docs): add version dropdown to link to new docs and mark current as legacy
  • Loading branch information
pascalbreuninger authored Apr 18, 2024
2 parents 0907680 + 9b0fe31 commit ce4b5fd
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,14 @@ module.exports = {
target: "_self",
},
items: [
{
type: "docsVersionDropdown",
position: "left",
dropdownItemsAfter: [
{ to: "https://vcluster.com/docs", label: "Latest" },
],
dropdownActiveClassDisabled: true,
},
{
href: "https://vcluster.com/",
label: "Website",
Expand Down Expand Up @@ -75,6 +83,11 @@ module.exports = {
routeBasePath: "/",
sidebarPath: require.resolve("./sidebars.js"),
editUrl: "https://github.com/loft-sh/vcluster/edit/main/docs/",
versions: {
current: {
label: "Legacy",
},
},
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
Expand Down

0 comments on commit ce4b5fd

Please sign in to comment.