Skip to content

Commit db29d03

Browse files
committed
Fix issue #118: update component listings for unified toolkit
- Update index.rst to reference windows.txt and linux.txt instead of the old per-toolkit files (windows_basekit.txt, windows_hpckit.txt, windows_renderkit.txt, linux_basekit.txt, linux_hpckit.txt, linux_aitools.txt, linux_renderkit.txt) which are no longer generated since the unified oneAPI Toolkit installer was introduced. - Add placeholder files windows.txt and linux.txt to be overwritten by the CI jobs during doc build. - Fix list_components_linux_dnf.sh: replace DNF4 syntax '--disablerepo=* --enablerepo=oneAPI' with DNF5-compatible '--repo=oneAPI' (Fedora 43 ships DNF5 which removed those flags, causing empty output). - Replace fixed sed -e 1,7d header stripping with '/^intel-/!d' filter in the publish step.
1 parent a5a97d6 commit db29d03

5 files changed

Lines changed: 10 additions & 33 deletions

File tree

.github/workflows/list_components.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ jobs:
138138
run: |
139139
find source/${{ github.workflow }} -maxdepth 1 -type f ! -name "*apt*" ! -name "*yum*" -exec sed -i -e 1,5d {} \;
140140
find source/${{ github.workflow }} -maxdepth 1 -type f -name "*windows*" -exec sed -i -e 1,2d {} \; -exec sed -i s"/\r//g" {} \;
141-
sed -i -e 1,7d source/${{ github.workflow }}/linux_yum_dnf.txt
141+
sed -i '/^intel-/!d' source/${{ github.workflow }}/linux_yum_dnf.txt
142142
make html
143143
- name: Save built doc as artifact
144144
uses: actions/upload-artifact@v4

doc/source/index.rst

Lines changed: 6 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -10,42 +10,17 @@ Data collection: |today|
1010
Windows, Web installer
1111
======================
1212

13-
Intel\ |r| oneAPI Base Toolkit
14-
------------------------------
15-
.. include:: list_components/windows_basekit.txt
16-
:literal:
17-
18-
Intel\ |r| oneAPI HPC Toolkit
19-
-----------------------------
20-
.. include:: list_components/windows_hpckit.txt
21-
:literal:
22-
23-
Intel\ |r| oneAPI Rendering Toolkit
24-
-----------------------------------
25-
.. include:: list_components/windows_renderkit.txt
13+
Intel\ |r| oneAPI Toolkit
14+
--------------------------
15+
.. include:: list_components/windows.txt
2616
:literal:
2717

2818
Linux, Web installer
2919
====================
3020

31-
Intel\ |r| oneAPI Base Toolkit
32-
------------------------------
33-
.. include:: list_components/linux_basekit.txt
34-
:literal:
35-
36-
Intel\ |r| oneAPI HPC Toolkit
37-
-----------------------------
38-
.. include:: list_components/linux_hpckit.txt
39-
:literal:
40-
41-
Intel\ |r| AI Analytics Toolkit
42-
-------------------------------
43-
.. include:: list_components/linux_aitools.txt
44-
:literal:
45-
46-
Intel\ |r| oneAPI Rendering Toolkit
47-
-----------------------------------
48-
.. include:: list_components/linux_renderkit.txt
21+
Intel\ |r| oneAPI Toolkit
22+
--------------------------
23+
.. include:: list_components/linux.txt
4924
:literal:
5025

5126
Linux, APT
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Content is generated by CI job.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Content is generated by CI job.

scripts/list_components_linux_dnf.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@
66

77
FILENAME=$1
88

9-
sudo dnf -y --disablerepo="*" --enablerepo="oneAPI" list available | sudo tee "$FILENAME"
9+
sudo dnf -y --repo="oneAPI" list available | sudo tee "$FILENAME"

0 commit comments

Comments
 (0)