Changeset 5676


Ignore:
Timestamp:
Jun 29, 2011, 9:40:33 AM (12 years ago)
Author:
Nicklas Nordborg
Message:

References #1590: Documentation cleanup

  • Fixed link to syntax highlighter
  • Changed color of left border used on code examples and <hr> tags
  • Changed date format to "yyyy-MM-dd" for last modified footer
  • Added last modified information to title page
  • Decreased vertical white space around some headers
  • Added more links/title information to navigation header and footer
Location:
trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/3rd-party-components.txt

    r5554 r5676  
    270270from the 'language' attribute instead of the 'class' attribute).
    271271
    272 More info: http://www.dreamprojections.com/syntaxhighlighter
     272More info: http://alexgorbatchev.com/SyntaxHighlighter/
    273273Version  : 1.5.1
    274274License  : LGPL (lgpl.txt)
  • trunk/doc/src/docbook/css/SyntaxHighlighter.css

    r3864 r5676  
    3737.dp-highlighter.nogutter
    3838{
    39   border-left: double gray;
     39  border-left: 2px solid #6ce26c;
    4040  margin-left: 1em;
    4141  background-color: inherit;
     
    6969  list-style: decimal-leading-zero; /* better look for others, override cascade from OL */
    7070  list-style-position: outside !important;
    71   border-left: double gray;
     71  border-left: 2px solid #6ce26c;
    7272  color: #5C5C5C;
    73   padding: 0 3px 0 10px !important;
     73  padding: 0 3px 0 6px !important;
    7474  margin: 0 !important;
    7575  line-height: 14px;
  • trunk/doc/src/docbook/index.xml

    r4642 r5676  
    2626<book id="base2_documentation">
    2727  <bookinfo>
    28     <releaseinfo/>
    29     <pubdate/>
     28    <releaseinfo>Last modified: <lastmodified/></releaseinfo>
    3029  </bookinfo>
    3130  <title>BASE <baseversion/> Documentation</title>
     31 
    3232  <include file="overviewdoc/index.xml"/>
    3333  <include file="userdoc/index.xml"/>
  • trunk/lib/docbook/ant-build-docbook.xml

    r5366 r5676  
    225225   
    226226    <!-- Get the revision number and the datetime when the latest file was commited -->
    227     <svn>
     227    <svn dateformatter="yyyy-MM-dd">
    228228    <status path="../../doc/src/docbook" lastChangedRevisionProperty="doc.revision" />
    229229      <status path="../../doc/src/docbook" lastChangedDateProperty="doc.last.modified" />
     
    318318   
    319319    <!-- Get the revision number and the datetime when the latest file was commited -->
    320     <svn>
     320    <svn dateformatter="yyyy-MM-dd">
    321321    <status path="../../doc/src/docbook" lastChangedRevisionProperty="doc.revision" />
    322322      <status path="../../doc/src/docbook" lastChangedDateProperty="doc.last.modified" />
  • trunk/lib/docbook/custom-styles/docbook/plain/css/docbook.css

    r5673 r5676  
    4444    margin-left:    0pt;
    4545    margin-right:   0pt;
    46     border:         1px solid gray;
    47     background:     gray; /* This is for Mozilla */
     46    border:         1px solid #6ce26c;
     47    background:     #6ce26c; /* This is for Mozilla */
    4848}
    4949
     
    6868h1,h2,h3,h4,h5 {
    6969    line-height:    1.3;
    70     margin-top:     1.5em;
     70    margin-top:     1em;
    7171    font-family:    Arial, Sans-serif;
    7272}
     
    7575    text-align:     left;
    7676
    77     margin-top:     2em;
    78     margin-bottom:  2em;
     77    margin-top:     1em;
     78    margin-bottom:  1em;
    7979    margin-left:    0pt;
    8080    margin-right:   0pt;
     
    8383h2.subtitle, h3.subtitle {       /* This applies to document subtitle */
    8484    text-align:     left;
    85     margin-top:     2em;
    86     margin-bottom:  2em;
     85    margin-top:     1em;
     86    margin-bottom:  1em;
    8787    text-transform: uppercase;
    8888}
     
    175175    padding-left:   1em;
    176176    margin-left:    1em;
    177     border-left:    double gray;
     177    border-left:    2px solid #6ce26c;
    178178}
    179179
  • trunk/lib/docbook/custom-styles/docbook/plain/xsl/customized.chunked.xsl

    r5654 r5676  
    178178
    179179<xsl:template name="user.footer.navigation">
    180   <table width="100%">
     180  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    181181  <tr valign="bottom"><td>
    182182  <div
    183183    class="navfooter"
    184184    align="left">
    185     <p>
    186185    <i>
    187186      <xsl:if test="$doc.revision" >
    188         Version: <xsl:value-of select="$base.version"/> (build #<xsl:value-of select="$doc.revision"/>)<br/>
     187        Version: <xsl:value-of select="$base.version"/> (build #<xsl:value-of select="$doc.revision"/>);
    189188      </xsl:if>
    190189      <xsl:if test="$doc.last.modified" >
    191         Book last modified: <xsl:value-of select="$doc.last.modified" />
     190        Last modified: <xsl:value-of select="$doc.last.modified" />;
    192191      </xsl:if>
    193     </i></p>
     192    </i>
    194193  </div>
    195194  </td>
     
    197196    <div class="navfooter" align="right">
    198197    <i>
    199     Syntax coloring provided by <a href="http://www.dreamprojections.com/syntaxhighlighter">dp.SyntaxHighlighter</a>
     198    Syntax coloring provided by <a href="http://alexgorbatchev.com/SyntaxHighlighter/">dp.SyntaxHighlighter</a>
    200199    </i>
    201200    </div>
     
    352351  </xsl:template>
    353352
     353  <xsl:template match="lastmodified">
     354    <xsl:value-of select="$doc.last.modified"/>
     355  </xsl:template>
     356 
    354357  <xsl:template match="baseversion">
    355358    <xsl:value-of select="$base.version"/> 
  • trunk/lib/docbook/docbook/xsl/html/chunk-common.xsl

    r3319 r5676  
    904904                      </xsl:call-template>
    905905                    </xsl:attribute>
     906                    <xsl:attribute name="title">
     907                        <xsl:apply-templates select="$prev" mode="object.title.markup"/>
     908                    </xsl:attribute>
    906909                    <xsl:call-template name="navig.content">
    907910                      <xsl:with-param name="direction" select="'prev'"/>
     
    916919                                  and generate-id($up) != generate-id($home)
    917920                                  and $navig.showtitles != 0">
    918                     <xsl:apply-templates select="$up" mode="object.title.markup"/>
     921                    <a accesskey="u">
     922                      <xsl:attribute name="href">
     923                        <xsl:call-template name="href.target">
     924                          <xsl:with-param name="object" select="$up"/>
     925                        </xsl:call-template>
     926                      </xsl:attribute>
     927                      <xsl:apply-templates select="$up" mode="object.title.markup"/>
     928                    </a>
    919929                  </xsl:when>
    920930                  <xsl:otherwise>&#160;</xsl:otherwise>
     
    929939                        <xsl:with-param name="object" select="$next"/>
    930940                      </xsl:call-template>
     941                    </xsl:attribute>
     942                    <xsl:attribute name="title">
     943                        <xsl:apply-templates select="$next" mode="object.title.markup"/>
    931944                    </xsl:attribute>
    932945                    <xsl:call-template name="navig.content">
     
    10021015                          <xsl:with-param name="object" select="$up"/>
    10031016                        </xsl:call-template>
     1017                      </xsl:attribute>
     1018                      <xsl:attribute name="title">
     1019                        <xsl:apply-templates select="$up" mode="object.title.markup"/>
    10041020                      </xsl:attribute>
    10051021                      <xsl:call-template name="navig.content">
Note: See TracChangeset for help on using the changeset viewer.