Skip to content

Commit

Permalink
Visual improvements to the docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ceki committed May 25, 2012
1 parent e229046 commit 85af1bb
Show file tree
Hide file tree
Showing 4 changed files with 37 additions and 35 deletions.
10 changes: 9 additions & 1 deletion logback-site/src/site/pages/access.html
Expand Up @@ -52,6 +52,14 @@ <h1>Introduction</h1>

<h1><a name="tomcat" href="#tomcat">Logback-access under Tomcat</a></h1>



<div class="highlight">
Deploying logback-access version ${project.version} on
Tomcat 6.x (instead of Tomcat 7.x) is likely to cause the
server to crash.
</div>

<p>To use logback-access with Tomcat, after downloading the
logback distribution, place the files
<em>logback-core-${project.version}.jar</em> and
Expand All @@ -62,7 +70,7 @@ <h1><a name="tomcat" href="#tomcat">Logback-access under Tomcat</a></h1>
Tomcat 6.x. However, the target platform for logback-access
version 0.9.30 is Tomcat 6.x.
</p>

<h2>LogbackValve</h2>

<p>The <a
Expand Down
21 changes: 14 additions & 7 deletions logback-site/src/site/pages/css/common.css
Expand Up @@ -259,18 +259,25 @@ table.bodyTable tr td p:first-child {
font-family: Arial, sans-serif;
}

/* background:#FFCC99; */
.highlight {
width: 300px;
width: 18em;
float: right;
display: inline;
font-weight: bolder;
border:1px solid #000;
background:#FFCC99;
padding-top: 0px;
font-size: 110%;

border: 2px solid #711;
-webkit-border-radius: 4px;
-moz-border-radius: 4px;
border-radius: 4px;
background:#FFE0B0;
padding-top: 1ex;
padding-left: 1ex;
padding-right: 1ex;
margin-left: 3em;
margin-right: 3em;
padding-bottom: 1ex;
margin-left: 1em;
margin-right: 0em;
margin-bottom: 1ex;
}

.quote {
Expand Down
37 changes: 13 additions & 24 deletions logback-site/src/site/pages/manual/configuration.html
Expand Up @@ -210,14 +210,11 @@ <h3><a name="automaticConf" href="#automaticConf">Automatically configuring logb
16:06:09.046 [main] INFO chapters.configuration.MyApp1 - Exiting application.</p>


<div class="highlight">
<p>
Except code that configures logback (if such code exists)
client code does not need to depend on logback. Applications
that use logback as their logging framework will have a
compile-time dependency on SLF4J but not logback.
</p>
</div>
<p class="highlight">Except code that configures logback (if such
code exists) client code does not need to depend on
logback. Applications that use logback as their logging framework
will have a compile-time dependency on SLF4J but not logback.
</p>

<p>The <code>MyApp1</code> application links to logback via calls
to <code>org.slf4j.LoggerFactory</code> and
Expand Down Expand Up @@ -271,12 +268,9 @@ <h4><a name="automaticStatusPrinting"
href="#automaticStatusPrinting">Automatic printing of status
messages in case of warning or errors</a></h4>

<div class="highlight">
<p>If warning or errors occur during the parsing of the
configuration file, logback will automatically print its internal
status messages on the console.
</p>
</div>
<p class="highlight">If warning or errors occur during the parsing
of the configuration file, logback will automatically print its
internal status messages on the console.</p>

<p>If warnings or errors occur during the parsing of the
configuration file, logback will automatically print status data on
Expand Down Expand Up @@ -405,12 +399,9 @@ <h3><a name="configFileProperty"
<h3><a name="autoScan" href="#autoScan">Automatically reloading
configuration file upon modification</a></h3>

<div class="highlight">
<p>Logback-classic can scan for changes in its configuration file
and automatically reconfigure itself when the configuration
file changes.
</p>
</div>
<p class="highlight">Logback-classic can scan for changes in its
configuration file and automatically reconfigure itself when the
configuration file changes.</p>

<p>If instructed to do so, logback-classic will scan for changes in
its configuration file and automatically reconfigure itself when
Expand Down Expand Up @@ -693,12 +684,10 @@ <h2>
</p>


<div class="highlight">
<p>If you are unsure which case to use for a given tag name, just
follow the <a
<p class="highlight">If you are unsure which case to use for a
given tag name, just follow the <a
href="http://en.wikipedia.org/wiki/CamelCase">camelCase
convention</a> which is almost always the correct convention.</p>
</div>

<h4><a name="caseSensitivity" href="#caseSensitivity">Case
sensitivity of tag names</a></h4>
Expand Down
4 changes: 1 addition & 3 deletions logback-site/src/site/pages/templates/setup.js
@@ -1,10 +1,8 @@

document.write(' <div class="highlight">');
document.write(' <p>');
document.write(' <p class="highlight">');
document.write(' In order to run the examples in this chapter, you need');
document.write(' to make sure that certain jar files are present on the');
document.write(' classpath.');
document.write(' Please refer to the <a href="../setup.html">setup page</a>');
document.write(' for further details.');
document.write(' </p>');
document.write(' </div>');

0 comments on commit 85af1bb

Please sign in to comment.