doc(fix): Fix angle spec documentation #2953
Open
+3
−3
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.
Greptile Overview
Updated On: 2025-10-31 20:43:41 UTC
Greptile Summary
Fixed incorrect class names in the API documentation for plane wave sources.
tidy3d.FixedInPlaneKtotidy3d.FixedInPlaneKSpectidy3d.FixedAngletotidy3d.FixedAngleSpecThe documentation previously referenced non-existent class names. The actual classes in the codebase are
FixedInPlaneKSpecandFixedAngleSpec, both properly exported intidy3d/__init__.py. This fix ensures the documentation correctly references the actual API, allowing Sphinx to properly generate documentation links.Confidence Score: 5/5
FixedInPlaneKSpecandFixedAngleSpec), which are properly exported and available in the tidy3d namespace. No code logic is affected, only documentation references.Important Files Changed
File Analysis
FixedInPlaneKandFixedAngleto the correctFixedInPlaneKSpecandFixedAngleSpecSequence Diagram
sequenceDiagram participant Dev as Developer participant Docs as Documentation System participant Sphinx as Sphinx Builder participant API as API Reference Dev->>Docs: Update sources.rst with correct class names Note over Dev,Docs: FixedInPlaneK → FixedInPlaneKSpec<br/>FixedAngle → FixedAngleSpec Docs->>Sphinx: Process RST file Sphinx->>API: Generate API documentation API->>Sphinx: Import tidy3d.FixedInPlaneKSpec API->>Sphinx: Import tidy3d.FixedAngleSpec Sphinx-->>Dev: Documentation successfully built