Skip to content
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

Mechanical stubs to sphinx documentation #1

Merged
merged 5 commits into from
Aug 25, 2023
Merged

Conversation

klmcadams
Copy link
Collaborator

Created mechanical API documentation from the mechanical stubs generated by main.py.

Added package directory containing doc and doc/source folders to create sphinx documentation from docstrings.
Adjusted main.py to create source code docstrings directory in "package/src/Ansys" instead of "out/Ansys"
Added fix_str function to gen.py to remove `1 from docstrings
Added encoding to init.py scripts that are created in gen.py
Added pre-commit checks to the repository.

doc - contains Makefile, make.bat, and source folder. Run "make html" in this directory to create sphinx documentation from package/src/Ansys
doc/source - contains conf.py, autoapi template and index.rst files for creation of sphinx documentation from package/src/Ansys

@klmcadams klmcadams requested review from koubaa and RobPasMue August 23, 2023 18:22
@klmcadams klmcadams mentioned this pull request Aug 23, 2023
.pre-commit-config.yaml Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
main.py Outdated Show resolved Hide resolved
package/doc/Makefile Outdated Show resolved Hide resolved
package/doc/source/conf.py Outdated Show resolved Hide resolved
package/doc/source/conf.py Outdated Show resolved Hide resolved
package/doc/source/conf.py Outdated Show resolved Hide resolved
package/doc/source/index.rst Outdated Show resolved Hide resolved
package/doc/source/conf.py Show resolved Hide resolved
main.py Show resolved Hide resolved
main.py Show resolved Hide resolved
@klmcadams klmcadams merged commit 60ada89 into main Aug 25, 2023
@RobPasMue RobPasMue deleted the feat/repo-updates branch August 26, 2023 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants