Skip to content

Commit

Permalink
d3: remove as many broken things as possible (#4800)
Browse files Browse the repository at this point in the history
* temp: remove docLayoutComponent setting

* temp: remove old versions

* temp: remove broken theme components

* d3: remove configuration for older versions
  • Loading branch information
pepopowitz authored Dec 19, 2024
1 parent b0c4972 commit 6d5ef83
Show file tree
Hide file tree
Showing 9 changed files with 36 additions and 36 deletions.
44 changes: 22 additions & 22 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,18 +49,18 @@ module.exports = {
"3.14.0": {
label: "8.6 / 3.14.0",
},
"3.13.0": {
label: "8.5 / 3.13.0",
banner: "none",
},
"3.12.0": {
label: "8.4 / 3.12.0",
banner: "none",
},
"3.11.0": {
label: "8.3 / 3.11.0",
banner: "none",
},
// "3.13.0": {
// label: "8.5 / 3.13.0",
// banner: "none",
// },
// "3.12.0": {
// label: "8.4 / 3.12.0",
// banner: "none",
// },
// "3.11.0": {
// label: "8.3 / 3.11.0",
// banner: "none",
// },
},
},
],
Expand Down Expand Up @@ -398,17 +398,17 @@ module.exports = {
beforeDefaultRemarkPlugins: [versionedLinks],
// 👋 When cutting a new version, remove the banner for maintained versions by adding an entry. Remove the entry to versions >18 months old.
versions: {
8.5: {
banner: "none",
},
8.4: {
banner: "none",
},
8.3: {
banner: "none",
},
// 8.5: {
// banner: "none",
// },
// 8.4: {
// banner: "none",
// },
// 8.3: {
// banner: "none",
// },
},
docLayoutComponent: "@theme/DocPage",
// docLayoutComponent: "@theme/DocPage",
docItemComponent: "@theme/ApiItem",
},
blog: false,
Expand Down
2 changes: 1 addition & 1 deletion optimize_versions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["3.14.0", "3.13.0", "3.12.0", "3.11.0"]
["3.14.0"]
File renamed without changes.
File renamed without changes.
File renamed without changes.
24 changes: 12 additions & 12 deletions src/versions.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ const versionMappings = [
docsVersion: "8.6",
optimizeVersion: "3.14.0",
},
{
docsVersion: "8.5",
optimizeVersion: "3.13.0",
},
{
docsVersion: "8.4",
optimizeVersion: "3.12.0",
},
{
docsVersion: "8.3",
optimizeVersion: "3.11.0",
},
// {
// docsVersion: "8.5",
// optimizeVersion: "3.13.0",
// },
// {
// docsVersion: "8.4",
// optimizeVersion: "3.12.0",
// },
// {
// docsVersion: "8.3",
// optimizeVersion: "3.11.0",
// },
];

/** @type {Array<UnsupportedVersion>} */
Expand Down
2 changes: 1 addition & 1 deletion versions.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
["8.6", "8.5", "8.4", "8.3"]
["8.6"]

0 comments on commit 6d5ef83

Please sign in to comment.