-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Paul Osinski
committed
Nov 8, 2024
1 parent
201d134
commit f89e16d
Showing
41 changed files
with
5,295 additions
and
1,204 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
{ | ||
// These tasks will run in order when initializing your CodeSandbox project. | ||
"setupTasks": [ | ||
{ | ||
"name": "Install Dependencies", | ||
"command": "npm install" | ||
} | ||
], | ||
|
||
// These tasks can be run from CodeSandbox. Running one will open a log in the app. | ||
"tasks": { | ||
"start": { | ||
"name": "dev", | ||
"command": "npm run dev -- --baseURL=/ --appendPort=false --liveReloadPort=443 --bind=0.0.0.0", | ||
"runAtStart": true | ||
}, | ||
"install": { | ||
"name": "install dependencies", | ||
"command": "npm install" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
FROM mcr.microsoft.com/devcontainers/base:ubuntu-22.04 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -y \ | ||
ca-certificates \ | ||
nodejs \ | ||
npm \ | ||
wget && \ | ||
update-ca-certificates | ||
|
||
ARG HUGO_VERSION="0.131.0" | ||
RUN wget --quiet "https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz" && \ | ||
tar xzf hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz && \ | ||
rm -r hugo_extended_${HUGO_VERSION}_Linux-64bit.tar.gz && \ | ||
mv hugo /usr/bin && \ | ||
chmod 755 /usr/bin/hugo | ||
|
||
WORKDIR /src | ||
COPY ./ /src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"build": { | ||
"dockerfile": "./Dockerfile" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# Source: https://github.com/gitpod-io/template-hugo/blob/main/.gitpod.yml | ||
|
||
# List the start up tasks. Learn more https://www.gitpod.io/docs/config-start-tasks/ | ||
tasks: | ||
- name: Run start up tasks | ||
before: brew install hugo | ||
init: pnpm install | ||
command: hugo server --baseURL $(gp url 1313) --liveReloadPort=443 --appendPort=false --bind=0.0.0.0 --disableFastRender --noHTTPCache --navigateToChanged | ||
|
||
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/ | ||
ports: | ||
- port: 1313 | ||
onOpen: open-preview |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.env | ||
.netlify | ||
.hugo_build.lock | ||
node_modules | ||
public | ||
resources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
enable-pre-post-scripts=true | ||
auto-install-peers=true | ||
node-linker=hoisted | ||
prefer-symlinked-executables=false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
*.html | ||
*.ico | ||
*.png | ||
*.jp*g | ||
*.toml | ||
*.*ignore | ||
*.svg | ||
*.xml | ||
LICENSE | ||
.npmrc | ||
.gitkeep | ||
*.woff* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Default config | ||
tabWidth: 4 | ||
endOfLine: crlf | ||
singleQuote: true | ||
printWidth: 100000 | ||
trailingComma: none | ||
bracketSameLine: true | ||
quoteProps: consistent | ||
experimentalTernaries: true | ||
|
||
# Overrided config | ||
overrides: | ||
- files: ["*.md", "*.json", "*.yaml"] | ||
options: | ||
tabWidth: 2 | ||
singleQuote: false | ||
- files: ["*.scss"] | ||
options: | ||
singleQuote: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2020-2024 Thulite | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// Put your custom JS code here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"paths": { | ||
"*": ["*", "..\\node_modules\\@thulite\\doks-core\\assets\\*"] | ||
} | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// Put your custom SCSS code here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
// Put your custom SCSS variables here |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
title = "My Docs" | ||
baseurl = "http://localhost/" | ||
canonifyURLs = false | ||
disableAliases = true | ||
disableHugoGeneratorInject = true | ||
# disableKinds = ["taxonomy", "term"] | ||
enableEmoji = true | ||
enableGitInfo = false | ||
enableRobotsTXT = true | ||
languageCode = "en-US" | ||
pagerSize = 10 | ||
rssLimit = 10 | ||
summarylength = 20 # 70 (default) | ||
|
||
# Multilingual | ||
defaultContentLanguage = "en" | ||
disableLanguages = ["de", "nl"] | ||
defaultContentLanguageInSubdir = false | ||
|
||
copyRight = "Copyright (c) 2020-2024 Thulite" | ||
|
||
[build.buildStats] | ||
enable = true | ||
|
||
[outputs] | ||
home = ["HTML", "RSS", "searchIndex"] | ||
section = ["HTML", "RSS", "SITEMAP"] | ||
|
||
[outputFormats.searchIndex] | ||
mediaType = "application/json" | ||
baseName = "search-index" | ||
isPlainText = true | ||
notAlternative = true | ||
|
||
# Add output format for section sitemap.xml | ||
[outputFormats.SITEMAP] | ||
mediaType = "application/xml" | ||
baseName = "sitemap" | ||
isHTML = false | ||
isPlainText = true | ||
noUgly = true | ||
rel = "sitemap" | ||
|
||
[sitemap] | ||
changefreq = "monthly" | ||
filename = "sitemap.xml" | ||
priority = 0.5 | ||
|
||
[caches] | ||
[caches.getjson] | ||
dir = ":cacheDir/:project" | ||
maxAge = -1 # "30m" | ||
|
||
[taxonomies] | ||
contributor = "contributors" | ||
category = "categories" | ||
tag = "tags" | ||
|
||
[permalinks] | ||
blog = "/blog/:slug/" | ||
docs = "/docs/:sections[1:]/:slug/" | ||
# docs = "/docs/1.0/:sections[1:]/:slug/" | ||
|
||
[minify.tdewolff.html] | ||
keepWhitespace = false | ||
|
||
[related] | ||
threshold = 80 | ||
includeNewer = true | ||
toLower = false | ||
[[related.indices]] | ||
name = "categories" | ||
weight = 100 | ||
[[related.indices]] | ||
name = "tags" | ||
weight = 80 | ||
[[related.indices]] | ||
name = "date" | ||
weight = 10 | ||
|
||
[imaging] | ||
anchor = "Center" | ||
bgColor = "#ffffff" | ||
hint = "photo" | ||
quality = 85 | ||
resampleFilter = "Lanczos" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
[en] | ||
languageName = "English" | ||
contentDir = "content/en" | ||
weight = 10 | ||
[en.params] | ||
languageISO = "EN" | ||
languageTag = "en-US" | ||
footer = 'Brought to you by <a class="text-muted" href="https://thulite.io/">Thulite</a>' | ||
alertText = '<a class="alert-link stretched-link fw-normal" href="/blog/example-post/">Doks version 1.0 just shipped!</a>' | ||
|
||
[de] | ||
languageName = "German" | ||
contentDir = "content/de" | ||
weight = 15 | ||
[de.params] | ||
languageISO = "DE" | ||
languageTag = "de-DE" | ||
footer = 'Gebaut mit <a class="text-muted" href="https://thulite.io/">Thulite</a>' | ||
alertText = 'Neue Version ist da! <a class="alert-link stretched-link" href="https://getdoks.org/blog/doks-v0.5/">Doks v0.5</a>' | ||
|
||
[nl] | ||
languageName = "Nederlands" | ||
contentDir = "content/nl" | ||
weight = 20 | ||
[nl.params] | ||
languageISO = "NL" | ||
languageTag = "nl-NL" | ||
titleAddition = "Modern documentatie-thema" | ||
description = "Doks is een Hugo-thema waarmee je moderne documentatie-websites kunt bouwen die veilig, snel en klaar voor SEO zijn — standaard." | ||
titleHome = "Doks thema" | ||
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>' | ||
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>' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
defaultMarkdownHandler = "goldmark" | ||
|
||
[goldmark] | ||
[goldmark.extensions] | ||
linkify = false | ||
[goldmark.parser] | ||
autoHeadingID = true | ||
autoHeadingIDType = "github" | ||
[goldmark.parser.attribute] | ||
block = true | ||
title = true | ||
[goldmark.renderer] | ||
unsafe = true | ||
|
||
[highlight] | ||
anchorLineNos = false | ||
codeFences = true | ||
guessSyntax = false | ||
hl_Lines = '' | ||
hl_inline = false | ||
lineAnchors = '' | ||
lineNoStart = 1 | ||
lineNos = false | ||
lineNumbersInTable = false | ||
noClasses = false | ||
noHl = false | ||
style = 'monokai' | ||
tabWidth = 2 | ||
|
||
[tableOfContents] | ||
endLevel = 3 | ||
ordered = false | ||
startLevel = 2 |
Oops, something went wrong.