Open
Conversation
6192392 to
430905f
Compare
430905f to
557119d
Compare
Contributor
Diff CoverageDiff: origin/develop...HEAD, staged and unstaged changesNo lines with coverage information in this diff. |
e-g-melo
approved these changes
Nov 14, 2025
Collaborator
e-g-melo
left a comment
There was a problem hiding this comment.
Thanks @daquinteroflex!
Sounds very good!
There is only a typo in: tidy3d.plugins.mode.ModeSolver is will be deprecated in a future version.
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.
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