Closed jesserockz closed 3 weeks ago
Name | Link |
---|---|
Latest commit | 5ce64cc1b874ec1948c66c325cd4a60ae7697d80 |
Latest deploy log | https://app.netlify.com/sites/esphome/deploys/6732a6bc047754000880ad15 |
Deploy Preview | https://deploy-preview-4429--esphome.netlify.app |
Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.
The changes in this pull request introduce new functionality for handling API references and creating tables in documentation. A new file _extensions/apiref.py
is added to manage API references with roles and utility functions, while another new file _extensions/tables.py
implements directives for creating image and pin tables. The conf.py
file is updated to include these new extensions, remove an obsolete one, and adjust versioning and link-checking configurations. The _extensions/github.py
file is modified to remove outdated functions related to Doxygen references and CSV processing.
File | Change Summary |
---|---|
_extensions/apiref.py | Added functions: split_text_value , encode_doxygen , apiref_role , apiclass_role , apistruct_role , make_link_node , and setup . |
_extensions/github.py | Removed functions: split_text_value , encode_doxygen , apiref_role , apiclass_role , apistruct_role , grouper , ImageTableDirective , PinTableDirective . Modified setup to unregister roles and directives. |
_extensions/tables.py | Added classes: ImageTableDirective and PinTableDirective , along with a setup function for registration. |
conf.py | Added extensions: "apiref" and "tables" , removed "components" , updated version to "2024.10" and release to "2024.10.3" , and added linkcheck_ignore list. |
sequenceDiagram
participant User
participant Sphinx
participant apiref
participant tables
User->>Sphinx: Build documentation
Sphinx->>apiref: Register roles for API references
Sphinx->>tables: Register directives for tables
Sphinx->>User: Documentation generated
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Description:
Shuffle around some of the sphinx extension roles into files that better fit what the roles are doing.
Related issue (if applicable): fixes
Pull request in esphome with YAML changes (if applicable): esphome/esphome#
Checklist:
[ ] I am merging into
next
because this is new documentation that has a matching pull-request in esphome as linked above.or
[ ] I am merging into
current
because this is a fix, change and/or adjustment in the current documentation and is not for a new component or feature.[ ] Link added in
/index.rst
when creating new documents for new components or cookbook.