Skip to content

Commit 4688f6e

Browse files
Adds base Doks theme.
1 parent 4b73e4f commit 4688f6e

File tree

130 files changed

+13862
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+13862
-0
lines changed

Diff for: .editorconfig

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
indent_style = space
7+
indent_size = 2
8+
end_of_line = lf
9+
charset = utf-8
10+
trim_trailing_whitespace = true
11+
insert_final_newline = true

Diff for: .eslintignore

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
assets/js/index.js
2+
assets/js/katex.js
3+
assets/js/vendor
4+
node_modules

Diff for: .eslintrc.json

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"commonjs": true,
5+
"es6": true,
6+
"node": true
7+
},
8+
"extends": "eslint:recommended",
9+
"globals": {
10+
"Atomics": "readonly",
11+
"SharedArrayBuffer": "readonly"
12+
},
13+
"parserOptions": {
14+
"ecmaVersion": 2018,
15+
"sourceType": "module"
16+
},
17+
"rules": {
18+
"no-console": 0,
19+
"quotes": ["error", "single"],
20+
"comma-dangle": [
21+
"error",
22+
{
23+
"arrays": "always-multiline",
24+
"objects": "always-multiline",
25+
"imports": "always-multiline",
26+
"exports": "always-multiline",
27+
"functions": "ignore"
28+
}
29+
]
30+
}
31+
}
Binary file not shown.

Diff for: .gitbook/assets/Fil_Econ_Digram.png

-664 KB
Binary file not shown.

Diff for: .gitbook/assets/IPFS-logo-horizontal-color-dark.png

-23 KB
Binary file not shown.

Diff for: .gitbook/assets/dht-peers.png

-370 KB
Binary file not shown.

Diff for: .gitbook/assets/ecosystem-filters.png

-1.54 MB
Binary file not shown.

Diff for: .gitbook/assets/fil-notary-governance.png

-370 KB
Binary file not shown.

Diff for: .gitbook/assets/filecoin-deal.png

-1010 KB
Binary file not shown.

Diff for: .gitbook/assets/fleek-hosting.png

-746 KB
Binary file not shown.

Diff for: .gitbook/assets/fleek-space-daemon.png

-1.06 MB
Binary file not shown.

Diff for: .gitbook/assets/image (1).png

-693 KB
Binary file not shown.

Diff for: .gitbook/assets/image (10).png

-1.15 MB
Binary file not shown.

Diff for: .gitbook/assets/image (11).png

-571 KB
Binary file not shown.

Diff for: .gitbook/assets/image (12).png

-257 KB
Binary file not shown.

Diff for: .gitbook/assets/image (13).png

-478 KB
Binary file not shown.

Diff for: .gitbook/assets/image (14).png

-697 KB
Binary file not shown.

Diff for: .gitbook/assets/image (15).png

-1.34 MB
Binary file not shown.

Diff for: .gitbook/assets/image (17).png

-108 KB
Binary file not shown.

Diff for: .gitbook/assets/image (18).png

-108 KB
Binary file not shown.

Diff for: .gitbook/assets/image (19).png

-694 KB
Binary file not shown.

Diff for: .gitbook/assets/image (2).png

-615 KB
Binary file not shown.

Diff for: .gitbook/assets/image (20).png

-322 KB
Binary file not shown.

Diff for: .gitbook/assets/image (22).png

-615 KB
Binary file not shown.

Diff for: .gitbook/assets/image (23).png

-615 KB
Binary file not shown.

Diff for: .gitbook/assets/image (24).png

-325 KB
Binary file not shown.

Diff for: .gitbook/assets/image (26).png

-287 KB
Binary file not shown.

Diff for: .gitbook/assets/image (29).png

-318 KB
Binary file not shown.

Diff for: .gitbook/assets/image (30).png

-410 KB
Binary file not shown.

Diff for: .gitbook/assets/image (31).png

-260 KB
Binary file not shown.

Diff for: .gitbook/assets/image (33).png

-553 KB
Binary file not shown.

Diff for: .gitbook/assets/image (34).png

-601 KB
Binary file not shown.

Diff for: .gitbook/assets/image (35).png

-349 KB
Binary file not shown.

Diff for: .gitbook/assets/image (36).png

-273 KB
Binary file not shown.

Diff for: .gitbook/assets/image (37).png

-1.31 MB
Binary file not shown.

Diff for: .gitbook/assets/image (4).png

-201 KB
Binary file not shown.

Diff for: .gitbook/assets/image (6).png

-568 KB
Binary file not shown.

Diff for: .gitbook/assets/image (7).png

-410 KB
Binary file not shown.

Diff for: .gitbook/assets/image (8).png

-133 KB
Binary file not shown.

Diff for: .gitbook/assets/image (9).png

-697 KB
Binary file not shown.

Diff for: .gitbook/assets/image.png

-871 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld (1).png

-1.16 MB
Binary file not shown.

Diff for: .gitbook/assets/ipld.png

-1.16 MB
Binary file not shown.

Diff for: .gitbook/assets/ipld_anatomy_of_a_cid.png

-82.3 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_car_intro (1).png

-290 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_car_intro.png

-290 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_car_more (1).png

-276 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_car_more.png

-276 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_cids (1).png

-352 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_cids.png

-352 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_content_vs_location (1).png

-556 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_content_vs_location.png

-556 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_content_vs_location_2.png

-209 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_merkle_mutability (1).png

-455 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_merkle_mutability (2).png

-455 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_merkle_mutability.png

-455 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_merkle_roots (1).png

-409 KB
Binary file not shown.

Diff for: .gitbook/assets/ipld_merkle_roots.png

-409 KB
Binary file not shown.

Diff for: .gitbook/assets/location-content-add.png

-954 KB
Binary file not shown.

Diff for: .gitbook/assets/peer-swarm.png

-1.45 MB
Binary file not shown.

Diff for: .gitbook/assets/peer-swarm3.png

-538 KB
Binary file not shown.

Diff for: .gitbook/assets/pinning.png

-1.36 MB
Binary file not shown.

Diff for: .gitbook/assets/plv7.png

-1.2 MB
Binary file not shown.

Diff for: .gitbook/assets/plv8.png

-1.61 MB
Binary file not shown.

Diff for: .gitbook/assets/powergate.png

-401 KB
Binary file not shown.

Diff for: .gitbook/assets/web2-web3.png

-438 KB
Binary file not shown.

Diff for: .gitbook/assets/web3-storage.png

-1010 KB
Binary file not shown.

Diff for: .markdownlint-cli2.jsonc

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"config": {
3+
"default": true,
4+
"MD013": false,
5+
"MD024": false,
6+
"MD026": false,
7+
"MD033": false,
8+
"MD034": false
9+
},
10+
"ignores": ["node_modules", "CHANGELOG.md", "README.md"]
11+
}

Diff for: .stylelintignore

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
assets/scss/components/_syntax.scss
2+
assets/scss/vendor
3+
node_modules

Diff for: .stylelintrc.json

+48
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
{
2+
"extends": "stylelint-config-standard-scss",
3+
"rules": {
4+
"no-empty-source": null,
5+
"string-quotes": "double",
6+
"scss/comment-no-empty": null,
7+
"max-line-length": null,
8+
"scss/at-extend-no-missing-placeholder": null,
9+
"scss/dollar-variable-colon-space-after": null,
10+
"scss/dollar-variable-empty-line-before": null,
11+
"color-function-notation": null,
12+
"alpha-value-notation": null,
13+
"selector-id-pattern": null,
14+
"selector-class-pattern": null,
15+
"scss/no-global-function-names": null,
16+
"number-max-precision": null,
17+
"hue-degree-notation": null,
18+
"value-no-vendor-prefix": null,
19+
"property-no-vendor-prefix": null,
20+
"at-rule-no-unknown": [
21+
true,
22+
{
23+
"ignoreAtRules": [
24+
"extend",
25+
"at-root",
26+
"debug",
27+
"warn",
28+
"error",
29+
"if",
30+
"else",
31+
"for",
32+
"each",
33+
"while",
34+
"mixin",
35+
"include",
36+
"content",
37+
"return",
38+
"function",
39+
"tailwind",
40+
"apply",
41+
"responsive",
42+
"variants",
43+
"screen"
44+
]
45+
}
46+
]
47+
}
48+
}

Diff for: assets/js/app.js

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/** Custom scripts */

Diff for: assets/scss/app.scss

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
/** Import Bootstrap functions */
2+
@import "bootstrap/scss/functions";
3+
4+
/** Import theme variables */
5+
@import "common/variables";
6+
7+
/** Import Bootstrap */
8+
@import "bootstrap/scss/bootstrap";
9+
10+
/** Import highlight.js */
11+
// @import "highlight.js/scss/github-dark-dimmed";
12+
13+
/** Import KaTeX */
14+
@import "katex/dist/katex";
15+
16+
/** Import theme styles */
17+
@import "common/fonts";
18+
@import "common/global";
19+
@import "common/dark";
20+
@import "components/alerts";
21+
@import "components/buttons";
22+
@import "components/code";
23+
@import "components/details";
24+
@import "components/syntax";
25+
@import "components/comments";
26+
@import "components/forms";
27+
@import "components/images";
28+
@import "components/mermaid";
29+
@import "components/search";
30+
@import "components/tables";
31+
@import "layouts/footer";
32+
@import "layouts/header";
33+
@import "layouts/pages";
34+
@import "layouts/posts";
35+
@import "layouts/sidebar";
36+
37+
/** Import custom styles */
38+
@import "common/custom";

Diff for: assets/scss/common/_custom.scss

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/** Custom styles */

Diff for: babel.config.js

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
module.exports = {
2+
presets: [
3+
[
4+
'@babel/preset-env',
5+
{
6+
targets: {
7+
browsers: [
8+
// Best practice: https://github.com/babel/babel/issues/7789
9+
'>=1%',
10+
'not ie 11',
11+
'not op_mini all'
12+
]
13+
}
14+
}
15+
]
16+
]
17+
};

Diff for: config/_default/config.toml

+119
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,119 @@
1+
baseurl = "https://doks-child-theme.netlify.app/"
2+
canonifyURLs = false
3+
disableAliases = true
4+
disableHugoGeneratorInject = true
5+
enableEmoji = true
6+
enableGitInfo = false
7+
enableRobotsTXT = true
8+
languageCode = "en-US"
9+
paginate = 7
10+
rssLimit = 10
11+
12+
# Multilingual
13+
defaultContentLanguage = "en"
14+
disableLanguages = ["de", "nl"]
15+
# defaultContentLanguageInSubdir = true
16+
17+
# add redirects/headers
18+
[outputs]
19+
home = ["HTML", "RSS", "REDIRECTS", "HEADERS"]
20+
section = ["HTML", "RSS", "SITEMAP"]
21+
22+
# remove .{ext} from text/netlify
23+
[mediaTypes."text/netlify"]
24+
suffixes = [""]
25+
delimiter = ""
26+
27+
# add output format for netlify _redirects
28+
[outputFormats.REDIRECTS]
29+
mediaType = "text/netlify"
30+
baseName = "_redirects"
31+
isPlainText = true
32+
notAlternative = true
33+
34+
# add output format for netlify _headers
35+
[outputFormats.HEADERS]
36+
mediaType = "text/netlify"
37+
baseName = "_headers"
38+
isPlainText = true
39+
notAlternative = true
40+
41+
# add output format for section sitemap.xml
42+
[outputFormats.SITEMAP]
43+
mediaType = "application/xml"
44+
baseName = "sitemap"
45+
isHTML = false
46+
isPlainText = true
47+
noUgly = true
48+
rel = "sitemap"
49+
50+
[caches]
51+
[caches.getjson]
52+
dir = ":cacheDir/:project"
53+
maxAge = "10s"
54+
55+
[sitemap]
56+
changefreq = "weekly"
57+
filename = "sitemap.xml"
58+
priority = 0.5
59+
60+
[taxonomies]
61+
contributor = "contributors"
62+
63+
[permalinks]
64+
blog = "/blog/:title/"
65+
# docs = "/docs/1.0/:sections[1:]/:title/"
66+
67+
[minify.tdewolff.html]
68+
keepWhitespace = false
69+
70+
[module]
71+
[module.hugoVersion]
72+
extended = true
73+
min = "0.80.0"
74+
max = ""
75+
[[module.mounts]]
76+
source = "node_modules/@hyas/doks/archetypes"
77+
target = "archetypes"
78+
[[module.mounts]]
79+
source = "node_modules/@hyas/doks/assets"
80+
target = "assets"
81+
# [[module.mounts]]
82+
# source = "node_modules/@hyas/doks/content"
83+
# target = "content"
84+
[[module.mounts]]
85+
source = "node_modules/@hyas/doks/data"
86+
target = "data"
87+
[[module.mounts]]
88+
source = "node_modules/@hyas/doks/layouts"
89+
target = "layouts"
90+
[[module.mounts]]
91+
source = "node_modules/@hyas/doks/static"
92+
target = "static"
93+
[[module.mounts]]
94+
source = "node_modules/flexsearch"
95+
target = "assets/js/vendor/flexsearch"
96+
[[module.mounts]]
97+
source = "node_modules/katex"
98+
target = "assets/js/vendor/katex"
99+
[[module.mounts]]
100+
source = "node_modules/mermaid"
101+
target = "assets/js/vendor/mermaid"
102+
[[module.mounts]]
103+
source = "assets"
104+
target = "assets"
105+
[[module.mounts]]
106+
source = "static"
107+
target = "static"
108+
# [[module.mounts]]
109+
# source = "content"
110+
# target = "content"
111+
[[module.mounts]]
112+
source = "layouts"
113+
target = "layouts"
114+
[[module.mounts]]
115+
source = "archetypes"
116+
target = "archetypes"
117+
[[module.mounts]]
118+
source = "data"
119+
target = "data"

Diff for: config/_default/languages.toml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
[en]
2+
languageName = "English"
3+
contentDir = "content/en"
4+
weight = 10
5+
[en.params]
6+
languageISO = "EN"
7+
8+
[de]
9+
languageName = "German"
10+
contentDir = "content/de"
11+
weight = 15
12+
[de.params]
13+
languageISO = "DE"
14+
15+
[nl]
16+
languageName = "Nederlands"
17+
contentDir = "content/nl"
18+
weight = 20
19+
[nl.params]
20+
languageISO = "NL"
21+
titleAddition = "Modern documentatie-thema"
22+
description = "Doks is een Hugo-thema waarmee je moderne documentatie-websites kunt bouwen die veilig, snel en klaar voor SEO zijn — standaard."
23+
titleHome = "Doks thema"
24+
footer = "Mogelijk gemaakt door <a href=\"https://www.netlify.com/\">Netlify</a>, <a href=\"https://gohugo.io/\">Hugo</a>, en <a href=\"https://getdoks.org/\">Doks</a>"
25+
alertText = "Introductie van het Doks-kinderthema, verschillende DX + UX-updates en meer! <a class=\"alert-link stretched-link\" href=\"https://getdoks.org/blog/doks-v0.2/\">Bekijk Doks v0.2</a>"

Diff for: config/_default/markup.toml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
defaultMarkdownHandler = "goldmark"
2+
3+
[goldmark]
4+
[goldmark.extensions]
5+
linkify = false
6+
[goldmark.parser]
7+
autoHeadingID = true
8+
autoHeadingIDType = "github"
9+
[goldmark.parser.attribute]
10+
block = true
11+
title = true
12+
[goldmark.renderer]
13+
unsafe = true
14+
15+
[highlight]
16+
codeFences = false
17+
guessSyntax = false
18+
hl_Lines = ""
19+
lineNoStart = 1
20+
lineNos = false
21+
lineNumbersInTable = true
22+
noClasses = false
23+
style = "dracula"
24+
tabWidth = 4
25+
26+
[tableOfContents]
27+
endLevel = 3
28+
ordered = false
29+
startLevel = 2

0 commit comments

Comments
 (0)