diff options
| author | Garrett D'Amore <garrett@damore.org> | 2020-01-26 18:43:41 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2020-01-26 20:19:40 -0800 |
| commit | e80ba7f43993318b1b55d970598b39a89bcd2a60 (patch) | |
| tree | b36301f33b7f9a06e7adfd6fad92fc3d57943714 /_includes | |
| parent | 3e6973c0c065948cff3099ee306b95bf10631fe7 (diff) | |
| download | nng-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.html | 22 | ||||
| -rw-r--r-- | _includes/nn-footer.html | 12 | ||||
| -rw-r--r-- | _includes/nn-header-manpage.html | 23 | ||||
| -rw-r--r-- | _includes/nn-header.html | 23 |
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> + © 2020 <a href="mailto:garrett@damore.org">Staysail Systems, + Inc.</a> + © 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™ and NNG™ 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> + © 2020 <a href="mailto:garrett@damore.org">Garrett D'Amore</a> and + contributors.</a> + <br /> + nanomsg™ and NNG™ 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> |
