-
Notifications
You must be signed in to change notification settings - Fork 1
Improve examples in docs #16
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
Conversation
* fix types and remove non-existing function * fix tests * fix color band range * increment patch number * fix range and tests * changelog * bring back function * more tests * missing include * typo * better docstrings * correctness * ws
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request enhances the documentation with comprehensive Moldflow API examples and adds flexibility to the publishing workflow. The changes provide practical code examples for advanced Moldflow operations while allowing documentation-only releases.
- Added extensive advanced examples covering data transformation, diagnostics, boundary conditions, and PowerPoint report generation
- Modified the GitHub Actions workflow to support documentation-only publishing
- Enhanced the documentation with real-world use cases and complex API interactions
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
File | Description |
---|---|
docs/source/readme.rst | Added comprehensive advanced examples including derived results, vector operations, coolant endpoints, and PowerPoint report generation |
.github/workflows/publish.yml | Added docs_only input parameter and conditional logic to skip package publishing steps when only updating documentation |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
docs/source/readme.rst
Outdated
# If capture produced an unexpectedly small file, fallback attempt with result=False | ||
try: | ||
if os.path.getsize(tmp.name) < 12000 and plot is not None: | ||
# Fallback: capture without result overlay in case the plot layer isn't rendering |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these comments verified because the people who are analyzing the sample will be carefully going through these
Description
Add more examples in docs (including PowerPoint generation) and allow deploying docs without trying to push to PyPI.
Fixes # N/A.
Type of change
Please delete options that are not relevant.
Checklist
Please delete options that are not relevant.
Testing
Tested new examples locally.
Additional Notes
Add any other context about the pull request here.