Skip to content

Commit 481f6aa

Browse files
jorgepilotoPipKatgerma89RobPasMueRevathyvenugopal162
authored
ENH: new How-To chapter (#100)
* Rename guidelines/ -> how-to/ * Add setting-up section * Add releasing section * Apply suggestions from code review Co-authored-by: Kathy Pippert <[email protected]> * Link to CI section * Finished releasing section * Add contributing section * Add supporting python versions section * Review logging section * Review documentation section * Reformat testing section * Improve continuous integration section * Enhance documenting section * Fix LaTeX math * Apply suggestions from code review Co-authored-by: German <[email protected]> Co-authored-by: Roberto Pastor Muela <[email protected]> * Fix image filename * Add MAIN_PYTHON_VERSION in workflow files * Fix image filename * Fix admonition indentation * Turn CMD and PS as nested Windows tabs * Reorder git config explanation * Fix typo * Guide for auto-delete PR branches * Apply suggestions from code review Co-authored-by: Kathy Pippert <[email protected]> * Adapt to ansys-sphinx-theme * Add non-interaction mode for latex * Guide for non interaction of pdf build. * change url of ansys-sphinx-theme * Split into HTML and PDF build * Suggestions to continuous-integration.rst Co-authored-by: Kathy Pippert <[email protected]> * Apply code suggestions Co-authored-by: Kathy Pippert <[email protected]> Co-authored-by: German <[email protected]> Co-authored-by: Roberto Pastor Muela <[email protected]> Co-authored-by: Revathyvenugopal162 <[email protected]>
1 parent 671b950 commit 481f6aa

36 files changed

+2900
-2148
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ doc/build/
1818
venv/
1919

2020
# sphinx autogen
21-
doc/source/guidelines/api/*
21+
doc/source/how-to/api/*

doc/source/coding-style/required-standard.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ You can take advantage of :ref:`Pre-Commit` by including a
8888
8989
GitHub CI/CD integration
9090
------------------------
91-
Finally, you can take advantage of :ref:`Unit Testing on GitHub via CI/CD` and
91+
Finally, you can take advantage of :ref:`Testing Using GitHub Actions` and
9292
create a ``style.yml`` workflow file in ``.github/workflows/``:
9393

9494
.. code-block:: yaml

doc/source/conf.py

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -99,15 +99,22 @@
9999

100100
# Do not include the following patterns as documentation source files.
101101
# See issue: https://github.com/sphinx-doc/sphinx/issues/1668
102-
exclude_patterns = ["packaging/diag/*", "packaging/code/*"]
102+
exclude_patterns = [
103+
"packaging/diag/*",
104+
"packaging/code/*",
105+
"how-to/diag/*",
106+
"how-to/api/ansys_sphinx_theme.samples.Complex.abs.rst",
107+
"how-to/api/ansys_sphinx_theme.samples.Complex.imag.rst",
108+
"how-to/api/ansys_sphinx_theme.samples.Complex.real.rst",
109+
]
103110

104111
# Fix excessive margins in mermaid output.
105112
# See issue: https://github.com/mermaid-js/mermaid/issues/1800#issuecomment-741617143
106113
mermaid_output_format = "png"
107114
mermaid_params = ["--width", "2000"]
108115

109-
# Generate section labels up to three levels deep
110-
autosectionlabel_maxdepth = 3
116+
# Generate section labels up to four levels deep
117+
autosectionlabel_maxdepth = 4
111118

112119
# TODO: warning suppression is temporary till https://github.com/pyansys/dev-guide/issues/64
113120
# gets fully implemented.

doc/source/doc-style/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ The documentation for a PyAnsys library should contain:
3131
Finally, the documentation should be public and hosted via gh-pages, either as
3232
a branch named ``gh-pages`` within the library repository or within a
3333
``gh-pages`` branch within ``<library-repository>-docs``. For more information,
34-
see :ref:`Continuous Documentation Deployment`.
34+
see :ref:`Deploying Documentation`.
3535

3636
.. toctree::
3737
:hidden:

doc/source/guidelines/dev_practices.rst

Lines changed: 0 additions & 296 deletions
This file was deleted.

0 commit comments

Comments
 (0)