-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Last improvements to documentation for 0.3.0 (#316)
* Fix Vale * Fix Vale * Bump to vimtor/[email protected] * Fix Vale * Fix docs artifact upload * Update documentation * Improve API documentation. * Typo in examples/__init__.py
- Loading branch information
Showing
38 changed files
with
297 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,14 @@ on: | |
required: true | ||
type: string | ||
default: '' | ||
generate_pdf: | ||
description: "Whether to build the PDF doc" | ||
type: string | ||
default: 'True' | ||
debug: | ||
description: "Debug verbose mode" | ||
type: string | ||
default: 'True' | ||
# Can be called manually | ||
workflow_dispatch: | ||
inputs: | ||
|
@@ -60,6 +68,10 @@ on: | |
required: false | ||
type: string | ||
default: '' | ||
generate_pdf: | ||
description: "Whether to build the PDF doc" | ||
type: string | ||
default: 'True' | ||
|
||
env: | ||
PACKAGE_NAME: ansys-dpf-post | ||
|
@@ -169,21 +181,23 @@ jobs: | |
- name: "Upload Documentation Build log" | ||
uses: actions/[email protected] | ||
with: | ||
name: doc-${{inputs.PACKAGE_NAME}}-log | ||
name: doc-${{env.PACKAGE_NAME}}-log | ||
path: docs/*.txt | ||
if: inputs.debug == 'false' | ||
if: always() | ||
|
||
- name: "Zip HTML Documentation" | ||
uses: vimtor/action-zip@v1 | ||
uses: vimtor/action-zip@v1.1 | ||
with: | ||
files: docs/build/html | ||
dest: HTML-doc-${{inputs.PACKAGE_NAME}}.zip | ||
dest: HTML-doc-${{env.PACKAGE_NAME}}.zip | ||
if: always() | ||
|
||
- name: "Upload HTML Documentation" | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: HTML-doc-${{inputs.PACKAGE_NAME}} | ||
path: HTML-doc-${{inputs.PACKAGE_NAME}}.zip | ||
name: HTML-doc-${{env.PACKAGE_NAME}} | ||
path: HTML-doc-${{env.PACKAGE_NAME}}.zip | ||
if: always() | ||
|
||
- name: "Find PDF Documentation" | ||
shell: bash | ||
|
@@ -197,18 +211,18 @@ jobs: | |
echo "Found PDF doc: ${files[0]}" | ||
- name: "Zip PDF Documentation" | ||
uses: vimtor/action-zip@v1 | ||
uses: vimtor/action-zip@v1.1 | ||
if: ${{ inputs.generate_pdf == 'true' }} | ||
with: | ||
files: docs/build/latex/${{ steps.pdf.outputs.PDF_file }} | ||
dest: PDF-doc-${{inputs.PACKAGE_NAME}}.zip | ||
dest: PDF-doc-${{env.PACKAGE_NAME}}.zip | ||
|
||
- name: "Upload PDF Documentation" | ||
uses: actions/[email protected] | ||
if: inputs.generate_pdf == 'true' | ||
with: | ||
name: PDF-doc-${{inputs.PACKAGE_NAME}} | ||
path: PDF-doc-${{inputs.PACKAGE_NAME}}.zip | ||
name: PDF-doc-${{env.PACKAGE_NAME}} | ||
path: PDF-doc-${{env.PACKAGE_NAME}}.zip | ||
|
||
- name: "Kill all servers" | ||
uses: pyansys/pydpf-actions/[email protected] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,13 +25,13 @@ development mode, run: | |
Post issues | ||
----------- | ||
|
||
Use the `PyDPF-Post Issues <https://github.com/pyansys/DPF-Post/issues>`_ | ||
Use the `PyDPF-Post Issues <https://github.com/pyansys/pydpf-post/issues>`_ | ||
page to submit questions, report bugs, and request new features. | ||
|
||
To reach the PyAnsys support team, email `[email protected] <[email protected]>`_. | ||
|
||
View documentation | ||
------------------ | ||
Documentation for the latest stable release of PyDPF-Post is hosted at | ||
`PyDPF Documentation <https://postdocs.pyansys.com/>_. | ||
`PyDPF Documentation <https://post.docs.pyansys.com/>`_. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.