Skip to content

Commit 49e03c3

Browse files
authored
Merge pull request #7106 from NethServer/handbook
Handbook
2 parents 36021e5 + d7b69a6 commit 49e03c3

File tree

12 files changed

+1044
-0
lines changed

12 files changed

+1044
-0
lines changed

handbook/Gemfile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# frozen_string_literal: true
2+
3+
source "https://rubygems.org"
4+
5+
git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
6+
7+
# gem "rails"
8+
gem "logger"
9+
gem "jekyll"
10+
gem "github-pages", group: :jekyll_plugins
11+
12+
gem "webrick", "~> 1.7"

handbook/Gemfile.lock

Lines changed: 281 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,281 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
activesupport (7.2.2)
5+
base64
6+
benchmark (>= 0.3)
7+
bigdecimal
8+
concurrent-ruby (~> 1.0, >= 1.3.1)
9+
connection_pool (>= 2.2.5)
10+
drb
11+
i18n (>= 1.6, < 2)
12+
logger (>= 1.4.2)
13+
minitest (>= 5.1)
14+
securerandom (>= 0.3)
15+
tzinfo (~> 2.0, >= 2.0.5)
16+
addressable (2.8.7)
17+
public_suffix (>= 2.0.2, < 7.0)
18+
base64 (0.2.0)
19+
benchmark (0.3.0)
20+
bigdecimal (3.1.8)
21+
coffee-script (2.4.1)
22+
coffee-script-source
23+
execjs
24+
coffee-script-source (1.12.2)
25+
colorator (1.1.0)
26+
commonmarker (0.23.10)
27+
concurrent-ruby (1.3.4)
28+
connection_pool (2.4.1)
29+
csv (3.3.0)
30+
dnsruby (1.72.2)
31+
simpleidn (~> 0.2.1)
32+
drb (2.2.1)
33+
em-websocket (0.5.3)
34+
eventmachine (>= 0.12.9)
35+
http_parser.rb (~> 0)
36+
ethon (0.16.0)
37+
ffi (>= 1.15.0)
38+
eventmachine (1.2.7)
39+
execjs (2.10.0)
40+
faraday (2.12.0)
41+
faraday-net_http (>= 2.0, < 3.4)
42+
json
43+
logger
44+
faraday-net_http (3.3.0)
45+
net-http
46+
ffi (1.17.0-x86_64-linux-gnu)
47+
forwardable-extended (2.6.0)
48+
gemoji (4.1.0)
49+
github-pages (232)
50+
github-pages-health-check (= 1.18.2)
51+
jekyll (= 3.10.0)
52+
jekyll-avatar (= 0.8.0)
53+
jekyll-coffeescript (= 1.2.2)
54+
jekyll-commonmark-ghpages (= 0.5.1)
55+
jekyll-default-layout (= 0.1.5)
56+
jekyll-feed (= 0.17.0)
57+
jekyll-gist (= 1.5.0)
58+
jekyll-github-metadata (= 2.16.1)
59+
jekyll-include-cache (= 0.2.1)
60+
jekyll-mentions (= 1.6.0)
61+
jekyll-optional-front-matter (= 0.3.2)
62+
jekyll-paginate (= 1.1.0)
63+
jekyll-readme-index (= 0.3.0)
64+
jekyll-redirect-from (= 0.16.0)
65+
jekyll-relative-links (= 0.6.1)
66+
jekyll-remote-theme (= 0.4.3)
67+
jekyll-sass-converter (= 1.5.2)
68+
jekyll-seo-tag (= 2.8.0)
69+
jekyll-sitemap (= 1.4.0)
70+
jekyll-swiss (= 1.0.0)
71+
jekyll-theme-architect (= 0.2.0)
72+
jekyll-theme-cayman (= 0.2.0)
73+
jekyll-theme-dinky (= 0.2.0)
74+
jekyll-theme-hacker (= 0.2.0)
75+
jekyll-theme-leap-day (= 0.2.0)
76+
jekyll-theme-merlot (= 0.2.0)
77+
jekyll-theme-midnight (= 0.2.0)
78+
jekyll-theme-minimal (= 0.2.0)
79+
jekyll-theme-modernist (= 0.2.0)
80+
jekyll-theme-primer (= 0.6.0)
81+
jekyll-theme-slate (= 0.2.0)
82+
jekyll-theme-tactile (= 0.2.0)
83+
jekyll-theme-time-machine (= 0.2.0)
84+
jekyll-titles-from-headings (= 0.5.3)
85+
jemoji (= 0.13.0)
86+
kramdown (= 2.4.0)
87+
kramdown-parser-gfm (= 1.1.0)
88+
liquid (= 4.0.4)
89+
mercenary (~> 0.3)
90+
minima (= 2.5.1)
91+
nokogiri (>= 1.16.2, < 2.0)
92+
rouge (= 3.30.0)
93+
terminal-table (~> 1.4)
94+
webrick (~> 1.8)
95+
github-pages-health-check (1.18.2)
96+
addressable (~> 2.3)
97+
dnsruby (~> 1.60)
98+
octokit (>= 4, < 8)
99+
public_suffix (>= 3.0, < 6.0)
100+
typhoeus (~> 1.3)
101+
html-pipeline (2.14.3)
102+
activesupport (>= 2)
103+
nokogiri (>= 1.4)
104+
http_parser.rb (0.8.0)
105+
i18n (1.14.6)
106+
concurrent-ruby (~> 1.0)
107+
jekyll (3.10.0)
108+
addressable (~> 2.4)
109+
colorator (~> 1.0)
110+
csv (~> 3.0)
111+
em-websocket (~> 0.5)
112+
i18n (>= 0.7, < 2)
113+
jekyll-sass-converter (~> 1.0)
114+
jekyll-watch (~> 2.0)
115+
kramdown (>= 1.17, < 3)
116+
liquid (~> 4.0)
117+
mercenary (~> 0.3.3)
118+
pathutil (~> 0.9)
119+
rouge (>= 1.7, < 4)
120+
safe_yaml (~> 1.0)
121+
webrick (>= 1.0)
122+
jekyll-avatar (0.8.0)
123+
jekyll (>= 3.0, < 5.0)
124+
jekyll-coffeescript (1.2.2)
125+
coffee-script (~> 2.2)
126+
coffee-script-source (~> 1.12)
127+
jekyll-commonmark (1.4.0)
128+
commonmarker (~> 0.22)
129+
jekyll-commonmark-ghpages (0.5.1)
130+
commonmarker (>= 0.23.7, < 1.1.0)
131+
jekyll (>= 3.9, < 4.0)
132+
jekyll-commonmark (~> 1.4.0)
133+
rouge (>= 2.0, < 5.0)
134+
jekyll-default-layout (0.1.5)
135+
jekyll (>= 3.0, < 5.0)
136+
jekyll-feed (0.17.0)
137+
jekyll (>= 3.7, < 5.0)
138+
jekyll-gist (1.5.0)
139+
octokit (~> 4.2)
140+
jekyll-github-metadata (2.16.1)
141+
jekyll (>= 3.4, < 5.0)
142+
octokit (>= 4, < 7, != 4.4.0)
143+
jekyll-include-cache (0.2.1)
144+
jekyll (>= 3.7, < 5.0)
145+
jekyll-mentions (1.6.0)
146+
html-pipeline (~> 2.3)
147+
jekyll (>= 3.7, < 5.0)
148+
jekyll-optional-front-matter (0.3.2)
149+
jekyll (>= 3.0, < 5.0)
150+
jekyll-paginate (1.1.0)
151+
jekyll-readme-index (0.3.0)
152+
jekyll (>= 3.0, < 5.0)
153+
jekyll-redirect-from (0.16.0)
154+
jekyll (>= 3.3, < 5.0)
155+
jekyll-relative-links (0.6.1)
156+
jekyll (>= 3.3, < 5.0)
157+
jekyll-remote-theme (0.4.3)
158+
addressable (~> 2.0)
159+
jekyll (>= 3.5, < 5.0)
160+
jekyll-sass-converter (>= 1.0, <= 3.0.0, != 2.0.0)
161+
rubyzip (>= 1.3.0, < 3.0)
162+
jekyll-sass-converter (1.5.2)
163+
sass (~> 3.4)
164+
jekyll-seo-tag (2.8.0)
165+
jekyll (>= 3.8, < 5.0)
166+
jekyll-sitemap (1.4.0)
167+
jekyll (>= 3.7, < 5.0)
168+
jekyll-swiss (1.0.0)
169+
jekyll-theme-architect (0.2.0)
170+
jekyll (> 3.5, < 5.0)
171+
jekyll-seo-tag (~> 2.0)
172+
jekyll-theme-cayman (0.2.0)
173+
jekyll (> 3.5, < 5.0)
174+
jekyll-seo-tag (~> 2.0)
175+
jekyll-theme-dinky (0.2.0)
176+
jekyll (> 3.5, < 5.0)
177+
jekyll-seo-tag (~> 2.0)
178+
jekyll-theme-hacker (0.2.0)
179+
jekyll (> 3.5, < 5.0)
180+
jekyll-seo-tag (~> 2.0)
181+
jekyll-theme-leap-day (0.2.0)
182+
jekyll (> 3.5, < 5.0)
183+
jekyll-seo-tag (~> 2.0)
184+
jekyll-theme-merlot (0.2.0)
185+
jekyll (> 3.5, < 5.0)
186+
jekyll-seo-tag (~> 2.0)
187+
jekyll-theme-midnight (0.2.0)
188+
jekyll (> 3.5, < 5.0)
189+
jekyll-seo-tag (~> 2.0)
190+
jekyll-theme-minimal (0.2.0)
191+
jekyll (> 3.5, < 5.0)
192+
jekyll-seo-tag (~> 2.0)
193+
jekyll-theme-modernist (0.2.0)
194+
jekyll (> 3.5, < 5.0)
195+
jekyll-seo-tag (~> 2.0)
196+
jekyll-theme-primer (0.6.0)
197+
jekyll (> 3.5, < 5.0)
198+
jekyll-github-metadata (~> 2.9)
199+
jekyll-seo-tag (~> 2.0)
200+
jekyll-theme-slate (0.2.0)
201+
jekyll (> 3.5, < 5.0)
202+
jekyll-seo-tag (~> 2.0)
203+
jekyll-theme-tactile (0.2.0)
204+
jekyll (> 3.5, < 5.0)
205+
jekyll-seo-tag (~> 2.0)
206+
jekyll-theme-time-machine (0.2.0)
207+
jekyll (> 3.5, < 5.0)
208+
jekyll-seo-tag (~> 2.0)
209+
jekyll-titles-from-headings (0.5.3)
210+
jekyll (>= 3.3, < 5.0)
211+
jekyll-watch (2.2.1)
212+
listen (~> 3.0)
213+
jemoji (0.13.0)
214+
gemoji (>= 3, < 5)
215+
html-pipeline (~> 2.2)
216+
jekyll (>= 3.0, < 5.0)
217+
json (2.8.1)
218+
kramdown (2.4.0)
219+
rexml
220+
kramdown-parser-gfm (1.1.0)
221+
kramdown (~> 2.0)
222+
liquid (4.0.4)
223+
listen (3.9.0)
224+
rb-fsevent (~> 0.10, >= 0.10.3)
225+
rb-inotify (~> 0.9, >= 0.9.10)
226+
logger (1.6.1)
227+
mercenary (0.3.6)
228+
minima (2.5.1)
229+
jekyll (>= 3.5, < 5.0)
230+
jekyll-feed (~> 0.9)
231+
jekyll-seo-tag (~> 2.1)
232+
minitest (5.25.1)
233+
net-http (0.5.0)
234+
uri
235+
nokogiri (1.16.7-x86_64-linux)
236+
racc (~> 1.4)
237+
octokit (4.25.1)
238+
faraday (>= 1, < 3)
239+
sawyer (~> 0.9)
240+
pathutil (0.16.2)
241+
forwardable-extended (~> 2.6)
242+
public_suffix (5.1.1)
243+
racc (1.8.1)
244+
rb-fsevent (0.11.2)
245+
rb-inotify (0.11.1)
246+
ffi (~> 1.0)
247+
rexml (3.3.9)
248+
rouge (3.30.0)
249+
rubyzip (2.3.2)
250+
safe_yaml (1.0.5)
251+
sass (3.7.4)
252+
sass-listen (~> 4.0.0)
253+
sass-listen (4.0.0)
254+
rb-fsevent (~> 0.9, >= 0.9.4)
255+
rb-inotify (~> 0.9, >= 0.9.7)
256+
sawyer (0.9.2)
257+
addressable (>= 2.3.5)
258+
faraday (>= 0.17.3, < 3)
259+
securerandom (0.3.1)
260+
simpleidn (0.2.3)
261+
terminal-table (1.8.0)
262+
unicode-display_width (~> 1.1, >= 1.1.1)
263+
typhoeus (1.4.1)
264+
ethon (>= 0.9.0)
265+
tzinfo (2.0.6)
266+
concurrent-ruby (~> 1.0)
267+
unicode-display_width (1.8.0)
268+
uri (1.0.0)
269+
webrick (1.9.0)
270+
271+
PLATFORMS
272+
x86_64-linux
273+
274+
DEPENDENCIES
275+
github-pages
276+
jekyll
277+
logger
278+
webrick (~> 1.7)
279+
280+
BUNDLED WITH
281+
2.5.20

handbook/README.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Build the documentation
2+
3+
The documentation is built using Github pages on each commit to the main branch.
4+
5+
## Build locally
6+
7+
Tested on Fedora 36 and Ubuntu 22.04.
8+
Install the dependencies make sure to install ruby >= 3.0.
9+
10+
- Fedora:
11+
```
12+
dnf module install ruby
13+
dnf install gcc g++
14+
```
15+
16+
- Ubuntu:
17+
```
18+
apt install build-essential ruby-full
19+
```
20+
21+
Install jekyll and all dependencies:
22+
```
23+
bundle config set --local path '.bundle/vendor'
24+
bundle install
25+
```
26+
27+
Build and serve the site locally:
28+
```
29+
bundle exec jekyll serve
30+
```

handbook/_config.yml

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
# Welcome to Jekyll!
2+
#
3+
# This config file is meant for settings that affect your whole site, values
4+
# which you are expected to set up once and rarely edit after that. If you find
5+
# yourself editing these this file very often, consider using Jekyll's data files
6+
# feature for the data you need to update frequently.
7+
#
8+
# For technical reasons, this file is *NOT* reloaded automatically when you use
9+
# 'jekyll serve'. If you change this file, please restart the server process.
10+
11+
# Site settings
12+
# These are used to personalize your new site. If you look in the HTML files,
13+
# you will see them accessed via {{ site.title }}, {{ site.github_repo }}, and so on.
14+
# You can create any custom variable you would like, and they will be accessible
15+
# in the templates via {{ site.myvariable }}.
16+
title: Developer handbook
17+
description: Nethesis developer handbook
18+
remote_theme: pmarsceill/just-the-docs
19+
20+
permalink: pretty
21+
exclude: [vendor]
22+
23+
# Set a path/url to a logo that will be displayed instead of the title
24+
#logo: "/assets/images/just-the-docs.png
25+
favicon_ico: "/assets/favicon.png"
26+
27+
# Enable or disable the site search
28+
search_enabled: true
29+
30+
# Set the search token separator for hyphenated-word search:
31+
search_tokenizer_separator: /[\s/]+/
32+
33+
# Enable or disable heading anchors
34+
heading_anchors: true
35+
36+
# Aux links for the upper right navigation
37+
aux_links:
38+
"NethServer dev manual":
39+
- "https://nethserver.github.io/ns8-core/"
40+
"NethSecurity dev manual":
41+
- "https://dev.nethsecurity.org"
42+
43+
# Footer content appears at the bottom of every page's main content
44+
footer_content: ""
45+
46+
# Footer "Edit this page on GitHub" link text
47+
gh_edit_link: true
48+
gh_edit_link_text: "Edit this page on GitHub."
49+
gh_edit_repository: "https://github.com/NethServer/ns8-core"
50+
gh_edit_branch: "master"
51+
gh_edit_source: docs
52+
gh_edit_view_mode: "tree"
53+
54+
# Color scheme currently only supports "dark" or nil (default)
55+
color_scheme: nil
56+
57+
# Google Analytics Tracking (optional)
58+
# e.g, UA-1234567-89
59+
#ga_tracking: UA-2709176-10
60+
61+
plugins:
62+
- jekyll-seo-tag
63+
64+
compress_html:
65+
clippings: all
66+
comments: all
67+
endings: all
68+
startings: []
69+
blanklines: false
70+
profile: false

handbook/assets/favicon.png

440 Bytes
Loading

0 commit comments

Comments
 (0)