Skip to content

Commit e28c4be

Browse files
committed
website: import full sources
Import full website sources, rather than relying on external auto-generation. Signed-off-by: David Rheinsberg <[email protected]>
1 parent 4f76e6d commit e28c4be

24 files changed

+255
-809
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: n-acd
3+
description: IPv4 Address Conflict Detection
4+
licenses:
5+
- Apache Software License 2.0
6+
- Lesser General Public License 2.1+
7+
---
8+
The *n-acd* project implements the *IPv4 Address Conflict Detection* standard
9+
as defined in *RFC-5227*. The state machine is implemented in a shared library
10+
and provides a stable *ISO-C11* API. The implementation is linux-only and
11+
relies heavily on the API behavior of recent linux kernel releases.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
title: n-dhcp4
3+
description: Dynamic Host Configuration Protocol for IPv4
4+
licenses:
5+
- Apache Software License 2.0
6+
- Lesser General Public License 2.1+
7+
---
8+
The n-dhcp4 project implements the IPv4 Dynamic Host Configuration Protocol as
9+
defined in RFC-2132+.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
title: n-ipv4ll
3+
description: IPv4 Link-Local Address Selection
4+
licenses:
5+
- Apache Software License 2.0
6+
- Lesser General Public License 2.1+
7+
---
8+
The *n-ipv4ll* project implements link-local address selection for IPv4 as
9+
defined in *RFC-3927*. The implementation is linux-only and relies on modern
10+
linux kernel behavior and features.

_config.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# Site configuration
2+
title: "nettools"
3+
name: "Nettools"
4+
description: "Linux Network Management Tools"
5+
author: "Nettools Project"
6+
7+
# Resource configuration
8+
avatar: "images/nettools.svg"
9+
favicon: "images/nettools.ico"
10+
url: "https://nettools.github.io"
11+
12+
# Media handles
13+
media:
14+
15+
github: "nettools"
16+
17+
#
18+
# Generic Setup
19+
#
20+
21+
collections:
22+
projects_nettools:
23+
output: true
24+
25+
defaults:
26+
- scope:
27+
path: ""
28+
type: "pages"
29+
values:
30+
layout: "page"
31+
- scope:
32+
path: "_collections/_projects_*"
33+
values:
34+
layout: "project"
35+
permalink: "/:title/"
36+
37+
collections_dir: "_collections"
38+
39+
plugins:
40+
- jekyll-sitemap

_includes/head.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<head>
2+
<meta charset="utf-8" />
3+
<meta content='text/html; charset=utf-8' http-equiv='Content-Type'>
4+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
5+
6+
{% if page.title %}
7+
<title>{{ page.title }}</title>
8+
<meta name="title" content="{{ page.title }}" />
9+
<meta property="og:title" content="{{ page.title }}" />
10+
{% else %}
11+
<title>{{ site.name }} – {{ site.description }}</title>
12+
<meta name="title" content="{{ site.name }} – {{ site.description }}" />
13+
<meta property="og:title" content="{{ site.name }} – {{ site.description }}" />
14+
{% endif %}
15+
16+
{% if page.excerpt %}
17+
<meta name="description" content="{{ page.excerpt | strip_html }}" />
18+
<meta property="og:description" content="{{ page.excerpt | strip_html }}" />
19+
{% else %}
20+
<meta name="description" content="{{ site.description }}">
21+
<meta property="og:description" content="{{ site.description }}" />
22+
{% endif %}
23+
24+
<meta name="author" content="{{ site.author }}" />
25+
26+
<link rel="shortcut icon" href="{{ site.baseurl }}/{{ site.favicon }}" />
27+
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/stylesheets/style.css" />
28+
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/stylesheets/media-icons.css" />
29+
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/stylesheets/syntax.css" />
30+
</head>

_includes/media-icons.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
{% if site.media.email %}<a href="mailto:{{ site.media.email }}"><i class="media-icon email"></i></a>{% endif %}
2+
{% if site.media.github %}<a href="https://github.com/{{ site.media.github }}"><i class="media-icon github"></i></a>{% endif %}

_layouts/page.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
layout: root
3+
---
4+
<article>
5+
{{ content }}
6+
</article>

_layouts/project.html

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
layout: root
3+
style_pair_key: "fl cl mr2 b"
4+
---
5+
<article>
6+
<h1>{{ page.title }}</h1>
7+
8+
<dl class="ml4">
9+
<dt class="{{ layout.style_pair_key }}">Repository:</dt>
10+
<dd>
11+
<a href="https://github.com/{{ site.title }}/{{ page.title }}">@GitHub</a>
12+
</dd>
13+
<dt class="{{ layout.style_pair_key }}">Issue-Tracker:</dt>
14+
<dd>
15+
<a href="https://github.com/{{ site.title }}/{{ page.title }}/issues">@GitHub</a></li>
16+
</dd>
17+
{% if page.documentation %}
18+
<dt class="{{ layout.style_pair_key }}">Documentation:</dt>
19+
<dd>
20+
{{ page.documentation }}
21+
</dd>
22+
{% endif %}
23+
{% if page.licenses %}
24+
<dt class="{{ layout.style_pair_key }}">Licenses:</dt>
25+
<dd class="cl">
26+
<ul class="ma0">
27+
{% for license in page.licenses %}
28+
<li class="i">{{ license }}</li>
29+
{% endfor %}
30+
</ul>
31+
</dd>
32+
{% endif %}
33+
</dl>
34+
35+
{{ content }}
36+
</article>

_layouts/root.html

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
---
2+
---
3+
<!DOCTYPE html>
4+
<html>
5+
{% include head.html %}
6+
7+
<body>
8+
<header class="tc pv4">
9+
<div>
10+
<a href="{{ '' | relative_url }}/">
11+
<img class="h3 w3"
12+
alt="Back to home"
13+
src="{{ site.avatar | relative_url }}" />
14+
</a>
15+
<h1 class="f5 f4-ns fw6 black-70">{{ site.name }}</h1>
16+
<h2 class="f6 black-70 fw2 ttu tracked">{{ site.description }}</h2>
17+
</div>
18+
19+
<nav class="lh-copy">
20+
<a href="{{ '' | relative_url }}/"
21+
class="mh2 link blue hover-mid-gray">Home</a>
22+
{% if site.media.github %}
23+
<a href="https://github.com/{{ site.media.github }}"
24+
class="mh2 link blue hover-mid-gray">@GitHub</a>
25+
{% endif %}
26+
</nav>
27+
</header>
28+
29+
<main class="mw7 overflow-hidden
30+
center pv4 ph2
31+
bt b--light-gray
32+
lh-copy markdown">
33+
{{ content }}
34+
</main>
35+
36+
<footer class="tc pv3 bt bb b--light-silver bg-light-gray">
37+
{% include media-icons.html %}
38+
</footer>
39+
</body>
40+
</html>

images/c-util.ico

-4.19 KB
Binary file not shown.

images/c-util.png

-26.1 KB
Binary file not shown.

images/c-util.svg

Lines changed: 0 additions & 110 deletions
This file was deleted.

images/converse1.ico

-4.19 KB
Binary file not shown.

images/converse1.png

-29 KB
Binary file not shown.

images/converse1.svg

Lines changed: 0 additions & 82 deletions
This file was deleted.

images/r-util.ico

-4.19 KB
Binary file not shown.

images/r-util.png

-29.7 KB
Binary file not shown.

0 commit comments

Comments
 (0)