Skip to content

Commit

Permalink
Example to play with new TRD stylesheets
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschr committed Dec 7, 2022
1 parent 94f6fb3 commit 9643e84
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 11 deletions.
12 changes: 5 additions & 7 deletions linux/start/jupyter/DC-gs_sles_jupyter-jupyterlab
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Comment out to deactivate draft mode when completed
#DRAFT=yes
ROLE="sbp"
PROFROLE="sbp"
ROLE="trd"
# PROFROLE="trd"

## -------------------------------
## Doc Config File for DAPS
Expand All @@ -20,16 +20,14 @@ ADOC_TYPE="article"
#ADOC_TYPE="book"

# Stylesheet Root
STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2021-ns"
#STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2013-sbp-ns"
#STYLEROOT="/usr/share/xml/docbook/stylesheet/suse2013-ns"
STYLEROOT="/usr/share/xml/docbook/stylesheet/trd"

# Turn on postprocessing
ADOC_POST="yes"

# Leverage SUSE Best Practices
XSLTPARAM="--stringparam publishing.series=sbp"
DOCBOOK5_RNG_URI="http://docbook.org/xml/5.1/rng/docbookxi.rnc"
# XSLTPARAM="--stringparam publishing.series=sbp"
DOCBOOK5_RNG_URI="http://docbook.org/xml/5.2/rng/docbookxi.rnc"

# Enable attributes
ADOC_ATTRIBUTES="--attribute env-daps=1"
Expand Down
16 changes: 14 additions & 2 deletions linux/start/jupyter/adoc/gs_sles_jupyter-jupyterlab-docinfo.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!-- https://tdg.docbook.org/tdg/5.1/info -->
<!-- https://tdg.docbook.org/tdg/5.2/info -->

<dm:docmanager xmlns:dm="urn:x-suse:ns:docmanager">
<dm:bugtracker>
Expand All @@ -20,22 +20,34 @@

<!--<orgname>Technical Reference Documentation</orgname>-->
<productname>{productname}</productname>
<meta name="series">Technical Reference Documentation</meta>
<meta name="type">Getting Started</meta>

<authorgroup>
<author>
<personname>
<surname>{author1}</surname>
</personname>
<affiliation>
<jobtitle>{jobtitle1}</jobtitle>
<orgname>{affiliation1}</orgname>
</affiliation>
</author>
<author>
<personname>
<surname>{author2}</surname>
</personname>
<affiliation>
<jobtitle>{jobtitle2}</jobtitle>
<orgname>{affiliation2}</orgname>
</affiliation>
</author>
</authorgroup>

<cover role="logos">
<mediaobject>
<imageobject>
<imagedata fileref="suse-white-logo-green.svg"/>
<imagedata fileref="suse-white-logo-green.svg" width="8em"/>
</imageobject>
</mediaobject>
</cover>
Expand Down
10 changes: 8 additions & 2 deletions linux/start/jupyter/adoc/gs_sles_jupyter-jupyterlab.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,14 @@ include::./common_docinfo_vars.adoc[]
:defaultpythonbin: python3.6
:partnerprod1: JupyterLab
:partnerprod2: Jupyter Notebook
:author1: Brian Fromme, Technical Alliance Manager, SUSE
:author2: Terry Smith, Partner Solutions Director, SUSE
:author1: Brian Fromme
:affiliation1: SUSE
:jobtitle1: Technical Alliance Manager

:author2: Terry Smith
:affiliation2: SUSE
:jobtitle2: Partner Solutions Director

// Deprecated variables & attributes - do not use
//:revdate: August, 2022
//:revnumber: 20220804
Expand Down

0 comments on commit 9643e84

Please sign in to comment.