Skip to content

Commit

Permalink
removing redundant versions
Browse files Browse the repository at this point in the history
Signed-off-by: Joshua Fernandes <joshua.fernandes@consensys.net>
  • Loading branch information
joshuafernandes committed Dec 20, 2023
1 parent 4419cb8 commit 0c469b3
Show file tree
Hide file tree
Showing 1,477 changed files with 6,974 additions and 200,528 deletions.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,35 @@ The doc site is hosted at [`besu.hyperledger.org`](https://besu.hyperledger.org)

If you're looking for the software source code, go to the [Besu software repository](https://github.com/hyperledger/besu).

## Versions of docs and how to host previous versions

At present, we tag every version (including patch) in the repository but we only display [three versions of the docs for the most recent minor versions](https://discord.com/channels/905194001349627914/905205502940696607/1179912405216669828) in the `versioned_docs` folder. eg: `23.10.2, 23.7.3 and 23.4.1` In addition we also maintain the in flight `development` version in the `docs` folder.

In order to build or host a specific version eg `23.7.1`
1. Clone this repo and checkout the tag
```
git@github.com:hyperledger/besu-docs.git
git checkout 23.7.1
```

2. Build and run locally
```
yarn
yarn run start
```
Open up a browser tab and navigate to `http://localhost:3000/development`

3. (Optional) host this version on your own infrastructure (eg: nginx, s3 etc)
```
yarn
yarn run build
# optional - this is to check the output locally
yarn run serve
```
Host the contents of the `build` folder on your own infrastructure


### Contribute to the docs

See the [documentation section in the Hyperledger Besu wiki](https://wiki.hyperledger.org/display/BESU/Documentation)
Expand Down
17 changes: 1 addition & 16 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,27 +49,12 @@ const config = {
"23.10.2": {
label: "stable (23.10.2)",
},
"23.10.1": {
label: "23.10.1",
},
"23.10.0": {
label: "23.10.0",
},
"23.7.3": {
label: "23.7.3",
},
"23.7.2": {
label: "23.7.2",
},
"23.7.1": {
label: "23.7.1",
},
"23.4.1": {
label: "23.4.1",
},
"23.4.0": {
label: "23.4.0",
},
}

Check failure on line 57 in docusaurus.config.js

View workflow job for this annotation

GitHub Actions / Build and lint / Lint

Insert `,`
},
routeBasePath: "/",
// @ts-ignore
Expand Down
4,260 changes: 4,257 additions & 3 deletions package-lock.json

Large diffs are not rendered by default.

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.
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 0c469b3

Please sign in to comment.