From 2fd6861fb72dcd0cd41bd014fda6b44a172c496b Mon Sep 17 00:00:00 2001 From: oceanlvr <36698124+oceanlvr@users.noreply.github.com> Date: Sat, 31 Jul 2021 22:41:15 +0800 Subject: refactor(docs): refactor man & index page (#1472) --- _adoc/index.adoc | 2 +- _config.yml | 3 +- _includes/footer-manpage.html | 2 +- _includes/footer-nng.html | 24 +- _includes/footer.html | 2 +- _includes/header-manpage.html | 85 ++++++ _includes/header-nng.html | 91 ++++-- _includes/nn-content.html | 162 ++++++++++ _includes/nn-footer.html | 2 +- _layouts/manpage.html | 4 +- _layouts/manpage_v2.html | 40 ++- _layouts/nng.html | 19 +- arrows.png | Bin 30345 -> 0 bytes assets/css/bulma.css | 22 ++ assets/css/index.css | 266 ++++++++++++++++ assets/css/man.css | 272 +++++++++++++++++ assets/css/nn-pygments.css | 69 +++++ assets/css/nn.css | 508 ++++++++++++++++++++++++++++++ assets/image/NNg-black.png | Bin 0 -> 2850 bytes assets/image/NNg-white.png | Bin 0 -> 2599 bytes assets/image/compatibility.png | Bin 0 -> 94670 bytes assets/image/feat-extensibility.png | Bin 0 -> 4358 bytes assets/image/feat-maintainability.png | Bin 0 -> 5078 bytes assets/image/feat-reliability.png | Bin 0 -> 4804 bytes assets/image/feat-scalability.png | Bin 0 -> 2018 bytes assets/image/feat-security.png | Bin 0 -> 4456 bytes assets/image/feat-usability.png | Bin 0 -> 3585 bytes assets/image/footer-email.png | Bin 0 -> 1411 bytes assets/image/platforms.png | Bin 0 -> 52005 bytes assets/image/quick-start-bg.png | Bin 0 -> 44106 bytes nn-pygments.css | 69 ----- nn.css | 561 ---------------------------------- 32 files changed, 1511 insertions(+), 692 deletions(-) create mode 100644 _includes/header-manpage.html create mode 100644 _includes/nn-content.html delete mode 100644 arrows.png create mode 100644 assets/css/bulma.css create mode 100644 assets/css/index.css create mode 100644 assets/css/man.css create mode 100644 assets/css/nn-pygments.css create mode 100644 assets/css/nn.css create mode 100644 assets/image/NNg-black.png create mode 100644 assets/image/NNg-white.png create mode 100644 assets/image/compatibility.png create mode 100644 assets/image/feat-extensibility.png create mode 100644 assets/image/feat-maintainability.png create mode 100644 assets/image/feat-reliability.png create mode 100644 assets/image/feat-scalability.png create mode 100644 assets/image/feat-security.png create mode 100644 assets/image/feat-usability.png create mode 100644 assets/image/footer-email.png create mode 100644 assets/image/platforms.png create mode 100644 assets/image/quick-start-bg.png delete mode 100644 nn-pygments.css delete mode 100644 nn.css diff --git a/_adoc/index.adoc b/_adoc/index.adoc index 1bcf3302..55344c6e 100644 --- a/_adoc/index.adoc +++ b/_adoc/index.adoc @@ -12,7 +12,7 @@ image:https://img.shields.io/codacy/grade/f241cba192974787b66f7e4368777ebf?logo= image:https://img.shields.io/lgtm/grade/cpp/github/nanomsg/nng?logo=lgtm&logoColor=grey&label=[LGTM,link="https://lgtm.com/projects/g/nanomsg/nng/?mode=list"] image:https://img.shields.io/discord/639573728212156478?label=&logo=discord[Discord,link="https://discord.gg/Xnac6b9"] image:https://img.shields.io/github/license/nanomsg/nng.svg?logoColor=silver&logo=open-source-initiative&label=&color=blue[MIT License,link="https://github.com/nanomsg/nng/blob/master/LICENSE.txt"] -image:https://img.shields.io/github/v/tag/nanomsg/nng.svg?logo=github&label=[Latest version,link="https://github.com/nanomsg/nng/releases] +image:https://img.shields.io/github/v/tag/nanomsg/nng.svg?logo=github&label=[Latest version,link="https://github.com/nanomsg/nng/releases"] This is the landing page for NNG. diff --git a/_config.yml b/_config.yml index 688f4fef..fb1a9ca0 100644 --- a/_config.yml +++ b/_config.yml @@ -1,3 +1,4 @@ latest: v1.3.2 important_icon: http://nanomsg.org/icons/important.png -exclude: [ _tools ] +exclude: [_tools] +index_path: / diff --git a/_includes/footer-manpage.html b/_includes/footer-manpage.html index 061b7658..37b0e997 100644 --- a/_includes/footer-manpage.html +++ b/_includes/footer-manpage.html @@ -4,7 +4,7 @@