Skip to content

Commit 352896a

Browse files
Apply suggestions from code review
Co-authored-by: Roberto Pastor Muela <[email protected]>
1 parent b21491b commit 352896a

File tree

6 files changed

+6
-9
lines changed

6 files changed

+6
-9
lines changed

.github/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ documentation:
44

55
maintenance:
66
- changed-files:
7-
- any-glob-to-any-file: ['.github/**/*', 'pyproject.toml', 'tox.ini', '.pre-commit-config.yaml']
7+
- any-glob-to-any-file: ['.github/**/*', 'pyproject.toml', '.pre-commit-config.yaml']
88

99
testing:
1010
- changed-files:

.github/workflows/ci_cd.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
env:
1111
MAIN_PYTHON_VERSION: '3.12'
12-
DOCUMENTATION_CNAME: allie-flowkit-python.docs.pyansys.com
12+
DOCUMENTATION_CNAME: expert-adventure-nvnoo1y.pages.github.io
1313
PACKAGE_NAME: allie-flowkit-python
1414

1515
concurrency:
@@ -54,7 +54,7 @@ jobs:
5454
runs-on: ubuntu-latest
5555
steps:
5656
- name: PyAnsys documentation style checks
57-
uses: ansys/actions/doc-style@v6
57+
uses: ansys/actions/doc-style@v7
5858
with:
5959
token: ${{ secrets.GITHUB_TOKEN }}
6060

@@ -63,8 +63,6 @@ jobs:
6363
runs-on: ubuntu-latest
6464
needs: [docs-style]
6565
steps:
66-
- name: Setup headless display
67-
uses: pyvista/setup-headless-display-action@v2
6866

6967
- name: "Run Ansys documentation building action"
7068
uses: ansys/actions/doc-build@v6

doc/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
SPHINXOPTS = -j auto -W --color
66
SPHINXBUILD = sphinx-build
77
APIDIR = api
8-
EXAMPLESDIR = examples
8+
EXAMPLESDIR = examples
99
SOURCEDIR = source
1010
BUILDDIR = _build
1111

doc/source/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
copyright = f"(c) {datetime.now().year} ANSYS, Inc. All rights reserved"
2525
author = "ANSYS, Inc."
2626
release = version = __version__
27-
cname = os.getenv("DOCUMENTATION_CNAME", default="allie-flowkit-python.docs.pyansys.com")
27+
cname = os.getenv("DOCUMENTATION_CNAME", default="expert-adventure-nvnoo1y.pages.github.io")
2828
switcher_version = get_version_match(__version__)
2929

3030
# Select desired logo, theme, and declare the html title

pyproject.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,6 @@ dependencies = [
2929
"python_pptx >= 0.6.23,<1",
3030
"PyYAML >= 6.0.1,<7",
3131
"httpx >= 0.27.0",
32-
3332
]
3433

3534
[project.optional-dependencies]

src/allie/flowkit/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"""App package responsible for creating the FastAPI app."""
2424
import importlib.metadata as importlib_metadata
2525

26-
__version__ = importlib_metadata.version(__name__.replace(".", "-") + "-python")
26+
__version__ = importlib_metadata.version("allie-flowkit-python")
2727

2828
from allie.flowkit.flowkit_service import flowkit_service # noqa F401

0 commit comments

Comments
 (0)