summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMurray Cumming <murrayc@murrayc.com>2018-03-09 23:04:32 +0100
committerMurray Cumming <murrayc@murrayc.com>2018-03-09 23:04:34 +0100
commit260e697ceb5da6ea161ade434689730871fa981b (patch)
treef8f0de18ae0a0c3b03d48548faaecd6f592419da
parente6d0c163cbd2dd228b1ed7286031ed8870c016ce (diff)
downloadsigc++-260e697ceb5da6ea161ade434689730871fa981b.tar.gz
Use jekyll instead of SSI framgments.
While keeping the old markup and styling for now.
-rw-r--r--docs/_config.yml1
-rw-r--r--docs/_layouts/default.html72
-rw-r--r--docs/devel.md8
-rw-r--r--docs/doc.md9
-rw-r--r--docs/fragments/footer.html_fragment18
-rw-r--r--docs/fragments/html_declaration.html_fragment47
-rw-r--r--docs/glossary.md5
-rw-r--r--docs/index.md6
-rw-r--r--docs/license.md7
-rw-r--r--docs/link.md4
-rw-r--r--docs/stable.md7
11 files changed, 106 insertions, 78 deletions
diff --git a/docs/_config.yml b/docs/_config.yml
new file mode 100644
index 0000000..966d1ac
--- /dev/null
+++ b/docs/_config.yml
@@ -0,0 +1 @@
+name: libsigc++
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
new file mode 100644
index 0000000..b7cba70
--- /dev/null
+++ b/docs/_layouts/default.html
@@ -0,0 +1,72 @@
+---
+---
+<?xml version="1.0" encoding="utf-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
+<html>
+ <head>
+ <title>libsigc++ -- The Typesafe Callback Framework for C++: {{page.title}}</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <link rel="stylesheet" href="style.css" type="text/css" />
+ </head>
+ <body>
+
+ <div id="rightbox">
+
+ <div id="coloredbox">
+
+ <a class="menu" href="index.html">Main</a><br />
+
+ <a class="menu" href="index.html#features">Features</a><br />
+
+ <a class="menu" href="license.html">License</a><br />
+ <br />
+ <a class="menu" href="doc.html">Documentation</a><br />
+
+ <a class="menu" href="stable.html">Download</a><br />
+ <br />
+ <a class="menu" href="devel.html#mail">Mailing List</a><br />
+
+ <a class="menu" href="devel.html#patches">Patches</a><br />
+
+ <a class="menu" href="devel.html#git">Git</a><br />
+ <br />
+ <a class="menu" href="link.html">Links</a><br />
+
+ </div>
+
+ </div>
+
+ <div id="contents">
+ <table border="0" width="90%" cellpadding="0">
+ <tr>
+ <td><img src="pix/logo.gif" width="280" height="85" alt="libsigc++" /></td>
+ <td align="center">
+ <b>Callback Framework for C++</b>
+ </td>
+ </tr>
+ </table>
+
+ <hr></hr>
+
+ <h1>{{page.title}}</h1>
+
+ {{ content }}
+
+</div>
+<hr></hr>
+<div class="right">
+
+<a href="mailto:libsigc-list@gnome.org">libsigc++ mailing list</a>
+ |
+<a href="http://git.gnome.org/browse/libsigcplusplus/">website source</a>
+ |
+<a href="http://sourceforge.net">
+<img src="http://sourceforge.net/sflogo.php?group_id=1970&amp;type=1" alt="*SOURCEFORGE*" width="88" height="31" border="0" /></a>
+&nbsp;
+<a href="http://validator.w3.org/check/referer"><img
+src="http://validator.w3.org/images/vxhtml11"
+alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a>
+
+</div>
+</body>
+</html>
diff --git a/docs/devel.md b/docs/devel.md
index 3ef3ed8..ef0b898 100644
--- a/docs/devel.md
+++ b/docs/devel.md
@@ -1,5 +1,7 @@
-# Development
-
+---
+layout: default
+title: Development
+---
## Mailing List
There is a mailing list,
@@ -22,4 +24,4 @@ We also accept pull requests via the [libsigc++ mirror on GitHub](https://github
libsigc++ is in the [libsigcplusplus](http://git.gnome.org/browse/libsigcplusplus/) module in GNOME's git repository.
-There is also a [libsigc++ mirror on GitHub](https://github.com/GNOME/libsigcplusplus). \ No newline at end of file
+There is also a [libsigc++ mirror on GitHub](https://github.com/GNOME/libsigcplusplus).
diff --git a/docs/doc.md b/docs/doc.md
index b19c7ad..eb8dfb5 100644
--- a/docs/doc.md
+++ b/docs/doc.md
@@ -1,11 +1,12 @@
-## Documentation
-
+---
+layout: default
+title: Documentation
+---
We have both [tutorial-style](http://developer.gnome.org/libsigc++-tutorial/stable/)
and [reference](http://developer.gnome.org/libsigc++/stable/) documentation.
-
## Glossary of terms
For those which just want a quick look at the terms used in
-the system, glance over the [glossary](glossary.shtml) \ No newline at end of file
+the system, glance over the [glossary](glossary.html)
diff --git a/docs/fragments/footer.html_fragment b/docs/fragments/footer.html_fragment
deleted file mode 100644
index 7657dd9..0000000
--- a/docs/fragments/footer.html_fragment
+++ /dev/null
@@ -1,18 +0,0 @@
-</div>
-<hr></hr>
-<div class="right">
-
-<a href="mailto:libsigc-list@gnome.org">libsigc++ mailing list</a>
- |
-<a href="http://git.gnome.org/browse/libsigcplusplus/">website source</a>
- |
-<a href="http://sourceforge.net">
-<img src="http://sourceforge.net/sflogo.php?group_id=1970&amp;type=1" alt="*SOURCEFORGE*" width="88" height="31" border="0" /></a>
-&nbsp;
-<a href="http://validator.w3.org/check/referer"><img
-src="http://validator.w3.org/images/vxhtml11"
-alt="Valid XHTML 1.0!" height="31" width="88" border="0" /></a>
-
-</div>
-</body>
-</html>
diff --git a/docs/fragments/html_declaration.html_fragment b/docs/fragments/html_declaration.html_fragment
deleted file mode 100644
index bc2e483..0000000
--- a/docs/fragments/html_declaration.html_fragment
+++ /dev/null
@@ -1,47 +0,0 @@
-<?xml version="1.0" encoding="iso-8859-1"?>
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-<html>
- <head>
- <title>libsigc++ -- The Typesafe Callback Framework for C++</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
- <link rel="stylesheet" href="style.css" type="text/css" />
- </head>
- <body>
-
- <div id="rightbox">
-
- <div id="coloredbox">
-
- <a class="menu" href="index.shtml">Main</a><br />
-
- <a class="menu" href="index.shtml#features">Features</a><br />
-
- <a class="menu" href="license.shtml">License</a><br />
- <br />
- <a class="menu" href="doc.shtml">Documentation</a><br />
-
- <a class="menu" href="stable.shtml">Download</a><br />
- <br />
- <a class="menu" href="devel.shtml#mail">Mailing List</a><br />
-
- <a class="menu" href="devel.shtml#patches">Patches</a><br />
-
- <a class="menu" href="devel.shtml#git">Git</a><br />
- <br />
- <a class="menu" href="link.shtml">Links</a><br />
-
- </div>
-
- </div>
-
- <div id="contents">
- <table border="0" width="90%" cellpadding="0">
- <tr>
- <td><img src="pix/logo.gif" width="280" height="85" alt="libsigc++" /></td>
- <td align="center">
- <b>Callback Framework for C++</b>
- </td>
- </tr>
- </table>
-
- <hr></hr>
diff --git a/docs/glossary.md b/docs/glossary.md
index 71ac953..f45c5b5 100644
--- a/docs/glossary.md
+++ b/docs/glossary.md
@@ -1,4 +1,7 @@
-## Glossary of Terms
+---
+layout: default
+title: Glossary of Terms
+---
**adaptor** *(noun)* - A function which alters a slot&#8217;s
signature.
diff --git a/docs/index.md b/docs/index.md
index 2ba3090..1eda85a 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,5 +1,7 @@
-# libigc++
-
+---
+layout: default
+title: libsigc++
+---
## About
libsigc++ implements a typesafe callback system for standard C++. It
diff --git a/docs/license.md b/docs/license.md
index 693262b..8dfc9f4 100644
--- a/docs/license.md
+++ b/docs/license.md
@@ -1,3 +1,8 @@
+---
+layout: default
+title: License
+---
+
Libsigc++ is licensed under the [GNU Library General Public License](https://www.gnu.org/licenses/lgpl-3.0-standalone.html)
for all platforms. Our intent in licensing it in this way is to
provide it for use through shared libraries in all projects both
@@ -6,4 +11,4 @@ and link in a static manner. The full body of the license is
provided for your inspection.
This is the only license which grants you use of the software, so
-if you do not agree to its terms, you may not use this software. \ No newline at end of file
+if you do not agree to its terms, you may not use this software.
diff --git a/docs/link.md b/docs/link.md
index 4444fae..8d85af4 100644
--- a/docs/link.md
+++ b/docs/link.md
@@ -1,3 +1,7 @@
+---
+layout: default
+title: Links
+---
## GNOME Links
Libsigc++ is part of the greater GNOME code base.
diff --git a/docs/stable.md b/docs/stable.md
index ff3f5ab..c1ad36e 100644
--- a/docs/stable.md
+++ b/docs/stable.md
@@ -1,4 +1,7 @@
-# Download
+---
+layout: default
+title: Download
+---
## Source Packages
@@ -18,4 +21,4 @@ For instance, Ubuntu Linux, Debian Linux and Fedora Linux have official libsigc+
libsigc++ is built and tested for a standards-compliant C++ compiler. Luckily, the recent versions of all major C++ compilers are now sufficiently standards-compliant.
-libsigc++ version 2.5.1 and later require a C++11-compliant compiler. \ No newline at end of file
+libsigc++ version 2.5.1 and later require a C++11-compliant compiler.