Skip to content

Commit d212ec6

Browse files
authored
chore: remove Readme API CI workflow and configs (#2573)
1 parent 4f6a7b1 commit d212ec6

File tree

85 files changed

+48
-1429
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+48
-1429
lines changed

.github/workflows/CI_docusaurus_sync.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,10 +31,8 @@ jobs:
3131
with:
3232
python-version: "3.10"
3333

34-
- name: Install dependencies
35-
run: |
36-
python -m pip install --upgrade pip
37-
pip install -U haystack-pydoc-tools
34+
- name: Install Hatch
35+
run: pip install --upgrade hatch
3836

3937
- name: Get project folder
4038
id: pathfinder
@@ -50,7 +48,7 @@ jobs:
5048
- name: Generate API reference
5149
working-directory: ${{ steps.pathfinder.outputs.project_path }}
5250

53-
run: pydoc-markdown pydoc/config_docusaurus.yml
51+
run: hatch run docs
5452

5553
- name: Upload API reference artifact
5654
uses: actions/upload-artifact@v5

.github/workflows/CI_readme_sync.yml

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

.github/workflows/anthropic.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,10 @@ jobs:
5454
if: matrix.python-version == '3.9' && runner.os == 'Linux'
5555
run: hatch run fmt-check && hatch run test:types
5656

57+
- name: Generate docs
58+
if: matrix.python-version == '3.9' && runner.os == 'Linux'
59+
run: hatch run docs
60+
5761
- name: Run tests
5862
run: hatch run test:cov-retry
5963

integrations/aimlapi/pydoc/config.yml

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

integrations/aimlapi/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ git_describe_command = 'git describe --tags --match="integrations/aimlapi-v[0-9]
4545
installer = "uv"
4646
dependencies = ["haystack-pydoc-tools", "ruff"]
4747
[tool.hatch.envs.default.scripts]
48-
docs = ["pydoc-markdown pydoc/config.yml"]
48+
docs = ["pydoc-markdown pydoc/config_docusaurus.yml"]
4949
fmt = "ruff check --fix {args} && ruff format {args}"
5050
fmt-check = "ruff check {args} && ruff format --check {args}"
5151

integrations/amazon_bedrock/pydoc/config.yml

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

integrations/amazon_bedrock/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ installer = "uv"
4646
dependencies = ["haystack-pydoc-tools", "ruff"]
4747

4848
[tool.hatch.envs.default.scripts]
49-
docs = ["pydoc-markdown pydoc/config.yml"]
49+
docs = ["pydoc-markdown pydoc/config_docusaurus.yml"]
5050
fmt = "ruff check --fix {args} && ruff format {args}"
5151
fmt-check = "ruff check {args} && ruff format --check {args}"
5252

integrations/amazon_sagemaker/pydoc/config.yml

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

integrations/amazon_sagemaker/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ git_describe_command = 'git describe --tags --match="integrations/amazon_sagemak
4848
installer = "uv"
4949
dependencies = ["haystack-pydoc-tools", "ruff"]
5050
[tool.hatch.envs.default.scripts]
51-
docs = ["pydoc-markdown pydoc/config.yml"]
51+
docs = ["pydoc-markdown pydoc/config_docusaurus.yml"]
5252
fmt = "ruff check --fix {args} && ruff format {args}"
5353
fmt-check = "ruff check {args} && ruff format --check {args}"
5454

integrations/anthropic/pydoc/config.yml

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

0 commit comments

Comments
 (0)