Skip to content

Commit 0f002e5

Browse files
authored
add basic example workflow (#13)
* add basic example workflow * add basic starting guide * spelling fixes * libary --> library
1 parent 0aeebca commit 0f002e5

File tree

14 files changed

+82
-22
lines changed

14 files changed

+82
-22
lines changed

doc/source/abstraction/app_interface_abstraction.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ that is structured around data represented as classes and methods.
99
PyAnsys seeks to make the API a "first class citizen" in regard to
1010
interacting with an Ansys product by presenting the product as a
1111
stateful data model. Consider the following comparison between using a
12-
recorded script from AEDT versus using the PyAEDT libary to create an
12+
recorded script from AEDT versus using the PyAEDT library to create an
1313
open region in the active editor:
1414

1515
+------------------------------------------------------+----------------------------------------------+

doc/source/coding_style/best_practices.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Best Practices
44
==============
55
The following sections summarize the key points from `PEP8`_ and how
6-
they apply to PyAnsys libaries. The goal is for PyAnsys libraries to
6+
they apply to PyAnsys libraries. The goal is for PyAnsys libraries to
77
be consistent in style and formatting with the "big three"
88
data science libraries: `NumPy`_, `SciPy`_, and `pandas`_.
99

doc/source/coding_style/flake8.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ The above configuration defines the following options:
7070
This denotes the maximum line length for any one line of code.
7171
The `PEP8`_ standard advises a maximum line length of 79. Because
7272
this is a bit limiting in some cases, the maximum line length
73-
recommended for a PyAnsys libary is 100.
73+
recommended for a PyAnsys library is 100.
7474

7575
- ``statistics``
7676
This enables the number of occurrences of each error or warning code
@@ -104,7 +104,7 @@ base.
104104
Utilizing Black
105105
~~~~~~~~~~~~~~~
106106
Manually checking for code styling can be a tedious task. Luckily,
107-
several Python tools for autoformatting code to meet PEP8 standards
107+
several Python tools for auto-formatting code to meet PEP8 standards
108108
are available to help with this. The PyAnsys project suggests the use of the
109109
the formatting tool `black`_.
110110

@@ -120,7 +120,7 @@ done with the tool `pre-commit`_. Setting up a `pre-commit hook
120120
to run black <https://black.readthedocs.io/en/stable/integrations/source_version_control.html>`_
121121
will automatically format the code before committing. This simple way of
122122
incorporating code style checks into the development workflow to maintain
123-
PEP8 guidelines requires mininmal manual effort.
123+
PEP8 guidelines requires minimal manual effort.
124124

125125
.. _pre-commit: https://pre-commit.com/
126126

doc/source/coding_style/index.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ data science libraries: `NumPy`_, `SciPy`_, and `pandas`_.
1313
.. _PEP8: https://www.python.org/dev/peps/pep-0008/
1414

1515

16-
TODO:
16+
.. todo::
1717

18-
* Describe flake8 standards (in subpage), include example ``.flake8``
19-
with minimum standards.
20-
* Include anythin we've written from other documentation either in
21-
this page or other pages.
18+
* Describe flake8 standards (in subpage), include example ``.flake8``
19+
with minimum standards.
20+
* Include anything we've written from other documentation either in
21+
this page or other pages.
2222

2323
.. toctree::
2424
:hidden:

doc/source/conf.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616

1717
# Sphinx extensions
1818
extensions = [
19+
'sphinx.ext.todo',
1920
'sphinx.ext.autodoc',
2021
'sphinx.ext.napoleon',
2122
'sphinx.ext.autosummary',

doc/source/documentation_style/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Documentation Style
55
Good documentation drives library adoption and usage and is the
66
foundation for a good developer experience. Even with the best
77
interfaces and the most functional product, no one will adopt the API
8-
if they don't know how to use it or if they aren't satisifed with the
8+
if they don't know how to use it or if they aren't satisfied with the
99
documentation or examples they are presented with.
1010

1111
Good API documentation provides:

doc/source/library_description/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ The template repository contains a generalized library skeleton that includes:
4747
- Library skeleton with sample classes and methods
4848
- Sample documentation build including customized templates
4949
- Sample GitHub actions specific to PyAnsys libraries
50-
- Licensing, example readme, and setup files
50+
- Licensing, example README, and setup files
5151
- ``.gitignore`` and other requirements files
5252

5353
To use this template, `create a repository from a template`_.

doc/source/library_description/library_names.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ these naming conventions:
99
is the project name for AEDT.
1010
- The repository name as hosted on GitHub should be all
1111
lowercase to follow GitHub community standards. For
12-
exmaple, `pymapdl`_ and `pyaedt`_.
12+
example, `pymapdl`_ and `pyaedt`_.
1313
- The Python library name is to be in the format
1414
``ansys-<product/service>-<feature>``. For example,
1515
`ansys-mapdl-core <https://pypi.org/project/ansys-mapdl-core/>`_

doc/source/library_description/packaging.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ Install a package with:
129129
130130
pip install ansys.<product>.<library>
131131
132-
To create a package complying with the above standards, here is the minimal content of your PyAnsys libary:
132+
To create a package complying with the above standards, here is the minimal content of your PyAnsys library:
133133

134134
.. code::
135135

doc/source/overview/administration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ Major releases denote global, major breaking API changes. Adding or
8686
changing a feature is not considered a globally-backwards incompatible
8787
API change. Rather, a major release and version bump should be made
8888
if globally-breaking changes are made that will require a
89-
signifiant refactor of any dependent modules.
89+
significant refactor of any dependent modules.
9090

91-
Note that ``0.MINOR.PATCH`` packges are expected to have fluid
91+
Note that ``0.MINOR.PATCH`` packages are expected to have fluid
9292
APIs and should be solidified at the ``1.MINOR.PATCH`` release. At
9393
that point, APIs are expected to be much more stable.
9494

0 commit comments

Comments
 (0)