Skip to content

Conversation

@FeodorFitsner
Copy link
Contributor

No description provided.

Introduces custom templates for Python material documentation in mkdocstrings and configures mkdocs.yml to use them. Includes templates for attribute, class, function, and summary, with logging and error triggers for debugging and override verification.
Enhanced documentation for line_chart, pie_chart, and plotly_chart with better formatting, options, and example presentation. Refined the PlotlyChart class docstring for clarity and improved reference to the figure attribute.
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 21, 2025

Deploying flet-charts-docs with  Cloudflare Pages  Cloudflare Pages

Latest commit: f0c756a
Status: ✅  Deploy successful!
Preview URL: https://ce901032.flet-charts-docs.pages.dev
Branch Preview URL: https://custom-templates.flet-charts-docs.pages.dev

View logs

Added new icon imports and styles for class symbols in mkdocstrings.css. Adjusted show_root_toc_entry settings in mkdocs.yml and line_chart.md for improved documentation navigation.
Revised platform support tables in README and docs to a more compact format. Updated mkdocs site name to 'Flet Charts' and changed theme colors to pink and light blue. Improved mkdocstrings.css for better icon styling and color scheme support.
Replaces the previous logo.svg with a redesigned version featuring a circular white background, updated paths, and new dimensions (170x170). The new SVG is simplified and modernized for improved appearance and scalability.
Adjusted the @import URL and font-variation-settings for Material Symbols in mkdocstrings.css to use GRAD 200 instead of 0, ensuring consistent icon appearance.
Changed BarChart, LineChart, PieChart, and ScatterChart to inherit from ft.LayoutControl instead of ft.ConstrainedControl for improved layout handling. Updated documentation to enhance API reference structure, add diagrams, and improve class docstring visibility. Removed poetry install instructions from README and docs.
Deleted the GitHub Actions workflow for documentation deployment and updated the README to point to the new documentation URL.
Configured the MkDocs theme to use the FontAwesome GitHub brand icon for the repo. This enhances the visual representation of the repository link in the documentation.
Changed copyright to Appveyor Systems Inc. and removed edit_uri. Also removed 'edit' and 'view' actions from theme features for documentation.
@FeodorFitsner FeodorFitsner marked this pull request as ready for review September 24, 2025 17:59
Replaced repetitive class documentation blocks in chart and type markdown files with Jinja macros for consistency and maintainability. Added docs/extras/macros/__init__.py to define macros for rendering class summaries and members. Updated mkdocs.yml to enable the macros plugin and set edit_uri. Improved theme palette configuration for better color scheme support. Added mkdocs-macros-plugin to documentation dependencies in pyproject.toml.
Updated bar_chart.md, line_chart.md, and pie_chart.md to use the 'image' key instead of 'screenshot' for diagram references and in class_summary calls for consistency.
Refactored the class_summary macro to use 'image' instead of 'screenshot' for clarity and consistency. Updated related variable names and markdown generation accordingly.
Added 'generator: false' to the 'extra' section in mkdocs.yml to hide the default 'Made with Material for MkDocs' message from the site footer.
@FeodorFitsner FeodorFitsner merged commit ed03795 into main Sep 24, 2025
4 checks passed
@FeodorFitsner FeodorFitsner deleted the custom-templates branch September 24, 2025 19:30
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.

2 participants