Skip to content
Browse files

Website updates

  • Loading branch information...
1 parent 9e33eb3 commit bb1015462a8204d473c19fbf2875a0e5dd643569 @njbartlett njbartlett committed Mar 23, 2012
View
12 bndtools.manual/README
@@ -0,0 +1,12 @@
+To build the site:
+==================
+
+$ rm -r out
+$ ./generate.sh
+
+
+To test the site:
+=================
+
+$ ./serve.sh
+$ open http://localhost:8000/
View
5 bndtools.manual/serve.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+cd out/site
+runhaskell site.hs server 8000
+cd ../..
View
34 bndtools.manual/site/navigation.html
@@ -1,34 +0,0 @@
-<ul class="nav">
- <li><a href="/index.html">Home</a></li>
- <li><a href="/news.html">News</a></li>
- <li><a href="/installation.html">Install</a></li>
- <li><a href="/tutorial.html">Tutorial</a></li>
- <!--<li><a href="/concepts.html">Concepts</a></li> -->
- <li><a href="/faq.html">FAQ</a></li>
- <li><a href="/training.html">Training</a></li>
-</ul>
-
-<ul class="nav secondary-nav">
- <li class="dropdown">
- <a href="#" class="dropdown-toggle">Navigation</a>
- <ul class="dropdown-menu">
- <li><a href="/index.html">Home</a></li>
- <li><a href="/news.html">News</a></li>
- <li><a href="/whatsnew1-0-0/">What's New in 1.0.0</a></li>
-
- <li class="divider"/>
-
- <li><a href="/docs_index.html">Docs</a></li>
- <li><a href="/installation.html">... Installation</a></li>
- <li><a href="/tutorial.html">... Tutorial</a><li>
- <li><a href="/concepts.html">... Concepts</a></li>
- <li><a href="/faq.html">... FAQ</a></li>
- <li><a href="/release-notes.html">... Release Notes</a></li>
- <li><a href="/development.html">... Development</a></li>
-
- <li class="divider"/>
-
- <li><a href="/training.html">Training</a></li>
- </ul>
- </li>
-<ul>
View
17 bndtools.manual/site/sidebar.html
@@ -0,0 +1,17 @@
+<h2>Navigation</h2>
+<ul>
+ <li><a href="/index.html">Home</a></li>
+ <li><a href="/news.html">News</a></li>
+ <li><a href="/whatsnew1-0-0/">What's New in 1.0.0</a></li>
+</ul>
+
+<h3>Documentation</h3>
+<ul>
+ <li><a href="/installation.html">Installation</a></li>
+ <li><a href="/tutorial.html">Tutorial</a></li>
+ <li><a href="/concepts.html">Index of Concepts</a></li>
+ <li><a href="/faq.html">FAQ</a></li>
+ <li><a href="/release-notes.html">Release Notes</a></li>
+ <li><a href="/development.html">Development</a></li>
+ <li><a href="/training.html">Training</a></li>
+</ul>
View
7 bndtools.manual/site/site.hs
@@ -55,8 +55,8 @@ main = hakyll $ do
-- Compile templates
match "templates/*" $ compile templateCompiler
- -- Compile topbar, footer
- match (list ["navigation.html", "footer.html"]) $ compile readPageCompiler
+ -- Compile topbar, sidebar, footer
+ match (list ["topbar.html", "sidebar.html", "footer.html"]) $ compile readPageCompiler
-- Html-sourced pages
match (list ["index.html", "installation.html", "training.html" ]) $ do
@@ -89,7 +89,8 @@ processPage = processPagePartial
>>> relativizeUrlsCompiler
processPagePartial :: Compiler (Page String) (Page String)
-processPagePartial = generatePlaceholder "navigation.html" "navigation"
+processPagePartial = generatePlaceholder "sidebar.html" "sidebar"
+ >>> generatePlaceholder "topbar.html" "topbar"
>>> generatePlaceholder "footer.html" "footer"
>>> applyTemplateCompiler "templates/default.html"
View
11 bndtools.manual/site/templates/default.html
@@ -41,8 +41,7 @@
<a class="brand" href="/index.html">
<img src="/images/logo-topbar.png"/>
</a>
- $navigation$
- <!--<p class="pull-right">Logged in as <a href="#">username</a></p>-->
+ $topbar$
</div>
</div>
</div>
@@ -58,17 +57,11 @@
</footer>
</div>
-<!--
<div class="sidebar">
<div class="well">
- <h2>Navigation</h2>
- <ul>
- <li><a href="foo">Item</a></li>
- <li>Item</li>
- </ul>
+ $sidebar$
</div>
</div>
--->
<script src="http://code.jquery.com/jquery-1.5.2.min.js"></script>
<script src="/js/bootstrap-dropdown.js"></script>
View
9 bndtools.manual/site/topbar.html
@@ -0,0 +1,9 @@
+<ul>
+ <li><a href="/index.html">Home</a></li>
+ <li><a href="/news.html">News</a></li>
+ <li><a href="/installation.html">Install</a></li>
+ <li><a href="/tutorial.html">Tutorial</a></li>
+ <li><a href="/faq.html">FAQ</a></li>
+ <li><a href="/training.html">Training</a></li>
+ <li><a href="/whatsnew1-0-0/">New in 1.0.0</a></li>
+<ul>
View
4 bndtools.manual/site/training.html
@@ -70,7 +70,7 @@
<br/>
From 14 Jan: <strong>£1,395</strong>
</td>
- <td><a class="btn primary" href="http://osgi-training-london-feb12.eventbrite.co.uk/">Book now &raquo;</a></td>
+ <td><a class="btn disabled">Book now &raquo;</a></td>
</tr>
<tr>
<td>New York (USA)</td>
@@ -80,7 +80,7 @@
<br/>
From 21 Jan: <strong>US$2,495</strong>
</td>
- <td><a class="btn primary" href="http://osgi-training-ny-feb27.eventbrite.co.uk/">Book now &raquo;</a></td>
+ <td><a class="btn disabled">Book now &raquo;</a></td>
</tr>
<tr>
<td>Washington DC (USA)</td>

0 comments on commit bb10154

Please sign in to comment.
Something went wrong with that request. Please try again.