File tree Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Expand file tree Collapse file tree 1 file changed +16
-8
lines changed Original file line number Diff line number Diff line change @@ -40,22 +40,30 @@ jobs:
40
40
run : |
41
41
poetry run python scripts/sync_version.py
42
42
43
- - name : Build documentation
43
+ - name : Build singlehtml for documentation extraction
44
44
run : |
45
45
cd docs
46
46
poetry run make singlehtml
47
- poetry run make html
48
-
47
+
49
48
- name : Generate all llms.txt files
50
49
run : |
51
50
poetry run python scripts/generate_llms_files.py
51
+ # Copy to _static directory for Sphinx to process during build
52
+ mkdir -p docs/_static
53
+ cp docs/llms-*.txt docs/_static/
54
+ echo "Generated llms files:"
55
+ ls -lh docs/_static/llms-*.txt
56
+
57
+ - name : Build HTML documentation
58
+ run : |
59
+ cd docs
60
+ poetry run make html
52
61
53
- - name : Copy llms files to build directory
62
+ - name : Verify llms files in build
54
63
run : |
55
- mkdir -p docs/_build/html/_static
56
- cp docs/llms-*.txt docs/_build/html/_static/
57
- echo "Generated llms files:"
58
- ls -lh docs/_build/html/_static/llms-*.txt
64
+ echo "Checking for llms files in build directory:"
65
+ ls -lh docs/_build/html/_static/llms-*.txt || echo "Files not in _static"
66
+ ls -lh docs/_build/html/_downloads/*/llms-*.txt || echo "Files not in _downloads"
59
67
60
68
- name : Upload artifact
61
69
uses : actions/upload-pages-artifact@v3
You can’t perform that action at this time.
0 commit comments