@@ -167,49 +167,6 @@ jobs:
167167 make html
168168 working-directory : doc
169169
170- - name : Debug JS inclusion
171- run : |
172- echo "=== Sphinx and Furo versions ==="
173- python -c "import sphinx; print('Sphinx:', sphinx.__version__)"
174- python -c "import furo; print('Furo:', furo.__version__)"
175-
176- echo "=== Check if JS file exists in build output ==="
177- ls -la doc/_build/html/_static/dpnp-custom.* 2>&1 || echo "FILES NOT FOUND"
178-
179- echo "=== Check conf.py html_js_files setting ==="
180- grep -n "html_js_files\|add_js_file" doc/conf.py
181-
182- echo "=== Search for dpnp-custom in any HTML file ==="
183- grep -rl "dpnp-custom" doc/_build/html/ | head -10 || echo "NO REFERENCES FOUND"
184-
185- echo "=== Check index.html head section ==="
186- head -50 doc/_build/html/index.html
187-
188- echo "=== Check index.html tail (scripts at body end) ==="
189- tail -30 doc/_build/html/index.html
190-
191- echo "=== Check a generated function page for script tags ==="
192- grep -i "<script" doc/_build/html/reference/generated/dpnp.empty.html || echo "NO SCRIPT TAGS"
193-
194- echo "=== Check all script tags in index.html ==="
195- grep -i "<script" doc/_build/html/index.html || echo "NO SCRIPT TAGS IN INDEX"
196-
197- echo "=== Diff between CSS and JS file registration in Sphinx ==="
198- python -c "
199- import sphinx.builders.html as bh
200- print('html_js_files attr exists:', hasattr(bh, 'JavaScript'))
201- from sphinx.application import Sphinx
202- print('add_js_file method:', hasattr(Sphinx, 'add_js_file'))
203- "
204-
205- echo "=== Check if furo theme template includes extra scripts ==="
206- FURO_PATH=$(python -c "import furo; import os; print(os.path.dirname(furo.__file__))")
207- echo "Furo path: $FURO_PATH"
208- grep -r "script_files\|js_files\|extra_script" "$FURO_PATH/" 2>/dev/null | head -10 || echo "NOT FOUND"
209-
210- echo "=== List all files in _static that match custom ==="
211- find doc/_build/html/_static/ -name "*custom*" -o -name "*dpnp*" 2>/dev/null
212-
213170 - name : Set a project number to current release
214171 run : |
215172 PROJECT_NUMBER=$(git describe --tags --abbrev=0)
0 commit comments