-
Notifications
You must be signed in to change notification settings - Fork 2
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
Edits for overall doc review prior to public release #239
Conversation
…yensight into doc/review_for_release
Test to see if example images can display after code
@RobPasMue and @mariostieriansys If we can get all checks on this PR to pass, I can use the HTML documentation artifact to confirm that I've addressed all of the comments that are currently unresolved. However, I am now getting doc build errors about the files in the imported Next. there are also a couple of formatting errors in the calc_functions.rst file that I can't seem to fix, regardless of how hard I try! Lastly, I feel that in the examples, the images should appear after the sample code. However, in every attempt I've made to format some files in this way, errors were generated. Sadly, I moved the images back before the code block. However, I personally think placing the sample code before the image would provide a much better user experience. |
@RobPasMue There are some other display issues in the rendered doc. The Object API reference, which is imported, has truncated descriptions on its landing page. Also, some method descriptions are truncated on the Session page: |
Hi @PipKat - let me try and solve the remaining workflow issues :) |
I'm a little torn on this one, but perhaps we should submit an issue in the ansys-api-pyensight repo to switch the sub API generation core to generate numpydoc instead of google docstrings. The reason I'm torn is that the work cannot be "complete" because a lot of that content is obtained by introspection into the 'ensight' Python API which uses google docstrings, so there will always be gaps, but we can close them a bit more than they are now. Aside: 'pyensight' is a remote "work-alike" to the 'ensight' API and it is critical that they share the same effective interfaces as much as possible as users need to be able to run the same scripts (at least at the function level) in both APIs. |
@RobPasMue @PipKat Hi, where we are with this PR? |
@PipKat I left a few comments that should help you fix the PR to at least make it pass. |
@mariostieriansys @randallfrank @ansys/pyansys-core |
@PipKat that's a good point. We didn't put a required approval at the beginning to speed up the process (and because we were just a few) but probably before releasing we must put in a policy |
Thanks @PipKat for the review! |
PR for reviewing doc for public release. Lots of edits to follow the Google developer documentation style guide and to ensure the documentation for this library is as consistent as possible with the documentation for other PyAnsys libraries. After you review, accept, and merge, the doc review for public release can be considered complete. However, message strings should be short but complete sentences, with concluding punctuation (virtually always a period). Technical documentation should avoid "please" and exclamation points. I think an issue should be created to review and edit message strings. This PR was too big to risk such edits at this late stage. Lastly, whoever wrote the
calc_functions.rst
file should be given an award! I'm not sure I've ever seen a file with that many lines before!