Skip to content

Commit ecff09c

Browse files
authored
Merge pull request #1 from flashbots/main
update
2 parents 8f31f48 + 884fee8 commit ecff09c

File tree

111 files changed

+5805
-5100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+5805
-5100
lines changed
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
name: Check for broken links (cron)
2+
3+
on:
4+
workflow_dispatch:
5+
schedule:
6+
- cron: '0 10 * * *'
7+
8+
jobs:
9+
check-for-broken-links:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: '16.x'
15+
- run: npm install -g linkinator
16+
- run: linkinator https://docs.flashbots.net --recurse --timeout 3000 --concurrency 10 --retry -s https://dune.com/ChainsightAnalytics,'https://.*etherscan.io/tx.*','https://twitter.com.*','https://.*imgur.com.*'

.github/workflows/pr-tests.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
name: PR Tests
22

3-
on:
3+
on:
4+
push:
5+
branches:
6+
- main
47
pull_request:
5-
branches: "staging"
68

79
jobs:
8-
build:
9-
if: github.event_name != 'push'
10+
build-and-check:
1011
runs-on: ubuntu-latest
1112
steps:
1213
- uses: actions/checkout@v1
1314
- uses: actions/setup-node@v1
1415
with:
15-
node-version: '12.x'
16-
- name: Test Build
16+
node-version: '16.x'
17+
- name: Test build
1718
env:
18-
TARGET_URL: "http://not-docs.flashbots.net"
19-
BASE_URL: "/docs/"
19+
TARGET_URL: "https://docs.flashbots.net"
20+
BASE_URL: "/"
2021
run: |
21-
if [ -e yarn.lock ]; then
2222
yarn install --frozen-lockfile
23-
elif [ -e package-lock.json ]; then
24-
npm ci
25-
else
26-
npm i
27-
fi
28-
npm run build
23+
yarn build
24+
- name: Check for broken links
25+
run: |
26+
cd build
27+
npm install -g linkinator
28+
linkinator "**/*.html" --recurse --timeout 3000 --concurrency 10 --retry -s https://dune.com/ChainsightAnalytics,'https://.*etherscan.io/.*','https://twitter.com.*','https://.*imgur.com.*'

.github/workflows/production-deploy.yml

Lines changed: 0 additions & 59 deletions
This file was deleted.

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v16.14.2

README.md

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,17 @@
11
# Website
22

3-
This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.
3+
This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.
44

55
## Installation
66

7+
Use Node.js v18+
8+
9+
Note: if you want to install the node packages from within a Docker container (recommended for security), then you can start it like this:
10+
11+
```sh
12+
docker run -p 3000:3000 --rm -it -w /mnt -v $(pwd):/mnt node:18 /bin/bash
13+
```
14+
715
First create a copy of the environment file `.env.template` in the root of the codebase and rename it to `.env`
816

917
Then run the following:
@@ -18,7 +26,9 @@ yarn install
1826
yarn start
1927
```
2028

21-
This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.
29+
This command starts a local development server (and may open up a browser window). Some changes are reflected live without having to restart the server.
30+
31+
You can open the local docs at [http://localhost:3000/docs](http://localhost:3000/docs)
2232

2333
## Build
2434

@@ -30,8 +40,6 @@ This command generates static content into the `build` directory and can be serv
3040

3141
## Deployment
3242

33-
```console
34-
GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
35-
```
43+
Create a PR and once merged, Github actions automatically deploy it.
3644

37-
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
45+
The docs use Vercel for hosting, and deployment is done by Vercel on any merge into the master branch.

docs/cheatsheet.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: docs cheatsheet
2+
title: Docs Cheatsheet
33
---
44
import Tabs from '@theme/Tabs';
55
import TabItem from '@theme/TabItem';

docs/code-of-conduct.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: code of conduct
2+
title: Code of Conduct
33
---
44

55
At Flashbots we contribute with the larger free software community to illuminate the dark forest.

docs/community-tools.mdx

Lines changed: 21 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: community tools
2+
title: Community Tools
33
---
44

55
### [Flashbots Bundle Explorer](http://flashbots-explorer.marto.lol/)
@@ -8,10 +8,26 @@ title: community tools
88
- Search by block number
99
- Shareable permalinks (e.g. https://flashbots-explorer.marto.lol/?block=12506647)
1010

11-
[![Flashbots Bundle Explorer](/img/bundle-explorer.png)](http://flashbots-explorer.marto.lol/)
11+
### [Mevboost.org](https://www.mevboost.org/)
1212

13-
### [flashbots.tools](https://flashbots.tools/)
13+
- Dashboard tracking the top relayers and builders of MEV-Boost.
1414

15-
Simple frontend to interface with https://github.com/flashbots
15+
### [MEV-Boost Dashboard](https://dune.com/ChainsightAnalytics/mev-after-ethereum-merge)
1616

17-
![Flashbots Tools](/img/flashbots-tools.png)
17+
- Overview of MEV-Boost adoption and profitability of proposers and block builders.
18+
19+
### [mevboost.pics](https://mevboost.pics/)
20+
21+
- Interactive dashboard of the MEV-Boost relay and builder markets.
22+
23+
### [MEV Watch](https://www.mevwatch.info/)
24+
25+
- Visualization of the number of blocks proposed by MEV-Boost relays excluding certain transactions compared to content agnostic relays.
26+
27+
### [Relay Monitor by Metrika](https://app.metrika.co/dashboard/ethereum/relay-monitor/north-america-east?tr=1d)
28+
29+
- Monitor the bids, blocks and latency of MEV-Boost Relays.
30+
31+
### [Rated Network](https://www.rated.network/?network=mainnet&view=pool&timeWindow=1d&page=1)
32+
33+
- Information about validators, pools, relays, etc.

docs/contribution-guide.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: docs contribution guide
2+
title: Docs Contribution Guide
33
---
44
Thank you for your interest in adding to our knowledge base!
55

@@ -27,7 +27,7 @@ We've created a simple cheatsheet file with examples of every heading, code bloc
2727
- the render bot will comment a link on your PR others can use to look at the version of the staging-docs website with your PR implemented [eg.](https://github.com/flashbots/docs/pull/23)
2828

2929
**Step 4:** Changes to staging branch (PRs) are reviewed and merged by *docs* admins
30-
- after review, PRs are merged to the staging branch and your changes are now deployed live to the [staging docs website](https://docs-staging.flashbots.net/)
30+
- after review, PRs are merged to the staging branch and your changes are now deployed live to the staging docs website
3131

3232
**Step 5:** Once enough changes have been collected/time is right, staging branch is merged into main branch by *docs* admins
3333
- changes are now deployed live to the [docs website](https://docs.flashbots.net/)

docs/flashbots-auction/other-resources.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
title: other resources
2+
title: Other Resources
33
---
44

55
Remember you can ask any questions in the [#🐣newcomers or #🤖searchers](https://discord.com/invite/7hvTycdNcK) channel on our Discord, or in one of the Self Support Groups on [our forum](https://collective.flashbots.net/).

0 commit comments

Comments
 (0)