Repository navigation
sync: pull upstream/main and clarify README on main's role - #21
Merged
Merged
Conversation
…2845) * Update accessibility docs with links and simplify page * Update docs/accessibility-and-performance.md Co-authored-by: Brigitta Sipőcz <[email protected]> --------- Co-authored-by: Brigitta Sipőcz <[email protected]>
The "no direct commits to main" rule contradicted the design: the quantecon/ folder has to live on main for build.sh to pick it up and for feature branches (branched from upstream/main) to exclude it. Document the actual setup — main = upstream + quantecon/, synced via git merge (not the GitHub Sync-fork button, which would offer to discard the diverging commits). Co-Authored-By: Claude Opus 4.7 <[email protected]>
There was a problem hiding this comment.
Pull request overview
This PR updates repository documentation to reflect how the QuantEcon fork’s main branch diverges from upstream/main, and refreshes the “Accessibility and Performance” docs page with clearer accessibility scope/goals and updated performance guidance.
Changes:
- Clarify that
mainincludesupstream/mainplus thequantecon/tooling folder and must be synced viagit merge upstream/main(not GitHub’s “Sync fork” UI). - Rewrite
docs/accessibility-and-performance.mdto add an explicit accessibility scope section, current accessibility behaviors/goals, and reorganize the performance and Lighthouse content.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
quantecon/README.md |
Updates branching/sync guidance to reflect main’s permanent divergence from upstream/main. |
docs/accessibility-and-performance.md |
Restructures and expands accessibility content, then reintroduces performance + Lighthouse guidance with updated wording. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| ### Our accessibility goals | ||
|
|
||
| ## Lighthouse Score | ||
| The [default MyST web themes](https://github.com/jupyter-book/myst-theme) aim to meet [WCAG 2.1 AA](https://www.w3.org/TR/WCAG21/), the level required of US public-sector and many private websites under [ADA Title II](https://www.ada.gov/resources/2024-03-08-web-rule/). |
| - `aria` labels and roles on interactive controls (theme toggle, document outline, search dialog, footnote return links). | ||
|
|
||
| As a comparison to Jupyter Book V1 or Quarto, which are both static site generators for scientific content, and assets built by Sphinx and Pandoc, respectively. There are improvements possible primarily in the bundling of JavaScript assets, which is very difficult to do in the Sphinx build process, for example. | ||
| In April 2026 we completed a focused round of work to [align with WCAG 2.1 AA](https://github.com/jupyter-book/mystmd/issues/2802). We know there is always ongoing work to be done to improve accessibility and welcome both guidance and contributions, see [](#a11y:contribute). |
Author
|
Ignoring copilot as they are comments on upstream changes. |
4 tasks done
This was referenced Jun 3, 2026
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
upstream/mainintomain(brings in Update accessibility docs with links and simplify page jupyter-book/mystmd#2845 — accessibility docs update).mainis not a pure mirror ofupstream/main; it carries thequantecon/tooling folder, so it is always a few commits ahead of upstream and must be synced viagit merge upstream/main, not the GitHub "Sync fork" button (which would offer to discard the diverging commits).The previous README said "no direct commits to main", which contradicted reality — the
quantecon/folder itself sits onmain(and has to, forbuild.shto pick it up, and for feature branches branched fromupstream/mainto exclude it). The branch rule is updated to permit commits scoped toquantecon/only.Test plan
docs/accessibility-and-performance.md).mainwith upstream" section../quantecon/build.sh --pushto rebuild thequanteconbranch with the new upstream content.🤖 Generated with Claude Code