Skip to content

Commit 78431c4

Browse files
author
Colin Davidson
committed
TBD
1 parent 493977a commit 78431c4

3 files changed

Lines changed: 59 additions & 26 deletions

File tree

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<!DOCTYPE html>
2+
<html lang="{{ page.lang | default: site.lang | default: "en-US" }}">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1">
7+
8+
{% seo %}
9+
<link rel="stylesheet" href="{{ "/assets/css/style.css?v=" | append: site.github.build_revision | relative_url }}">
10+
{% include head-custom.html %}
11+
</head>
12+
<body>
13+
<div class="container-lg px-3 my-5 markdown-body">
14+
{% if site.title and site.title != page.title %}
15+
<h1><a href="{{ "/" | absolute_url }}">{{ site.title }}</a></h1>
16+
{% endif %}
17+
18+
<h1>{{ page.title }}</h1>
19+
20+
{{ content }}
21+
22+
{% if site.github.private != true and site.github.license %}
23+
<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray">
24+
This site is open source. {% github_edit_link "Improve this page" %}.
25+
</div>
26+
{% endif %}
27+
</div>
28+
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
29+
<script>anchors.add();</script>
30+
</body>
31+
</html>
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
title: oneApi Construction Kit documentation
3+
author: oneAPI Construction Kit editors
4+
permalink: index.html
5+
layout: toplevel.html
6+
---
7+
8+
# oneApi Construction Kit generic documentation
9+
10+
The general documentation for the oneAPI Construction Kit can be found <a href="ock/index.html">here</a>
11+
12+
# RFCS
13+
14+
RFCS (request for comments) can be found <a href="rfc-0000.html">here</a>

.github/workflows/publish_docs.yml

Lines changed: 14 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -20,28 +20,9 @@ permissions:
2020
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
2121
concurrency:
2222
group: "pages"
23-
cancel-in-progress: false
23+
cancel-in-progress: true
2424

2525
jobs:
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'
@@ -66,8 +47,10 @@ jobs:
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

Comments
 (0)