-
Notifications
You must be signed in to change notification settings - Fork 372
fix(docs): Add workflows and tox envs for building docs #1659
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
Open
Carsons-Eels
wants to merge
37
commits into
ethereum:forks/osaka
Choose a base branch
from
Carsons-Eels:add_docs_workflows_toxEnvs
base: forks/osaka
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
7e70891
chore: add workflows and tox envs for building docs
Carsons-Eels c8727b2
fix(tests): fix-up path in checklist plugin post-weld
danceratopz 4009a37
chore: fix typo
Carsons-Eels 049dbc1
chore: ignore site dir for docs build, fix path issue
Carsons-Eels 3ce975a
chore: remove old configs from tox
Carsons-Eels a6d270a
chore: fix rest of added eest tox jobs
Carsons-Eels e48e5ed
chore: consolidate spellcheck
Carsons-Eels ab77db7
chore: add whitelist tool to tox
Carsons-Eels 0ea92bd
chore: fix markdownlint
Carsons-Eels a82e387
fix: fix paths for doc generation
Carsons-Eels c5ada59
refactor: change import to avoid noqa
Carsons-Eels 46695cb
chore(docs): rename files under docs/library/
danceratopz 01be063
fix(docs): fix imports in gen_test_case_reference
danceratopz 29416fb
fix(docs): update mkdocstrings ::: directives for package renaming
danceratopz 9747538
chore: update package links and code for package renaming
danceratopz 5de6160
chore: more package and source path fixes for package renaming
danceratopz c70bd2c
chore: migrate whitelist to ethereum_spec_tools; update md and tox
Carsons-Eels b98bb2f
chore: fix paths in workflows, move whitelist to ethereum_spec_tools
Carsons-Eels 6b018e2
chore: fix naming of workflow
Carsons-Eels 1ee62ae
chore: final whitelist update
Carsons-Eels 56bfcc4
chore: upgrade whitelist to add whitelist file location detection
Carsons-Eels 4a918bd
chore: fix mypy errors in whitelist script
Carsons-Eels 446b073
chore: fix changelog tool
Carsons-Eels d497f54
chore: fix markdownlint
Carsons-Eels 6bcfb6f
chore: fix mkdocs
Carsons-Eels fa692eb
chore: update gh-pages workflow to reference new tox env for docc
Carsons-Eels 26f5865
refactor: use string concatenation instead of continuation
danceratopz 31a7981
fix: fix-up tag in j2 template
danceratopz d3522a8
refactor: use string concatenation instead of continuation
danceratopz b05050b
chore: remove /docs from gitignore
danceratopz f8c0a45
chore: update mkdocs config for the weld
danceratopz d01bfa0
chore: remove license from whitelist
danceratopz 88dadd1
fix: ensure case-sensitive words are ordered deterministically
danceratopz e7c612e
chore: apply determistic whitelist ordering
danceratopz 12f1a57
chore: add thead for jinja2 templates to whitelist
danceratopz 2b620a0
chore: remove duplicate whitelist script
danceratopz 9de7d61
chore(docs): improve the title of eip authors document
danceratopz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| name: Spec Docs | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - mainnet | ||
| - 'forks/**' | ||
| paths: | ||
| - 'packages/testing/**' | ||
| - 'tests/**' | ||
| - '.github/workflows/test-docs.yaml' | ||
| - 'docs/**' | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why no |
||
| pull_request: | ||
| paths: | ||
| - 'packages/testing/**' | ||
| - 'tests/**' | ||
| - '.github/workflows/test-docs.yaml' | ||
| - 'docs/**' | ||
|
Comment on lines
+15
to
+18
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Could use a YAML anchor (see |
||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| changelog: | ||
| name: Validate changelog entries | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout ethereum/execution-specs | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
| - name: Install uv ${{ vars.UV_VERSION }} and python ${{ vars.DEFAULT_PYTHON_VERSION }} | ||
| uses: astral-sh/setup-uv@0c5e2b8115b80b4c7c5ddf6ffdd634974642d182 | ||
| with: | ||
| enable-cache: true | ||
| cache-dependency-glob: "uv.lock" | ||
| version: ${{ vars.UV_VERSION }} | ||
| python-version: ${{ vars.DEFAULT_PYTHON_VERSION }} | ||
| - name: Run changelog validation via tox | ||
| run: uvx --with=tox-uv tox -e changelog | ||
|
|
||
| markdownlint: | ||
| name: Lint markdown files with markdownlint | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout ethereum/execution-specs | ||
| uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
| - uses: DavidAnson/markdownlint-cli2-action@05f32210e84442804257b2a6f20b273450ec8265 | ||
| with: | ||
| globs: | | ||
| docs/**/*.md | | ||
| *.md | ||
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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,10 @@ | ||
| # All rules: https://github.com/DavidAnson/markdownlint#rules--aliases | ||
| default: true # Default state for all rules | ||
| MD013: false # line-length: We don't fill paragraphs/limit line length | ||
| MD034: false # no-bare-urls - We use pymdownx.magiclink which allows bare urls | ||
| MD046: false # code-block-style - This doesn't play well with material's admonitions) | ||
| MD024: false # no-duplicate-heading - We use duplicate headings in the changelog. | ||
| MD033: false # no-inline-html - Too strict. | ||
| ul-indent: | ||
| indent: 4 | ||
| start_indent: 4 |
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
Oops, something went wrong.
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.
Spec Docs?