-
Notifications
You must be signed in to change notification settings - Fork 65
docs: introduce ModeSimulation #2977
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
base: develop
Are you sure you want to change the base?
Conversation
6192392 to
430905f
Compare
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.
8 files reviewed, 4 comments
430905f to
557119d
Compare
Diff CoverageDiff: origin/develop...HEAD, staged and unstaged changesNo lines with coverage information in this diff. |
e-g-melo
left a comment
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.
Thanks @daquinteroflex!
Sounds very good!
There is only a typo in: tidy3d.plugins.mode.ModeSolver is will be deprecated in a future version.
Hi @e-g-melo, we had a conversation about this and thought the best approach is simply to deprecate in the docs for the rc3 release and then update the notebooks separately for 2.10
Greptile Overview
Greptile Summary
This PR restructures the mode documentation to introduce
ModeSimulationas the primary interface, deprecatingModeSolver. The changes organize mode-related documentation into a new subdirectory structure with separate files for simulation, specifications, output data, and deprecated components.Key changes:
docs/api/mode/directory with organized sections for simulation, specification, output data, and deprecated classesdocs/api/simulation.rstto referenceModeSimulationinstead of the deprecatedModeSolverdocs/api/mode.rstto a redirect file that includes the new index for backward compatibilityModeSolverandModeSolverDatain favor ofModeSimulationIssues found:
.. deprecated::directive indeprecated.rst(line 6)Confidence Score: 4/5
docs/api/mode/deprecated.rst- the deprecated directive needs a version number to render correctlyImportant Files Changed
File Analysis
ModeSolverin favor ofModeSimulation; missing version number in deprecated directiveModeSolverto newModeSimulationin the "Other Simulation Types" sectionSequence Diagram
sequenceDiagram participant User participant DocsIndex as docs/api/index.rst participant ModeEntry as docs/api/mode.rst participant ModeIndex as docs/api/mode/index.rst participant Simulation as mode/simulation.rst participant Specification as mode/specification.rst participant OutputData as mode/output_data.rst participant Deprecated as mode/deprecated.rst User->>DocsIndex: Navigate to API docs DocsIndex->>ModeEntry: Reference mode section ModeEntry->>ModeIndex: Include mode/index.rst Note over ModeIndex: New structured organization ModeIndex->>Simulation: Include ModeSimulation docs ModeIndex->>Specification: Include ModeSpec classes ModeIndex->>OutputData: Include data output classes ModeIndex->>Deprecated: Include ModeSolver deprecation Note over Deprecated: ModeSolver → ModeSimulation Note over Simulation: New primary interface