Render hardfork page and proposal memberships#14
Open
ritorhymes wants to merge 4 commits into
Open
Conversation
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.
3690456 to
1500076
Compare
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.
1500076 to
7452cbe
Compare
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.
7452cbe to
6547f1a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 aNetwork Upgraderow 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
templates/hardforks.htmlfor generatedcontent/hardforks/_index.mddata.Network Upgradepreamble row frompage.extra.network_upgrades./hardforks/navigation link.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.