Skip to content

Commit 33329d9

Browse files
bashbaugalycm
andauthored
add the OpenCL logo to the HTML docs (#839)
* add the OpenCL logo to the HTML docs * use fixed-size HTML image instead * make the logo slightly smaller on the PDF spec Co-authored-by: Alastair Murray <alastair.murray@codeplay.com>
1 parent 007ff70 commit 33329d9

6 files changed

Lines changed: 302 additions & 6 deletions

File tree

OpenCL_API.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@ Khronos{R} OpenCL Working Group
1616
:source-highlighter: rouge
1717
:source-language: opencl
1818
:rouge-style: opencl.spec
19-
:title-logo-image: image:images/OpenCL.png[Logo,pdfwidth=4in,align=right]
19+
:docinfo: shared-header
20+
:docinfodir: config
21+
:title-logo-image: image:images/OpenCL.png[top="25%",width="55%"]
2022

2123
// Various special / math symbols. This is easier to edit with than Unicode.
2224
include::config/attribs.txt[]

OpenCL_C.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,10 @@ Khronos{R} OpenCL Working Group
1616
:source-highlighter: rouge
1717
:source-language: opencl_c
1818
:rouge-style: opencl.spec
19-
:title-logo-image: image:images/OpenCL.png[Logo,pdfwidth=4in,align=right]
2019
:sectnumoffset: 5
20+
:docinfo: shared-header
21+
:docinfodir: config
22+
:title-logo-image: image:images/OpenCL.png[top="25%",width="55%"]
2123

2224
// Various special / math symbols. This is easier to edit with than Unicode.
2325
include::config/attribs.txt[]

OpenCL_Env.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ Khronos{R} OpenCL Working Group
1515
:fullimagewidth: width="800"
1616
:source-highlighter: rouge
1717
:rouge-style: github
18-
:title-logo-image: image:images/OpenCL.png[Logo,pdfwidth=4in,align=right]
18+
:docinfo: shared-header
19+
:docinfodir: config
20+
:title-logo-image: image:images/OpenCL.png[top="25%",width="55%"]
1921

2022
// Various special / math symbols. This is easier to edit with than Unicode.
2123
include::config/attribs.txt[]

OpenCL_Ext.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ ifndef::backend-html5[:toclevels: 2]
1818
:source-highlighter: rouge
1919
:source-language: opencl
2020
:rouge-style: opencl.spec
21-
:title-logo-image: image:images/OpenCL.png[Logo,pdfwidth=4in,align=right]
21+
:docinfo: shared-header
22+
:docinfodir: config
23+
:title-logo-image: image:images/OpenCL.png[top="25%",width="55%"]
2224

2325
// Various special / math symbols. This is easier to edit with than Unicode.
2426
include::config/attribs.txt[]

OpenCL_ICD_Installation.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,10 @@ Khronos{R} OpenCL Working Group
1515
:fullimagewidth: width="800"
1616
:source-highlighter: rouge
1717
:rouge-style: github
18-
:title-logo-image: image:images/OpenCL.png[Logo,pdfwidth=4in,align=right]
19-
//:title-page-background-image: image:images/Khronos_Dec14.svg["Khronos Logo",pdfwidth=50%,scaledwidth=50%]
18+
:docinfo: shared-header
19+
:docinfodir: config
20+
:title-logo-image: image:images/OpenCL.png[top="25%",width="55%"]
21+
2022

2123
// Various special / math symbols. This is easier to edit with than Unicode.
2224
include::config/attribs.txt[]

0 commit comments

Comments
 (0)