-
Notifications
You must be signed in to change notification settings - Fork 5.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Website: Migrate to vitepress #6518
Closed
Closed
Changes from 86 commits
Commits
Show all changes
96 commits
Select commit
Hold shift + click to select a range
ba438d9
Commit first version of vue-based rendering system
Pandapip1 7dcf0bc
Make more changes to try to get build to work
Pandapip1 3d90436
Commit some changes so far
Pandapip1 f47f5b3
More syntax highlighting fixes
Pandapip1 3f8d23a
Fix some package lock stuff
Pandapip1 8592b2a
Commit fixes
Pandapip1 776bb55
Fix citation format
Pandapip1 ef1c49a
Commit a lot of stuff. Not all of it is completely done.
Pandapip1 1bdd65f
Finished product!
Pandapip1 26a6216
Fix some rendering bugs
Pandapip1 e4c2dd2
Replace htmlproofer with build website
Pandapip1 9e1802e
Rename build website to htmlproofer so that CI passes
Pandapip1 f3d388f
Never mind, it'll need a manual merge anyway :laugh:
Pandapip1 a5a10c0
Really dum mistakes
Pandapip1 f55e1b4
Add caching
Pandapip1 68eee13
Fix subtle linking error
Pandapip1 e4eb72e
Remove extra newline
Pandapip1 ebdd4d1
Build fixed
Pandapip1 bcd205f
Fix bug with JD json
Pandapip1 44ada97
A crucial step missing
Pandapip1 1086bde
Fix some stuff related to meta
Pandapip1 2521ea4
Fix odd alignment issue
Pandapip1 10cc263
Fix random centering
Pandapip1 17f4cd6
Fix removal of centering
Pandapip1 bd6280f
Aesthetics: add linebreak before badges
Pandapip1 b719647
Even more aesthetics
Pandapip1 ea6296c
More aesthetics
Pandapip1 55c8bc2
Make a "minor" change (to all EIPs)
Pandapip1 5f97e28
Code review, RSS and Atom feeds, and a favicon
Pandapip1 656af5a
Commit changes so far (RSS filtering is broken)
Pandapip1 18d4ddc
Split date formatting into separate function
Pandapip1 e41e122
Somehow this fixes the rss + atom feeds
Pandapip1 6b44031
Fix typo in regex
Pandapip1 1e21a4a
Re-add final and living tags
Pandapip1 6ac6df9
Update EIP-5757: Move to living and update EIP-1 requirements
Pandapip1 6e4b80c
Merge branch 'use-vue' of https://github.com/Pandapip1/EIPs into use-vue
Pandapip1 8e0d821
Add vscode to gitignore
Pandapip1 137562a
Use rust syntax for regexes.
Pandapip1 fc35d50
Reusable listings
Pandapip1 071e7b9
Fix favicon and some other stuff
Pandapip1 aa35e2e
Fix some theming errors
Pandapip1 9c61e27
Merge branch 'ethereum:master' into use-vue
Pandapip1 a406030
Fix bug with Final label
Pandapip1 b0dd9f2
Merge branch 'use-vue' of https://github.com/Pandapip1/EIPs into use-vue
Pandapip1 3c30316
PWA + better modularity
Pandapip1 3525186
Force vitepress to copy all assets
Pandapip1 696783a
Fix assets directory not being copied
Pandapip1 bba5b7e
Fix missing image errors in manifest
Pandapip1 1deb0fe
Improve peer review message
Pandapip1 6d3c18e
Add finalized entry to preamble
Pandapip1 0b64994
Completely revamp front page
Pandapip1 bd633fe
Remove duplicate "home" link from navbar
Pandapip1 ccfdc90
Add fancy editor list
Pandapip1 96fc574
Fix typo in index
Pandapip1 f047b09
Split EIP rendering into separate files
Pandapip1 5e31784
Basic search functionality
Pandapip1 6d1d8e8
Better search
Pandapip1 69508b5
Screw it, I'm using google search
Pandapip1 faad519
Fix minor styling issue
Pandapip1 1e83b73
Hacky custom search bar
Pandapip1 defa1f2
Fix incorrect search terming
Pandapip1 b03fc03
Really *really* hacky search bar
Pandapip1 60237c6
Ah, forgot a critical step
Pandapip1 18d785c
Race condition
Pandapip1 27e260f
Finally fixed???
Pandapip1 0309b52
You asked for this, @SamWilsn
Pandapip1 b965c8c
This thing is a memory hog and a half wow
Pandapip1 04ada2e
Fix search?
Pandapip1 bc7bed5
Shockingly poor man's search
Pandapip1 419bfeb
I regret nothing now!
Pandapip1 68ec6d6
Merge branch 'master' into use-vue
Pandapip1 8ce5945
Fix search
Pandapip1 a4cdc9e
Fix another bug with the search widget
Pandapip1 5b364a2
Allow escaping in search queries
Pandapip1 f801112
Fix escaping logic
Pandapip1 49770d4
Some more bug fixes
Pandapip1 9750cd2
Improved search box
Pandapip1 3fdf783
Fix formatting
Pandapip1 a15db7a
Merge branch 'master' into use-vue
Pandapip1 e3392ab
Merge branch 'master' into use-vue
Pandapip1 946e2b4
@fulldecent -inspired filters
Pandapip1 4243df7
Merge branch 'master' into use-vue
Pandapip1 c243905
Patch to automatically fetch EIP from title
Pandapip1 5a3950c
Merge branch 'master' of https://github.com/ethereum/EIPs into use-vue
Pandapip1 7d8a6fd
Forgot to stage EIP-5252
Pandapip1 62b775a
Remove old RSS feeds
Pandapip1 bd8f7c1
Fix a typo
Pandapip1 b203327
Delete unused file
Pandapip1 a3d24e2
Merge branch 'master' of https://github.com/ethereum/EIPs into use-vue
Pandapip1 cc4dff5
Commit changes so far (currently broken)
Pandapip1 b41c938
Oops typo
Pandapip1 6d6f05a
Typo 2 electric boogaloo
Pandapip1 6ed7921
Fix EIP-107 (maybe that's the problem?)
Pandapip1 cb8e7b7
Speed up build a lot
Pandapip1 00e7916
Add additional checks
Pandapip1 67a6a88
Add additional optimization
Pandapip1 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
name: Deploy to GitHub Pages | ||
on: | ||
workflow_dispatch: | ||
inputs: | ||
branch: | ||
description: Branch to deploy | ||
required: true | ||
default: master | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
deploy: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
pages: write | ||
id-token: write | ||
environment: | ||
name: github-pages | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
steps: | ||
- name: Checkout EIPs Repository (workflow_dispatch) | ||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
if: github.event_name == 'workflow_dispatch' | ||
with: | ||
fetch-depth: 0 | ||
ref: ${{ github.event.inputs.branch }} | ||
- name: Checkout EIPs Repository (push) | ||
uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
if: github.event_name == 'push' | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup NodeJS | ||
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c | ||
with: | ||
node-version: 16 | ||
cache: npm | ||
- name: Install Packages | ||
run: npm ci | ||
- name: Restore Cached Data | ||
id: cache-vitepress-restore | ||
uses: actions/cache/restore@v3 | ||
with: | ||
path: .vitepress/cache | ||
key: vitepress-cache-v1 | ||
- name: Build Website | ||
run: | | ||
export NODE_ENV=production | ||
export NODE_OPTIONS=--max_old_space_size=6144 | ||
npm run build | ||
Pandapip1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- name: Configure GitHub Pages | ||
uses: actions/configure-pages@fc89b04e7d263ef510d9e77d3a1d088fb2688522 | ||
- name: Create GitHub Pages Artifact | ||
uses: actions/upload-pages-artifact@253fd476ed429e83b7aae64a92a75b4ceb1a17cf | ||
with: | ||
path: .vitepress/dist | ||
- name: Deploy to GitHub Pages | ||
id: deployment | ||
uses: actions/deploy-pages@0243b6c10d06cb8e95ed8ee471231877621202c0 | ||
- name: Cache Data | ||
uses: actions/cache/save@v3 | ||
with: | ||
path: .vitepress/cache | ||
key: vitepress-cache-v1 |
This file contains 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like you're turning off the "check links in the final rendered output" (
HTMLProofer
) check, so we'd be relying on the markdown link checker entirely. Is my understanding correct, and is that what we want?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, since we want to remove all ruby stuff. If you want, I can put in a new action that runs htmlproofer against the built website.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hm, I'm sure there's a better option than htmlproofer if we're moving away from Ruby.