generated from ansys/template
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FEAT: implement Vale doc style checker
FEAT: implement Vale doc style checker
- Loading branch information
1 parent
76f26b1
commit 214c225
Showing
16 changed files
with
84 additions
and
44 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Core settings | ||
# ============= | ||
|
||
# Location of our `styles` | ||
StylesPath = "styles" | ||
|
||
# The options are `suggestion`, `warning`, or `error` (defaults to “warning”). | ||
MinAlertLevel = warning | ||
|
||
# By default, `code` and `tt` are ignored. | ||
IgnoredScopes = code, tt | ||
|
||
# By default, `script`, `style`, `pre`, and `figure` are ignored. | ||
SkippedScopes = script, style, pre, figure | ||
|
||
# WordTemplate specifies what Vale will consider to be an individual word. | ||
WordTemplate = \b(?:%s)\b | ||
|
||
# List of Packages to be used for our guidelines | ||
Packages = Google | ||
|
||
# Define the Ansys vocabulary | ||
Vocab = ANSYS | ||
|
||
[*.{md,rst}] | ||
|
||
# Apply the following styles | ||
BasedOnStyles = Vale, Google |
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 |
---|---|---|
@@ -1 +1 @@ | ||
Static files will be found here (like images and other assets). | ||
Static files can be found here (like images and other assets). |
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
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ contribute to PyOptiSLang. | |
|
||
The following contribution information is specific to PyOptiSLang. | ||
|
||
Cloning the PyOptiSLang Repository and Installation | ||
Cloning the PyOptiSLang repository and installation | ||
--------------------------------------------------- | ||
|
||
.. code:: | ||
|
@@ -23,11 +23,11 @@ Cloning the PyOptiSLang Repository and Installation | |
pip install -e . | ||
Posting Issues | ||
Posting issues | ||
-------------- | ||
Use the `PyOptiSLang Issues <https://github.com/pyansys/pyoptislang/issues>`_ | ||
page to submit questions, report bugs, and request new features. When possible, we | ||
recommend that you use these issue templates: | ||
page to submit questions, report bugs, and request new features. When possible, it | ||
is recommended that you use these issue templates: | ||
|
||
* Bug report template | ||
* Feature request template | ||
|
@@ -36,7 +36,7 @@ If your issue does not fit into one of these categories, create your own issue. | |
|
||
To reach the project support team, email `[email protected] <[email protected]>`_. | ||
|
||
Viewing PyOptiSLang Documentation | ||
Viewing PyOptiSLang documentation | ||
--------------------------------- | ||
Documentation for the latest stable release of PyOptiSLang is hosted at | ||
`PyOptiSLang Documentation <https://optislangdocs.pyansys.com>`_. | ||
|
@@ -46,7 +46,7 @@ Documentation for the latest development version, which tracks the | |
This version is automatically kept up to date via GitHub actions. | ||
|
||
|
||
Code Style | ||
Code style | ||
---------- | ||
PyOptiSLang follows PEP8 standard as outlined in the `PyAnsys Development Guide | ||
<https://dev.docs.pyansys.com>`_ and implements style checking using | ||
|
@@ -68,4 +68,4 @@ This way, it's not possible for you to push code that fails the style checks. Fo | |
black....................................................................Passed | ||
isort....................................................................Passed | ||
flake8...................................................................Passed | ||
codespell................................................................Passed | ||
codespell................................................................Passed |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
PyOptiSLang Documentation |version| | ||
PyOptiSLang documentation |version| | ||
=================================== | ||
|
||
.. toctree:: | ||
|
@@ -29,7 +29,7 @@ and the running optiSLang process (server) is based on the plain TCP/IP technolo | |
However, you only need to interact with the Python interface. | ||
|
||
You can use PyOptiSLang to programmatically create, interact with, and control | ||
an optiSLang project, create customizable scripts that will speed-up and automate simulations. | ||
an optiSLang project, create customizable scripts that can speed-up and automate simulations. | ||
|
||
PyOptiSLang lets you use optiSLang within a Python environment of your choice | ||
in conjunction with other PyAnsys libraries and external Python libraries. | ||
|
@@ -39,7 +39,7 @@ Features | |
Package ``ansys-optislang-core`` provides: | ||
- Ability to launch optiSLang locally or connect to the remote optiSLang server. For more information, | ||
see :ref:`ref_launch`. | ||
- Basic commands (e.g., open, save and run project) and queries to obtain information about project. For more | ||
- Basic commands (for example open, save and run project) and queries to obtain information about project. For more | ||
information, see :ref:`ref_functions`. | ||
- Executing Python commands from the optiSLang Python API. For more information, | ||
see :ref:`ref_run_python`. | ||
|
@@ -54,7 +54,7 @@ issues to submit questions, report bugs, and request new features. To reach the | |
team, email [email protected]. | ||
|
||
|
||
Project Index | ||
Project index | ||
************* | ||
|
||
* :ref:`genindex` | ||
* :ref:`genindex` |
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
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 |
---|---|---|
@@ -0,0 +1,4 @@ | ||
* | ||
!Vocab | ||
!Vocab/** | ||
!.gitignore |
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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Ansys | ||
ansys | ||
optiSLang | ||
OptiSLang | ||
Optislang | ||
optislang | ||
PyOptiSLang |
Empty file.