doc: simplify HTML header and stylesheet

Drop the header and footer that matched spdk.io; the official website
doc generation will drop in the correct header when the docs are
generated.  Also restore the Doxygen header bar to allow navigation on
locally-built docs.

Change-Id: I711d109dc34866917cbaf2cb0045375b0ceb11b0
Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com>
This commit is contained in:
Daniel Verkamp 2017-04-28 13:13:48 -07:00
parent 1b627af8fd
commit 33c81b8bce
4 changed files with 3 additions and 175 deletions

View File

@ -1417,7 +1417,7 @@ ECLIPSE_DOC_ID = org.doxygen.Project
# The default value is: NO.
# This tag requires that the tag GENERATE_HTML is set to YES.
DISABLE_INDEX = YES
DISABLE_INDEX = NO
# The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
# structure should be generated to display hierarchical information. If the tag

View File

@ -1,6 +1 @@
<footer>
<div class="container text-center">
<p class="copyright text-muted small">Copyright © Intel Corporation. All Rights Reserved.</p>
</div>
</footer>
</div>

View File

@ -24,70 +24,3 @@
<body>
<div class="container-fluid">
<div id="top"> <!-- do not remove this div, it is closed by doxygen! -->
<div class="row no-gutters">
<div class="col-sm-12">
<section id="banner-header" class="banner-header">
<div class="banner-message">
<h1>Storage Performance Development Kit</h1>
<hr class="banner-divider">
</div>
</section>
<section id="nav">
<div class="navbar navbar-default banner-tabs">
<ul class="nav navbar-nav">
<li role="presentation">
<a href="http://www.spdk.io/">
<i class="glyphicon glyphicon-home"></i>
<span class="box-name">home</span>
</a>
</li>
<li role="presentation">
<a href="http://www.spdk.io/releases/">
<i class="glyphicon glyphicon-download-alt"></i>
<span class="box-name">download</span>
</a>
</li>
<li class="active" role="presentation">
<a href="index.html">
<i class="glyphicon glyphicon-book"></i>
<span class="box-name">documentation</span>
</a>
</li>
<li role="presentation">
<a href="http://www.spdk.io/development/">
<i class="glyphicon glyphicon-wrench"></i>
<span class="box-name">development</span>
</a>
</li>
<li role="presentation">
<a href="https://lists.01.org/mailman/listinfo/spdk">
<i class="glyphicon glyphicon-envelope"></i>
<span class="box-name">mailing list</span>
</a>
</li>
<li role="presentation">
<a href="http://www.spdk.io/blog/">
<i class="glyphicon glyphicon-comment"></i>
<span class="box-name">Blog</span>
</a>
</li>
<li role="presentation">
<a href="http://www.spdk.io/roadmap/">
<i class="glyphicon glyphicon-map-marker"></i>
<span class="box-name">Roadmap</span>
</a>
</li>
</ul>
</div>
</section>
</div>
</div>

View File

@ -23,108 +23,8 @@ h6 {
padding-left: 0;
}
.navbar-nav {
float: left;
margin: 0;
width: 100%;
}
.banner-header {
padding-top: 50px;
padding-bottom: 0px;
text-align: center;
color: #f8f8f8;
background: url(http://www.spdk.io/img/banner-bg.jpg) no-repeat center center;
background-size: cover;
}
.banner-message {
position: relative;
padding-top: 2%;
padding-bottom: 2%;
}
.banner-message > h1 {
margin: 0;
text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
font-size: 4em;
}
.banner-divider {
width: 400px;
border-top: 1px solid #f8f8f8;
border-bottom: 1px solid rgba(0,0,0,0.2);
}
.banner-message > h3 {
text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
}
.banner-tabs {
margin-bottom: 0px;
}
@media(max-width:767px) {
.banner-message {
padding-bottom: 15%;
}
.banner-message > h1 {
font-size: 3em;
}
ul.banner-tabs > li {
display: block;
margin-bottom: 0px;
padding: 0;
}
ul.banner-tabs > li:last-child {
margin-bottom: 0;
}
.banner-divider {
width: 100%;
}
}
.box-name {
text-transform: uppercase;
font-size: 14px;
font-weight: 400;
letter-spacing: 1px;
padding-left: 3px;
}
.community {
padding: 20px 0;
color: #f8f8f8;
background: url(http://www.spdk.io/img/community-bg.jpg) no-repeat center center;
background-size: cover;
}
.community h2 {
margin: 0;
padding: 50px;
text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
font-size: 3em;
}
@media(max-width:767px) {
.community h2 {
margin: 0;
text-shadow: 2px 2px 3px rgba(0,0,0,0.6);
font-size: 3em;
}
}
footer {
padding: 50px 0;
background-color: #f8f8f8;
}
p.copyright {
margin: 15px 0 0;
.container-fluid {
padding: 0;
}
/* Original Stylesheet */