Skip to content
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

docs: improve sphinx docs and add favicon #82

Merged
merged 43 commits into from
Dec 30, 2024
Merged

docs: improve sphinx docs and add favicon #82

merged 43 commits into from
Dec 30, 2024

Conversation

yxlao
Copy link
Owner

@yxlao yxlao commented Dec 30, 2024

  • Various formatting fixes to ensure docs are rendered correctly
  • Various consistency fixes of the docstrings and type annotations
  • Add favicon and improve documentation theme
  • Doc building now follows "warning as error" on CI

yxlao added 30 commits December 29, 2024 10:24
…s_png_path` from `io.py` to `util.py` for better code organization and reusability
…ng_path function call for consistency and modularity
…for invalid depth representation in docstrings
…hon' for better readability in documentation
… and h_dst/w_dst for clarity in resize function
…ropping by eliminating redundant check_with_v1 parameter and validation logic
… code blocks for better readability and consistency
…ple containing" and clarifying return value descriptions
…m_mask_for_eval` to use numpy array type hints for clarity
…n camtools modules

- Simplify the documentation build command in `.github/workflows/docs.yml` by using `-C` flag for `make`.
- Improve docstring clarity in `camtools/image.py` and `camtools/render.py` by removing redundant descriptions and explicitly naming tuple elements.
…ocstrings to improve readability and maintainability
… clarify its purpose, arguments, and return value
yxlao added 13 commits December 30, 2024 16:14
…pe across Python versions

docs(camtools/util.py): add examples to query_yes_no function for better usage clarity
refactor(camtools/util.py): simplify return type descriptions in is_jpg_path and is_png_path functions
…dundant matrix form descriptions for clarity
…l.py to sanity.py for better logical organization

docs: add API documentation for sanity and util modules
…de camtools assets

docs(conf.py): configure html_theme_options with light and dark logos for better theme customization
@yxlao yxlao marked this pull request as ready for review December 30, 2024 09:17
@yxlao yxlao merged commit 7360efd into main Dec 30, 2024
10 checks passed
@yxlao yxlao deleted the yixing/improve-docs branch December 30, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant