Skip to content

Commit 70e46d4

Browse files
committed
Merge branch 'OGuggenbuehl-feature/md-header-splitter'
2 parents 3fb2cef + 8c49a5e commit 70e46d4

File tree

400 files changed

+19851
-4059
lines changed

Some content is hidden

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

400 files changed

+19851
-4059
lines changed

.github/CODEOWNERS

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,3 @@
88

99
# Documentation
1010
*.md @deepset-ai/documentation @deepset-ai/open-source-engineering
11-
releasenotes/notes/* @deepset-ai/documentation @deepset-ai/open-source-engineering

.github/utils/check_imports.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33
import sys
44
import traceback
55
from pathlib import Path
6-
from typing import List, Optional
6+
from typing import Optional
77

88
from haystack import logging # pylint: disable=unused-import # this is needed to avoid circular imports
99

1010

11-
def validate_module_imports(root_dir: str, exclude_subdirs: Optional[List[str]] = None) -> tuple[list, list]:
11+
def validate_module_imports(root_dir: str, exclude_subdirs: Optional[list[str]] = None) -> tuple[list, list]:
1212
"""
1313
Recursively search for all Python modules and attempt to import them.
1414

.github/utils/delete_outdated_docs.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
import os
44
import re
55
from pathlib import Path
6-
from typing import List
76

87
import requests
98
import yaml
@@ -30,7 +29,7 @@ def create_headers(version: str):
3029
return {"authorization": f"Basic {readme_token()}", "x-readme-version": version}
3130

3231

33-
def get_docs_in_category(category_slug: str, version: str) -> List[str]:
32+
def get_docs_in_category(category_slug: str, version: str) -> list[str]:
3433
"""
3534
Returns the slugs of all documents in a category for the specific version.
3635
"""

.github/workflows/docker_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919

2020
steps:
2121
- name: Checkout
22-
uses: actions/checkout@v4
22+
uses: actions/checkout@v5
2323

2424
- name: Set up QEMU
2525
uses: docker/setup-qemu-action@v3

.github/workflows/docstring_labeler.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout base commit
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
with:
1919
ref: ${{ github.base_ref }}
2020

@@ -25,7 +25,7 @@ jobs:
2525
run: cp .github/utils/docstrings_checksum.py "${{ runner.temp }}/docstrings_checksum.py"
2626

2727
- name: Setup Python
28-
uses: actions/setup-python@v5
28+
uses: actions/setup-python@v6
2929
with:
3030
python-version: "${{ env.PYTHON_VERSION }}"
3131

@@ -36,7 +36,7 @@ jobs:
3636
echo "checksum=$CHECKSUM" >> "$GITHUB_OUTPUT"
3737
3838
- name: Checkout HEAD commit
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v5
4040
with:
4141
ref: ${{ github.event.pull_request.head.ref }}
4242
# This must be set to correctly checkout a fork

.github/workflows/docusaurus_sync.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ env:
1414
HATCH_VERSION: "1.14.1"
1515
PYTHON_VERSION: "3.9"
1616
DOCS_REPO: "deepset-ai/haystack-docs"
17-
DOCS_REPO_PATH: "docs/api/haystack-api"
17+
DOCS_REPO_PATH: "reference/haystack-api"
1818

1919
jobs:
2020
sync:
@@ -24,10 +24,10 @@ jobs:
2424

2525
steps:
2626
- name: Checkout Haystack repo
27-
uses: actions/checkout@v4
27+
uses: actions/checkout@v5
2828

2929
- name: Set up Python
30-
uses: actions/setup-python@v5
30+
uses: actions/setup-python@v6
3131
with:
3232
python-version: "${{ env.PYTHON_VERSION }}"
3333

@@ -39,7 +39,7 @@ jobs:
3939
run: hatch run readme:sync "../config_docusaurus/*"
4040

4141
- name: Checkout Docusaurus repo
42-
uses: actions/checkout@v4
42+
uses: actions/checkout@v5
4343
with:
4444
repository: ${{ env.DOCS_REPO }}
4545
token: ${{ secrets.HAYSTACK_BOT_TOKEN }}

.github/workflows/e2e.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ jobs:
2727
timeout-minutes: 60
2828
runs-on: ubuntu-latest
2929
steps:
30-
- uses: actions/checkout@v4
30+
- uses: actions/checkout@v5
3131

32-
- uses: actions/setup-python@v5
32+
- uses: actions/setup-python@v6
3333
with:
3434
python-version: "${{ env.PYTHON_VERSION }}"
3535

.github/workflows/github_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414

1515
steps:
1616
- name: Checkout
17-
uses: actions/checkout@v4
17+
uses: actions/checkout@v5
1818
with:
1919
fetch-tags: true
2020
fetch-depth: 0 # slow but needed by reno

.github/workflows/labeler.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,6 @@ jobs:
1010
triage:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/labeler@v5
13+
- uses: actions/labeler@v6
1414
with:
1515
repo-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/license_compliance.yml

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ on:
44
pull_request:
55
paths:
66
- "**/pyproject.toml"
7+
- ".github/workflows/license_compliance.yml"
78
# Since we test PRs, there is no need to run the workflow at each
89
# merge on `main`. Let's use a cron job instead.
910
schedule:
1011
- cron: "0 0 * * *" # every day at midnight
11-
1212
env:
1313
CORE_DATADOG_API_KEY: ${{ secrets.CORE_DATADOG_API_KEY }}
1414
PYTHON_VERSION: "3.10"
@@ -21,10 +21,10 @@ jobs:
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout the code
24-
uses: actions/checkout@v4
24+
uses: actions/checkout@v5
2525

2626
- name: Setup Python
27-
uses: actions/setup-python@v5
27+
uses: actions/setup-python@v6
2828
with:
2929
python-version: "${{ env.PYTHON_VERSION }}"
3030

@@ -35,17 +35,16 @@ jobs:
3535
3636
- name: Check Licenses
3737
id: license_check_report
38-
uses: pilosus/action-pip-license-checker@v2
38+
uses: pilosus/action-pip-license-checker@v3
3939
with:
4040
github-token: ${{ secrets.GH_ACCESS_TOKEN }}
4141
requirements: ${{ env.REQUIREMENTS_FILE }}
4242
fail: "Copyleft,Other,Error"
4343
# Exclusions in the vanilla distribution must be explicitly motivated
44-
# - jsonschema is MIT but, starting from version 4.24.0, pip-license-checker does not recognize it
4544
# - tqdm is MLP but there are no better alternatives
4645
# - typing_extensions>=4.13.0 has a Python Software Foundation License 2.0 but pip-license-checker does not recognize it
4746
# (https://github.com/pilosus/pip-license-checker/issues/143)
48-
exclude: "(?i)^(jsonschema|tqdm|typing_extensions).*"
47+
exclude: "(?i)^(tqdm|typing_extensions).*"
4948

5049
# We keep the license inventory on FOSSA
5150
- name: Send license report to Fossa

0 commit comments

Comments
 (0)