-
Notifications
You must be signed in to change notification settings - Fork 64
Improving API docs #2761
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
Improving API docs #2761
Conversation
draft work in progress
Completed first draft of "EM Mediums" page
Fix some typos
Changes as per Tom's suggestions
WIP draft of the geometry page
First draft commit
Started draft of Boundary Conditions page
draft work in progress
Completed first draft of "EM Mediums" page
Fix some typos
Changes as per Tom's suggestions
WIP draft of the geometry page
First draft commit
Started draft of Boundary Conditions page
…idy3d into demo/test/docs_api
First draft of Boundary Conditions
see title
also removed Subpixel Averaging and Field Projector pages since they are discussed in the other pages
Thanks greptile
…idy3d into demo/test/docs_api
Thanks greptile
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.
17 files reviewed, 9 comments
Thanks greptile
Diff CoverageDiff: origin/develop...HEAD, staged and unstaged changesNo lines with coverage information in this diff. |
Just making some notes for myself of things that I'm fixing: |
This PR is great @yuanshen-flexcompute . I've made a few comments but maybe it's easier to quickly sync when you can early today to agree a bit on structural decisions |
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.
Gonna be another PR
I'll close this now? |
Adding summary pages for each major section in the API docs. Also did some re-arrangement for better readability and user access.
Greptile Summary
This PR represents a comprehensive overhaul of the Tidy3D API documentation structure, transforming it from basic auto-generated reference pages into user-friendly, educational guides. The changes add detailed overview sections, practical code examples, and logical reorganization across multiple documentation files.
Key improvements include:
sources.rst
,mediums.rst
,monitors.rst
, andgeometry.rst
now include comprehensive overview sections that explain concepts before diving into API detailsThe restructuring follows modern documentation best practices by emphasizing user experience and progressive disclosure over pure API enumeration. Files are organized to match typical user workflows, starting with basic concepts and progressing to advanced features. The changes maintain all original API references while significantly enhancing discoverability and educational value.
Important Files Changed
File Changes Summary
docs/api/abstract_models.rst
docs/api/subpixel_averaging.rst
docs/api/monitors.rst
docs/api/abstract_base.rst
docs/api/geometry.rst
docs/api/boundary_conditions.rst
docs/api/discretization.rst
docs/api/field_projector.rst
docs/api/index.rst
docs/api/mediums.rst
docs/api/output_data.rst
docs/api/scene.rst
docs/api/simulation.rst
docs/api/sources.rst
docs/api/structure_and_scene.rst
docs/api/structures.rst
docs/api/submit_simulations.rst
Confidence score: 2/5
abstract_models.rst
(extensive duplicates),monitors.rst
(syntax error), andsubpixel_averaging.rst
(empty file)