Skip to content

Commit ae362bb

Browse files
Revathyvenugopal162pyansys-ci-botRobPasMue
committed
feat: adapt package to general PyAnsys repository layout (#387)
Co-authored-by: pyansys-ci-bot <[email protected]> Co-authored-by: Roberto Pastor Muela <[email protected]>
1 parent ec0cc4e commit ae362bb

File tree

22 files changed

+103
-73
lines changed

22 files changed

+103
-73
lines changed

.github/workflows/ci_cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ jobs:
9595
matrix:
9696
os: [ubuntu-latest, windows-latest, macos-latest]
9797
python-version: ['3.9', '3.10', '3.11', '3.12']
98-
should-release:
98+
should-release:
9999
- ${{ github.event_name == 'push' && contains(github.ref, 'refs/tags') }}
100100
exclude:
101101
- should-release: false

.github/workflows/label.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
# Label based on branch name
4242
- uses: actions-ecosystem/action-add-labels@v1
4343
if: |
44-
startsWith(github.event.pull_request.head.ref, 'doc') ||
44+
startsWith(github.event.pull_request.head.ref, 'doc') ||
4545
startsWith(github.event.pull_request.head.ref, 'docs')
4646
with:
4747
labels: documentation

.pre-commit-config.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/psf/black
3-
rev: 24.2.0
3+
rev: 24.4.2
44
hooks:
55
- id: black
66

@@ -32,15 +32,16 @@ repos:
3232
types_or: [css, javascript]
3333

3434
- repo: https://github.com/pre-commit/pre-commit-hooks
35-
rev: v4.5.0
35+
rev: v4.6.0
3636
hooks:
3737
- id: check-merge-conflict
3838
- id: debug-statements
39-
- id: requirements-txt-fixer
39+
- id: check-yaml
40+
- id: trailing-whitespace
4041

4142
# this validates our github workflow files
4243
- repo: https://github.com/python-jsonschema/check-jsonschema
43-
rev: 0.28.0
44+
rev: 0.28.4
4445
hooks:
4546
- id: check-github-workflows
4647

@@ -49,11 +50,11 @@ repos:
4950
rev: 1.16.0
5051
hooks:
5152
- id: blacken-docs
52-
additional_dependencies: [black==23.7.0]
53+
additional_dependencies: [black==24.4.2]
5354
exclude: 'src/ansys_sphinx_theme/theme/ansys_sphinx_theme/_templates/'
5455

5556
- repo: https://github.com/ansys/pre-commit-hooks
56-
rev: v0.2.9
57+
rev: v0.3.1
5758
hooks:
5859
- id: add-license-headers
5960
args:

AUTHORS

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# This is the list of ansys-sphinx-theme's significant contributors.
2+
#
3+
# This file does not necessarily list everyone who has contributed code.
4+
#
5+
# For contributions made under a Corporate CLA, the organization is
6+
# added to this file.
7+
#
8+
# If you have contributed to the repository and want to be added to this file,
9+
# submit a request.
10+
#
11+
#
12+
ANSYS, Inc.

CONTRIBUTORS.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Contributors
2+
3+
## Project Lead
4+
* [Revathy Venugopal](https://github.com/Revathyvenugopal162)
5+
6+
## Individual Contributors
7+
8+
* [Alexander Kaszynski](https://github.com/akaszynski)
9+
* [Andy Grigg](https://github.com/Andy-Grigg)
10+
* [Dipin Nair](https://github.com/dipinknair)
11+
* [Dominik Gresch](https://github.com/greschd)
12+
* [German Martínez](https://github.com/germa89)
13+
* [Guillem Barroso](https://github.com/GuillemBarroso)
14+
* [Jess Leonatti](https://github.com/jleonatti)
15+
* [Jorge Martínez](https://github.com/jorgepiloto)
16+
* [Kathy Pipet](https://github.com/PipKat)
17+
* [Kerry McAdams](https://github.com/klmcadams)
18+
* [Maxime Rey](https://github.com/MaxJPRey)
19+
* [Paul Profizi](https://github.com/PProfizi)
20+
* [Roberto Pastor](https://github.com/RobPasMue)

LICENSE

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
MIT License
22

3-
Copyright (c) 2022-2024 ANSYS, Inc. and/or its affiliates.
3+
Copyright (c) 2021 - 2024 ANSYS, Inc. and/or its affiliates.
44

5-
Permission is hereby granted, free of charge, to any person obtaining a copy
6-
of this software and associated documentation files (the "Software"), to deal
7-
in the Software without restriction, including without limitation the rights
8-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9-
copies of the Software, and to permit persons to whom the Software is
10-
furnished to do so, subject to the following conditions:
5+
Permission is hereby granted, free of charge, to any person obtaining a copy of
6+
this software and associated documentation files (the "Software"), to deal in
7+
the Software without restriction, including without limitation the rights to
8+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
9+
of the Software, and to permit persons to whom the Software is furnished to do
10+
so, subject to the following conditions:
1111

1212
The above copyright notice and this permission notice shall be included in all
1313
copies or substantial portions of the Software.

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Ansys Sphinx theme
3434
Introduction
3535
------------
3636
The Ansys Sphinx theme is an extension of the popular
37-
`PyData Sphinx theme <https://github.com/pydata/pydata-sphinx-theme>`_
37+
`PyData Sphinx theme <https://github.com/pydata/pydata-sphinx-theme>`_
3838
that is used by `numpy <https://numpy.org/doc/stable/>`_,
3939
`pandas <https://pandas.pydata.org/docs/>`_,
4040
`pyvista <https://docs.pyvista.org>`_, and many more
@@ -92,10 +92,10 @@ You can optionally install and use this tool. For more information, see its
9292
<https://pre-commit.com/#usage>`_ documentation.
9393

9494
Before contributing to a PyAnsys library, see
95-
`Contributing <https://dev.docs.pyansys.com//how-to/contributing.html>`_
95+
`Contributing <https://dev.docs.pyansys.com//how-to/contributing.html>`_
9696
in the *PyAnsys Developer's Guide* for overall guidance, paying particular
97-
attention to `How-to <https://dev.docs.pyansys.com//how-to/index.html>`_ for
98-
guidelines and best practices.
97+
attention to `How-to <https://dev.docs.pyansys.com//how-to/index.html>`_ for
98+
guidelines and best practices.
9999

100100
License
101101
~~~~~~~

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ help:
1717
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1818
%: Makefile
1919
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
20-
20+
2121
# customized clean due to api examples
2222
clean:
2323
rm -rf $(BUILDDIR)

doc/changelog.d/387.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
feat: adapt package to general PyAnsys repository layout

doc/make.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,6 @@ goto end
3737
cd "%BUILDDIR%\latex"
3838
for %%f in (*.tex) do (
3939
pdflatex "%%f" --interaction=nonstopmode)
40-
40+
4141
:end
4242
popd

0 commit comments

Comments
 (0)