Skip to content

Render hardfork page and proposal memberships#14

Open
ritorhymes wants to merge 4 commits into
eips-wg:masterfrom
ritovision:feature/hardforks-page
Open

Render hardfork page and proposal memberships#14
ritorhymes wants to merge 4 commits into
eips-wg:masterfrom
ritovision:feature/hardforks-page

Conversation

@ritorhymes

@ritorhymes ritorhymes commented May 10, 2026

Copy link
Copy Markdown

Built on top of the V2 multi-repo local build system tracked in eips-wg/preprocessor#15.
Prerequisite branch #25 Add taxonomy page descriptions

Summary

This PR is part of the hardfork/network-upgrade rollout tracked in eips-wg/preprocessor#35.

This renders the generated hardfork index at /hardforks/ and adds a Network Upgrade row to proposal pages when the preprocessor provides membership metadata.

The template uses generated URLs from front matter directly, so targeted builds can link omitted proposals to their public pages without per-row page lookups.

Demo site: wg-eips.ritovision.com/hardforks

Closes eips-wg/preprocessor#4
Closes eips-wg/preprocessor#3
Closes ethereum/EIPs#11036
Addressed in https://ethereum-magicians.org/t/add-optional-upgrade-field-to-standards-track-core-eips/27388

Changes

  • Add templates/hardforks.html for generated content/hardforks/_index.md data.
  • Render hardfork Meta EIP links, status, stages, member rows, subgroup labels, and empty hardfork states.
  • Add a proposal-page Network Upgrade preamble row from page.extra.network_upgrades.
  • Add the /hardforks/ navigation link.
  • Add focused styles for the hardfork page, stage sections, member tables, and proposal-page membership row.
  • Add demo fixture content for populated and empty hardfork entries.

Notes

This PR consumes generated data from the preprocessor rollout. It does not parse proposal markdown, infer hardfork membership, or look up proposal pages from member rows.

ritorhymes added 2 commits May 5, 2026 03:22
Render external requires entries as direct links without forcing Zola to
resolve them as local pages.

This supports targeted --only rendering, where cross-repo proposal
dependencies can be rewritten to external URLs instead of local pages.

Move the theme demo homepage badges into front matter, a homepage_badges
macro, and theme-owned styles so the demo homepage stays
markdown-friendly.

Declare Zola 0.22.1 as the minimum supported version, enable bottom
footnotes, and update markdown highlighting to the class-based config
with github-light/dark themes and ABNF/CSL-JSON grammars.
Add POSIX and PowerShell setup scripts for theme contributors that
reuse or install build-eips, ensure a supported Zola is available, and
bootstrap the surrounding workspace through an active proposal repo.

Document the theme local development workflow, including workspace
layout, setup flags, serve versus preview, server/base URL settings,
targeted rendering, and source/output overrides.

Keep this focused on setup and documentation; theme rendering behavior
continues to be owned by the earlier theme PR.
@ritorhymes ritorhymes marked this pull request as ready for review May 11, 2026 00:08
@ritorhymes ritorhymes force-pushed the feature/hardforks-page branch from 3690456 to 1500076 Compare May 11, 2026 02:03
Render configured taxonomy descriptions on taxonomy list and term pages.
Store the text beside the existing taxonomy metadata in config/zola.toml so
future taxonomy terms can add page copy without changing the templates.

Keep badge tooltip text unchanged. The new descriptions are visible page
intro text and can provide more detail than hover tooltips.
@ritorhymes ritorhymes force-pushed the feature/hardforks-page branch from 1500076 to 7452cbe Compare May 19, 2026 02:33
Render the generated hardfork index at /hardforks/ and add a Network
Upgrade row to proposal pages when the preprocessor provides membership
metadata.

Keep the hardfork page summary in the active Zola config under
section_descriptions so the template does not hardcode page copy.

Use the generated URLs from front matter directly so targeted builds can
link omitted proposals to their public pages without template lookups.
Add focused styles, navigation, and demo fixture content for populated
and empty hardfork entries.
@ritorhymes ritorhymes force-pushed the feature/hardforks-page branch from 7452cbe to 6547f1a Compare May 19, 2026 06:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

1 participant