Web: Add links to headings from long pages
This commit is contained in:
parent
60f93f96a2
commit
e9ea8a4d37
|
@ -38,9 +38,20 @@
|
|||
</ul>
|
||||
</div> <!-- .wrap -->
|
||||
</div> <!-- #tabs -->
|
||||
<div id="anchors">
|
||||
<div class="wrap">
|
||||
<ul>
|
||||
<li><a href="#source-code">Source Code</a></li>
|
||||
<li><a href="#trac-timeline">Trac Timeline</a></li>
|
||||
<li><a href="#active-forum-topics">Active Forum Topics</a></li>
|
||||
<li><a href="#doxygen">Doxygen</a></li>
|
||||
<li><a href="#other">Other</a></li>
|
||||
</ul>
|
||||
</div> <!-- .wrap -->
|
||||
</div> <!-- #anchors -->
|
||||
<div id="content">
|
||||
<div class="wrap">
|
||||
<h2>Source Code</h2>
|
||||
<h2><a id="source-code">Source Code</a></h2>
|
||||
<p>Latest version can be found in the <a href="https://github.com/danmar/cppcheck/">
|
||||
cppcheck git repository</a>.</p>
|
||||
<p>To get the source code using git:</p>
|
||||
|
@ -52,7 +63,7 @@ the latest sources in a zip or tgz archive</a> from the github website.</p>
|
|||
<h3>Recent Commits</h3>
|
||||
<div id="github-commits"><a href="https://github.com/danmar/cppcheck/commits/master">View recent commits…</a></div>
|
||||
<p><a href="https://github.com/danmar/cppcheck/commits/master">View all commits…</a></p>
|
||||
<h2>Trac Timeline</h2>
|
||||
<h2><a id="trac-timeline">Trac Timeline</a></h2>
|
||||
<?php
|
||||
require '../site/simplepie/simplepie.inc';
|
||||
|
||||
|
@ -68,7 +79,7 @@ the latest sources in a zip or tgz archive</a> from the github website.</p>
|
|||
print("</ul>\n");
|
||||
?>
|
||||
<p><a href="http://sourceforge.net/apps/trac/cppcheck/timeline">View complete Trac timeline…</a></p>
|
||||
<h2>Active Forum Topics</h2>
|
||||
<h2><a id="active-forum-topics">Active Forum Topics</a></h2>
|
||||
<?php
|
||||
require '../site/activetopics.php';
|
||||
|
||||
|
@ -85,12 +96,12 @@ the latest sources in a zip or tgz archive</a> from the github website.</p>
|
|||
print("</ul>\n");
|
||||
?>
|
||||
<p><a href="http://sourceforge.net/apps/phpbb/cppcheck/search.php?st=0&search_id=active_topics">View all active topics…</a></p>
|
||||
<h2>Doxygen</h2>
|
||||
<h2><a id="doxygen">Doxygen</a></h2>
|
||||
<ul>
|
||||
<li><a href="doxyoutput/">Output</a></li>
|
||||
<li><a href="doxygen-errors.txt">Errors</a></li>
|
||||
</ul>
|
||||
<h2>Other</h2>
|
||||
<h2><a id="other">Other</a></h2>
|
||||
<ul>
|
||||
<li><a href="coverage_report/">Coverage report</a></li>
|
||||
<li><a href="cpd.txt">CPD report (duplicate code)</a></li>
|
||||
|
|
|
@ -35,6 +35,18 @@ uninitialized variables, unused functions" />
|
|||
</ul>
|
||||
</div> <!-- .wrap -->
|
||||
</div> <!-- #tabs -->
|
||||
<div id="anchors">
|
||||
<div class="wrap">
|
||||
<ul>
|
||||
<li><a href="#download">Download</a></li>
|
||||
<li><a href="#features">Features</a></li>
|
||||
<li><a href="#news">News</a></li>
|
||||
<li><a href="#documentation">Documentation</a></li>
|
||||
<li><a href="#support">Support</a></li>
|
||||
<li><a href="#contribute">Contribute</a></li>
|
||||
</ul>
|
||||
</div> <!-- .wrap -->
|
||||
</div> <!-- #anchors -->
|
||||
<div id="content">
|
||||
<div class="wrap">
|
||||
<p><strong>Cppcheck</strong> is an <a href="http://en.wikipedia.org/wiki/Static_analysis_tool">static analysis tool</a>
|
||||
|
@ -43,7 +55,7 @@ not detect syntax errors in the code. Cppcheck primarily detects the types of
|
|||
bugs that the compilers normally do not detect. The goal is to detect only real
|
||||
errors in the code (i.e. have zero false positives).</p>
|
||||
|
||||
<h2>Download</h2>
|
||||
<h2><a id="download">Download</a></h2>
|
||||
<p><a class="downloadnow" href="http://sourceforge.net/projects/cppcheck/files/cppcheck/1.55/cppcheck-1.55-x86-Setup.msi"><strong>Download Now!</strong> <em>Version 1.55 for Windows</em></a></p>
|
||||
<p>You can download the standalone Cppcheck from our
|
||||
<a href="http://sourceforge.net/projects/cppcheck/">project page</a> or add it
|
||||
|
@ -59,7 +71,7 @@ as a plugin for your favorite IDE:</p>
|
|||
<p>There is no plugin for <strong>Visual Studio</strong>, but it is possible to
|
||||
add Cppcheck as an external tool.</p>
|
||||
|
||||
<h2>Features</h2>
|
||||
<h2><a id="features">Features</a></h2>
|
||||
<ul>
|
||||
<li>Out of bounds checking</li>
|
||||
<li>Check the code for each class</li>
|
||||
|
@ -70,7 +82,7 @@ add Cppcheck as an external tool.</p>
|
|||
<li>Check for uninitialized variables and unused functions</li>
|
||||
</ul>
|
||||
|
||||
<h2>News</h2>
|
||||
<h2><a id="news">News</a></h2>
|
||||
<?php
|
||||
require './site/simplepie/simplepie.inc';
|
||||
|
||||
|
@ -86,11 +98,11 @@ add Cppcheck as an external tool.</p>
|
|||
?>
|
||||
<p><a href="http://sourceforge.net/news/?group_id=195752">View all news…</a></p>
|
||||
|
||||
<h2>Documentation</h2>
|
||||
<h2><a id="documentation">Documentation</a></h2>
|
||||
<p>You can read the <a href="manual.pdf">manual</a> or download some
|
||||
<a href="http://sourceforge.net/projects/cppcheck/files/Articles/">articles</a>.</p>
|
||||
|
||||
<h2>Support</h2>
|
||||
<h2><a id="support">Support</a></h2>
|
||||
<ul>
|
||||
<li>Use <a href="http://sourceforge.net/apps/trac/cppcheck/">Trac</a> to report
|
||||
bugs and feature requests</li>
|
||||
|
@ -98,7 +110,8 @@ add Cppcheck as an external tool.</p>
|
|||
or at the IRC channel <a href="irc://irc.freenode.net/">#cppcheck</a></li>
|
||||
<li>For more details look at the <a href="http://sourceforge.net/apps/mediawiki/cppcheck/">wiki</a></li>
|
||||
</ul>
|
||||
<h2>Contribute</h2>
|
||||
|
||||
<h2><a id="contribute">Contribute</a></h2>
|
||||
<p>You are welcome to contribute. Help is needed.</p>
|
||||
<dl>
|
||||
<dt>Testing</dt>
|
||||
|
|
|
@ -14,7 +14,7 @@ dt {
|
|||
a:link { color:#036; text-decoration:underline; }
|
||||
a:visited { color:#036; text-decoration:underline; }
|
||||
a:focus { color:#369; text-decoration:none; }
|
||||
a:hover { color:#369; text-decoration:none; }
|
||||
a:link:hover, a:visited:hover { color:#369; text-decoration:none; }
|
||||
a:active { color:#369; text-decoration:none; }
|
||||
|
||||
/* Header */
|
||||
|
@ -64,6 +64,25 @@ a:active { color:#369; text-decoration:none; }
|
|||
#tabs a:hover { color:#fff; text-decoration:underline; }
|
||||
#tabs a:active { color:#fff; text-decoration:underline; }
|
||||
|
||||
/* Anchors */
|
||||
#anchors ul {
|
||||
margin: 0;
|
||||
padding: .5em 0;
|
||||
list-style-type: none;
|
||||
font-size: smaller;
|
||||
}
|
||||
#anchors ul li {
|
||||
display: inline;
|
||||
margin: 0;
|
||||
padding: 0 .5em;
|
||||
}
|
||||
#anchors ul li:first-child {
|
||||
padding-left: 0;
|
||||
}
|
||||
#anchors .wrap {
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/* Wrap */
|
||||
.wrap {
|
||||
width: 50em;
|
||||
|
|
Loading…
Reference in New Issue