Refactor and circuit page indexing overhaul - #5
Merged
Conversation
AnthonyW2
commented
Sep 7, 2026
Collaborator
- Fixed linting errors.
- Reformatted files to follow new formatting guidelines.
- Moved the markdown files for the circuit & gate pages,
- Changed the way the circuit pages are listed in the side index (based on markdown files instead of JSON).
- Moved circuit & gate page data into directories named in line with docs and hardware. - Changed the way the circuit pages are listed in the index to use the same page-based system as the docs & hardware pages, instead of being derived from the circuit definitions.
- Define the resolved file extensions. - Tell Turbopack to treat .bib files as assets, to prevent build-time errors due to dynamic import resolution in the data/ directory.
- Simplified the markdown importing on the circuit, docs, and hardware pages. - Wrapped markdown importing in a try/catch on the gate pages.
- Made the gate pages work similarly to the circuit pages, where the gate definition (unitary matrix) is loaded inside the mdx source file instead of being added to the top of each page. - Changed heading levels. - Fixed a couple of spelling errors.
- Fixed metadata. - Fixed grammatical error. - Merged control qubits into one register.
- Gate pages are now indexed and generated from the markdown files instead of the gate map, just like circuits, hardware, and docs. - Swapped the order of gates and circuits in the side index.
- Removed redundant circuit/gate map loading from side index. - Cache popover description loading. - Add missing docstring.
- Notably: Updated Next JS to 16.3, and Typescript to 6.0.
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.