Skip to content

Commit

Permalink
Merge pull request KhronosGroup#596 from gmlueck/gmlueck/cleanup
Browse files Browse the repository at this point in the history
Some editorial cleanup
  • Loading branch information
gmlueck authored Jul 28, 2024
2 parents 522ed54 + e952918 commit d314fbc
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
4 changes: 0 additions & 4 deletions adoc/config/attribs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,3 @@ endif::backend-html5[]
ifndef::backend-html5[]
:wbro:
endif::backend-html5[]

// Placeholders for host synchronization block text
:externsynctitle: Host Synchronization
:externsyncprefix: Host access to
19 changes: 17 additions & 2 deletions adoc/syclbase.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// This should be set by the Makefile based on values in
// ../sycl_version.txt, passed into the asciidoctor command line.
:SYCL_LANGUAGE_VERSION: [red]#Unknown SYCL_LANGUAGE_VERSION!#
:SYCL_NAMEA: [red]#Unknown SYCL_NAME!#
:SYCL_NAME: [red]#Unknown SYCL_NAME!#
:SYCL_VERSION: [red]#Unknown SYCL_VERSION!#
:SYCL_REVISION: [red]#Unknown SYCL_REVISION!#

Expand All @@ -14,6 +14,21 @@
// http://discuss.asciidoctor.org/How-to-add-markup-to-author-information-in-document-title-td6488.html
:regtitle: pass:q,r[^®^]

// Disable the footer for the HTML render. The footer for HTML is not well
// documented in Asciidoc, but it appears to insert a line "Last updated <date>"
// at the very bottom of the HTML where the <date> is the timestamp of the
// "syclbase.adoc" file. This date is confusing because it might be quite a bit
// older than the last modification to the specification. We already have the
// specification date in the HTML header, which shows the timestamp when the
// specification was built from Asciidoc sources.
//
// Note that we *do* want a footer in the PDF render, which contains completely
// different content. The PDF footer shows the page number and the current
// chapter.
ifdef::backend-html5[]
:nofooter:
endif::[]

= {SYCL_NAME}{tmtitle} {SYCL_VERSION} Specification (revision {SYCL_REVISION})
The Khronos{regtitle} {SYCL_NAME}{tmtitle} Working Group
:data-uri:
Expand Down Expand Up @@ -110,7 +125,7 @@ toc::[]

:leveloffset: 1

include::chapters/acknowledgements.adoc[][]
include::chapters/acknowledgements.adoc[]

// \include{introduction}
include::chapters/introduction.adoc[]
Expand Down

0 comments on commit d314fbc

Please sign in to comment.