Skip to content

Commit e8d1fa9

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

4 files changed

Lines changed: 53 additions & 7 deletions

File tree

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
baseurl: "/oneapi-construction-kit"
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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+
{{ content }}
19+
20+
{% if site.github.private != true and site.github.license %}
21+
<div class="footer border-top border-gray-light mt-5 pt-3 text-right text-gray">
22+
This site is open source. {% github_edit_link "Improve this page" %}.
23+
</div>
24+
{% endif %}
25+
</div>
26+
<script src="https://cdnjs.cloudflare.com/ajax/libs/anchor-js/4.1.0/anchor.min.js" integrity="sha256-lZaRhKri35AyJSypXXs4o6OPFTbTmUoltBbDCbdzegg=" crossorigin="anonymous"></script>
27+
<script>anchors.add();</script>
28+
</body>
29+
</html>
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: oneApiConstruction Kit documentation
3+
author: oneAPI Construction Kit editors
4+
permalink: index.html
5+
layout: toplevel.html
6+
---
7+
8+
# RFCS
9+
10+
RFCS can be found <p><a href="rfc-0000.html">here</a></p>
11+
RFCS can be found <p><a href={{ site.baseurl }}{% link "rfc-0000.md" %}> here</a></p>

.github/workflows/publish_docs.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ 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:
2626
# Build job
@@ -66,8 +66,10 @@ jobs:
6666
- name: Build Documentation
6767
working-directory: ${{github.workspace}}
6868
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
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
71+
mkdir docs
72+
# mv build_doc/doc/html docs/ock
7173
7274
- name: Checkout
7375
uses: actions/checkout@v4
@@ -77,15 +79,18 @@ jobs:
7779

7880
- name: Move rfcs to build_doc
7981
shell: bash
80-
run:
81-
mv rfcs build_doc/doc
82-
82+
run: |
83+
mv rfcs/* docs
84+
cp -r $GITHUB_WORKSPACE/.github/workflows/combined_docs/* docs
85+
sed -i '/permalink/d' docs/rfc-0000.md
86+
sed -i 's/split.size == 2 %/split.size == 2 and page.rfc %/' docs/rfc-0000.md
87+
8388
- name: Setup Pages
8489
uses: actions/configure-pages@v5
8590
- name: Build with Jekyll
8691
uses: actions/jekyll-build-pages@v1
8792
with:
88-
source: ./build_doc/doc
93+
source: ./docs
8994
destination: ./_site
9095
- name: Upload artifact
9196
uses: actions/upload-pages-artifact@v3

0 commit comments

Comments
 (0)