summaryrefslogtreecommitdiff
path: root/_includes
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2020-01-26 18:43:41 -0800
committerGarrett D'Amore <garrett@damore.org>2020-01-26 20:19:40 -0800
commite80ba7f43993318b1b55d970598b39a89bcd2a60 (patch)
treeb36301f33b7f9a06e7adfd6fad92fc3d57943714 /_includes
parent3e6973c0c065948cff3099ee306b95bf10631fe7 (diff)
downloadnng-e80ba7f43993318b1b55d970598b39a89bcd2a60.tar.gz
nng-e80ba7f43993318b1b55d970598b39a89bcd2a60.tar.bz2
nng-e80ba7f43993318b1b55d970598b39a89bcd2a60.zip
Redesign of the tooling, and new styling for manual pages.
This should get us much much closer to proper conformant CSS, and legal HTML5. It also gets rid of some dodgy styling around the old fonts. Finally, we generate the table of contents for all man pages now. This is a rought draft.
Diffstat (limited to '_includes')
-rw-r--r--_includes/nn-footer-manpage.html22
-rw-r--r--_includes/nn-footer.html12
-rw-r--r--_includes/nn-header-manpage.html23
-rw-r--r--_includes/nn-header.html23
4 files changed, 80 insertions, 0 deletions
diff --git a/_includes/nn-footer-manpage.html b/_includes/nn-footer-manpage.html
new file mode 100644
index 00000000..833d9ea3
--- /dev/null
+++ b/_includes/nn-footer-manpage.html
@@ -0,0 +1,22 @@
+<footer class="nn-footer">
+ <div class="nn-footer-inner nn-tan">
+ <div style="display: flex; flex-direction: row">
+ <div>NNG Reference Manual {{ page.version }}</div>
+ <div style="margin-left: auto">
+ <small>
+ &copy; 2020 <a href="mailto:garrett@damore.org">Staysail Systems,
+ Inc.</a>
+ &copy; 2018 <a href="mailto:info@capitar.com">Capitar IT Group BV</a>
+ <br />
+ This document is supplied under the <a
+ href="https://opensource.org/licenses/MIT">MIT License</a>.
+ <br />
+ nanomsg&trade; and NNG&trade; are <a
+ href="https://nanomsg.org/trademarks.html">trademarks</a>
+ of Garrett D'Amore.
+ </small>
+ </div>
+ </div>
+ </div>
+
+</footer> \ No newline at end of file
diff --git a/_includes/nn-footer.html b/_includes/nn-footer.html
new file mode 100644
index 00000000..d4691bb7
--- /dev/null
+++ b/_includes/nn-footer.html
@@ -0,0 +1,12 @@
+<footer class="nn-footer">
+ <div class="nn-footer-inner nn-tan">
+ <small>
+ &copy; 2020 <a href="mailto:garrett@damore.org">Garrett D'Amore</a> and
+ contributors.</a>
+ <br />
+ nanomsg&trade; and NNG&trade; are <a href="https://nanomsg.org/trademarks.html">trademarks</a>
+ of Garrett
+ D'Amore.
+ </small>
+ </div>
+</footer> \ No newline at end of file
diff --git a/_includes/nn-header-manpage.html b/_includes/nn-header-manpage.html
new file mode 100644
index 00000000..dbe5f9fd
--- /dev/null
+++ b/_includes/nn-header-manpage.html
@@ -0,0 +1,23 @@
+<header class="nn-header">
+ <div class="nn-header-inner">
+ <a href="https://nng.nanomsg.org" class="nn-logo">
+ <span class="nn-black">NN</span><span class="nn-tan">G</span>
+ </a>
+
+ <ul class="nn-nav-menu">
+ <li class="nn-nav-item">
+ <a href=" https://nng.nanomsg.org" class="nn-nav-link">Home</a>
+ </li>
+ <li class="nn-nav-item">
+ <a href="https://nng.nanomsg.org/man/" class="nn-nav-link">Documentation</a>
+ </li>
+ <li class="nn-nav-item">
+ <a href="https://discord.gg/Xnac6b9" class="nn-nav-link">Discord</a>
+ </li>
+
+ <li class="nn-nav-item">
+ <a href="https://github.com/nanomsg/nng" class="nn-nav-link">GitHub</a>
+ </li>
+ </ul>
+ </div>
+</header>
diff --git a/_includes/nn-header.html b/_includes/nn-header.html
new file mode 100644
index 00000000..dbe5f9fd
--- /dev/null
+++ b/_includes/nn-header.html
@@ -0,0 +1,23 @@
+<header class="nn-header">
+ <div class="nn-header-inner">
+ <a href="https://nng.nanomsg.org" class="nn-logo">
+ <span class="nn-black">NN</span><span class="nn-tan">G</span>
+ </a>
+
+ <ul class="nn-nav-menu">
+ <li class="nn-nav-item">
+ <a href=" https://nng.nanomsg.org" class="nn-nav-link">Home</a>
+ </li>
+ <li class="nn-nav-item">
+ <a href="https://nng.nanomsg.org/man/" class="nn-nav-link">Documentation</a>
+ </li>
+ <li class="nn-nav-item">
+ <a href="https://discord.gg/Xnac6b9" class="nn-nav-link">Discord</a>
+ </li>
+
+ <li class="nn-nav-item">
+ <a href="https://github.com/nanomsg/nng" class="nn-nav-link">GitHub</a>
+ </li>
+ </ul>
+ </div>
+</header>