File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Check API reference changes
2+
3+ on :
4+ pull_request :
5+ paths :
6+ - " haystack_experimental/**/*.py"
7+ - " pydoc/*.yml"
8+
9+ jobs :
10+ test-api-reference-build :
11+ runs-on : ubuntu-slim
12+ steps :
13+ - uses : actions/checkout@v6
14+
15+ - name : Set up Python
16+ uses : actions/setup-python@v6
17+ with :
18+ python-version : " 3.13"
19+
20+ - name : Install Hatch
21+ run : pip install --upgrade hatch
22+
23+ - name : Generate API references
24+ run : hatch run docs
25+
26+ - name : Set up Node.js
27+ uses : actions/setup-node@v6
28+ with :
29+ node-version : " 22"
30+
31+ - name : Run Docusaurus md/mdx checker
32+ working-directory : pydoc/temp
33+ run : |
34+ npx docusaurus-mdx-checker -v || {
35+ echo ""
36+ echo "For common MDX problems, see https://docusaurus.io/blog/preparing-your-site-for-docusaurus-v3#common-mdx-problems"
37+ exit 1
38+ }
You can’t perform that action at this time.
0 commit comments