Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare for the new TRD stylesheets #40

Open
tomschr opened this issue Dec 7, 2022 · 0 comments
Open

Prepare for the new TRD stylesheets #40

tomschr opened this issue Dec 7, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@tomschr
Copy link
Contributor

tomschr commented Dec 7, 2022

Situation

Soon we will have some new TRD stylesheets. To use the full potential, we need to change or add some metadata.

Proposed solution

  • Correct the list of authors. If you have more than one author, put them all into an <authorgroup> element. The order matters (first come, first displayed):

    <authorgroup>
       <author>
          <personname>
             <firstname>Tux</firstname>
             <surname>Penguin</surname>
             <affiliation>
                <jobtitle>Chief Cuteness Officer</jobtitle>
                <orgname>SUSE</orgname>
             </affiliation>
          </personname>
       </author>
      <!-- ... add more ... -->
    </authorgroup>
  • If you wish, add some company logos with <cover> and <mediaobject>. The logos should be added to the imagesdirectory.

    <cover>
       <mediaobject>
           <imagedata fileref="..." width="4em"/>
       </mediaobject>
       <!-- add more, if needed -->
    </cover>
    
  • If you have logos, add the width of your logos (in <cover>). If you leave it out, the logos could potentially grow too big. Start with:

    <imagedata fileref="..." width="4em"/>
    
  • Add one or more platform meta information. This should contain the platform where this paper applies (for example, SLES 15 SP5). If you don't need it, leave it out:

    <meta name="platform">...</meta>
    
  • Add one element for series meta information (should contain "Technical Reference Documentation"):

    <meta name="series">...</meta>
    

    I would recommend to add a placeholder to avoid typos (for example, {trd}). That could be done in common/adoc/common_docinfo_vars.adoc I suppose with:

    :trd: Technical Reference Documentation
    
  • Add category meta information (something like Systems Management, Edge, SAP etc.):

    <meta name="category">...</meta>
    
  • Add type meta information (something like "Getting Started", "Reference Implementation" etc.):

    <meta name="type">...</meta>
    
  • If feasible, shorten titles and add possible subtitles. This will improve our SEO ratings.

  • Keep your fingers crossed. 😉

@tomschr tomschr added the enhancement New feature or request label Dec 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant