Skip to content

Commit 7b8124a

Browse files
feat(docs,ci): enable docs build and publishing for the mainnet branch (ethereum#2775)
Co-authored-by: Sam Wilson <57262657+SamWilsn@users.noreply.github.com>
1 parent 2004296 commit 7b8124a

95 files changed

Lines changed: 2747 additions & 1659 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Setup uv and just
2+
description: Install uv, Python, and just for CI jobs
3+
inputs:
4+
python-version:
5+
description: Python version to install (e.g. "3.14", "pypy3.11")
6+
default: "3.13"
7+
enable-cache:
8+
description: Enable uv dependency cache
9+
default: "true"
10+
cache-dependency-glob:
11+
description: Glob for cache invalidation
12+
default: "uv.lock"
13+
runs:
14+
using: "composite"
15+
steps:
16+
- name: Install uv and python ${{ inputs.python-version }}
17+
uses: astral-sh/setup-uv@e06108dd0aef18192324c70427afc47652e63a82 # v7.5.0
18+
with:
19+
enable-cache: ${{ inputs.enable-cache }}
20+
cache-dependency-glob: ${{ inputs.cache-dependency-glob }}
21+
version: "0.10.4"
22+
python-version: ${{ inputs.python-version }}
23+
- name: Prefer uv-managed Python over system Python
24+
shell: bash
25+
run: echo "UV_PYTHON_PREFERENCE=only-managed" >> "$GITHUB_ENV"
26+
- name: Install just
27+
uses: taiki-e/install-action@e24b8b7a939c6a537188f34a4163cb153dd85cf6 # v2.69.1
28+
with:
29+
tool: just@1.46

.github/configs/docs-branches.yaml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Branches whose documentation is built and published to
2+
# steel.ethereum.foundation/docs/execution-specs/
3+
#
4+
# The `branches[]` list must stay in sync with steel-website's
5+
# `docs-config.yml`; a branch that publishes here but isn't listed there
6+
# is dispatched but dropped by the aggregator.
7+
#
8+
# Each entry defines:
9+
# - path: The branch name (must match the Git branch exactly)
10+
# - label: Human-readable label for the version switcher UI
11+
12+
branches:
13+
- path: "mainnet"
14+
label: "Mainnet (BPO2)"
15+
- path: "forks/amsterdam"
16+
label: "Amsterdam"
17+
- path: "devnets/bal/4"
18+
label: "bal-devnet-4"

0 commit comments

Comments
 (0)