Skip to content

Commit

Permalink
moving to versionless docs for besu (#1693)
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
  • Loading branch information
joshuafernandes authored Sep 22, 2024
1 parent 6e9d2d2 commit da6abeb
Show file tree
Hide file tree
Showing 896 changed files with 5 additions and 136,706 deletions.
36 changes: 5 additions & 31 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,28 +39,6 @@ const config = {
// Set a base path separate from default /docs
editUrl: "https://github.com/hyperledger/besu-docs/tree/main/",
path: "./docs",
includeCurrentVersion: true,
// Set to the last stable release
lastVersion: "24.9.1",
versions: {
//defaults to the ./docs folder
// using 'development' instead of 'next' as path
current: {
label: "development",
path: "development",
},
// The last stable release in the versioned_docs/version-stable
// STABLE-AUTOMATION-TOKEN. Don't remove this as this is used for version update automation
"24.9.1": {
label: "stable (24.9.1)",
},
"24.8.0": {
label: "24.8.0",
},
"24.7.1": {
label: "24.7.1",
}
},
routeBasePath: "/",
// @ts-ignore
// eslint-disable-next-line global-require
Expand All @@ -73,6 +51,7 @@ const config = {
],
showLastUpdateAuthor: false,
showLastUpdateTime: true,
includeCurrentVersion: true,
},
theme: {
customCss: require.resolve("./src/css/custom.css"),
Expand Down Expand Up @@ -128,11 +107,6 @@ const config = {
position: "left",
label: "Private networks",
},
{
type: "docsVersionDropdown",
position: "right",
dropdownActiveClassDisabled: true,
},
{
href: "/public-networks/chatbot",
className: "header-chatbot-link",
Expand Down Expand Up @@ -305,7 +279,7 @@ const config = {
redirects: [
{
from: ["/en/latest", "/en/development", "/latest", "/development"],
to: "/development/public-networks",
to: "/public-networks",
},
{
from: "/public-networks/concepts/the-merge",
Expand All @@ -331,9 +305,9 @@ const config = {
createRedirects(existingPath) {
if (existingPath.includes("/development")) {
return [
existingPath.replace("/development", "/en/development"),
existingPath.replace("/development", "/en/latest"),
existingPath.replace("/development", "/latest"),
existingPath.replace("/", "/en/development"),
existingPath.replace("/", "/en/latest"),
existingPath.replace("/", "/latest"),
];
}
if (existingPath.includes("/")) {
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed versioned_docs/version-24.7.1/assets/images/JWT.png
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Diff not rendered.
Loading

0 comments on commit da6abeb

Please sign in to comment.