@@ -20,28 +20,9 @@ permissions:
2020# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2121concurrency :
2222 group : " pages"
23- cancel-in-progress : false
23+ cancel-in-progress : true
2424
2525jobs :
26- # Build job
27- # build_rfc:
28- # # if: github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name == 'workflow_dispatch'
29- # if: github.repository == 'coldav/oneapi-construction-kit' || github.event_name == 'workflow_dispatch'
30- # runs-on: ubuntu-latest
31- # steps:
32- # - name: Checkout
33- # uses: actions/checkout@v4
34- # with:
35- # ref: rfcs
36- # - name: Setup Pages
37- # uses: actions/configure-pages@v5
38- # - name: Build with Jekyll
39- # uses: actions/jekyll-build-pages@v1
40- # with:
41- # source: ./
42- # destination: ./_site/rfcs
43- # - name: Upload artifact
44- # uses: actions/upload-pages-artifact@v3
4526
4627 build_ock_docs :
4728 # if: github.repository == 'uxlfoundation/oneapi-construction-kit' || github.event_name == 'workflow_dispatch'
6647 - name : Build Documentation
6748 working-directory : ${{github.workspace}}
6849 run : |
69- cmake -DCMAKE_BUILD_TYPE=Debug -DCA_RUNTIME_COMPILER_ENABLED=OFF -DCA_CL_ENABLE_OFFLINE_KERNEL_TESTS=OFF -DOCL_EXTENSION_cl_khr_il_program=OFF -Bbuild_doc
70- cmake --build build_doc --target doc_html
50+ cmake -DCMAKE_BUILD_TYPE=Debug -DCA_RUNTIME_COMPILER_ENABLED=OFF -DCA_CL_ENABLE_OFFLINE_KERNEL_TESTS=OFF -DOCL_EXTENSION_cl_khr_il_program=OFF -Bbuild_doc
51+ cmake --build build_doc --target doc_html
52+ mkdir docs
53+ mv build_doc/doc/html docs/ock
7154
7255 - name : Checkout
7356 uses : actions/checkout@v4
@@ -77,15 +60,20 @@ jobs:
7760
7861 - name : Move rfcs to build_doc
7962 shell : bash
80- run :
81- mv rfcs build_doc/doc
82-
63+ run : |
64+ mv rfcs/* docs
65+ cp -r $GITHUB_WORKSPACE/.github/workflows/combined_docs/* docs
66+
67+ # TODO : Remove from original rfc docs
68+ sed -i 's/permalink: index/permalink: rfc-0000/' docs/rfc-0000.md
69+ sed -i 's/split.size == 2 %/split.size == 2 and page.rfc %/' docs/rfc-0000.md
70+
8371 - name : Setup Pages
8472 uses : actions/configure-pages@v5
8573 - name : Build with Jekyll
8674 uses : actions/jekyll-build-pages@v1
8775 with :
88- source : ./build_doc/doc
76+ source : ./docs
8977 destination : ./_site
9078 - name : Upload artifact
9179 uses : actions/upload-pages-artifact@v3
0 commit comments