mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 12:19:07 +00:00
docs/site: create initial Hugo configuration
This commit is contained in:
parent
ce062e3121
commit
cac3fa25cf
13
docs/config/_default/config.toml
Normal file
13
docs/config/_default/config.toml
Normal file
@ -0,0 +1,13 @@
|
||||
baseURL = 'https://foo-dogsquared.github.io/nixos-config'
|
||||
defaultContentLanguage = 'en-US'
|
||||
title = "foo-dogsquared's NixOS config book"
|
||||
timeZone = "UTC"
|
||||
|
||||
[params]
|
||||
toc = true
|
||||
|
||||
[security.exec]
|
||||
allow = [
|
||||
"^go$",
|
||||
"^asciidoctor$",
|
||||
]
|
4
docs/config/_default/languages.toml
Normal file
4
docs/config/_default/languages.toml
Normal file
@ -0,0 +1,4 @@
|
||||
[en-US]
|
||||
languageName = "English"
|
||||
languageCode = "en-US"
|
||||
contentDir = "content/en-US"
|
33
docs/config/_default/markup.toml
Normal file
33
docs/config/_default/markup.toml
Normal file
@ -0,0 +1,33 @@
|
||||
[asciidocExt]
|
||||
extensions = [
|
||||
"asciidoctor-diagram",
|
||||
"asciidoctor-foodogsquared-extensions",
|
||||
]
|
||||
trace = true
|
||||
workingFolderCurrent = true
|
||||
|
||||
[asciidocExt.attributes]
|
||||
toc = true
|
||||
sectanchors = true
|
||||
"figure-caption!" = true
|
||||
source-highlighter = "rouge"
|
||||
allow-uri-read = true
|
||||
experimental = true
|
||||
linkcss = true
|
||||
cache-uri = true
|
||||
reproducible = true
|
||||
stem = "latexmath"
|
||||
|
||||
avatarsdir = "/icons/avatars"
|
||||
avatarstype = "avif"
|
||||
|
||||
icons = "image"
|
||||
iconsdir = "/icons/asciidoctor"
|
||||
icontype = "svg"
|
||||
|
||||
# Project-wide attributes to be used.
|
||||
canonical-flake-url = "github:foo-dogsquared/nixos-config"
|
||||
canonical-source-repo = "https://github.com/foo-dogsquared/nixos-config"
|
||||
canonical-flake-url-tarball-master = "https://github.com/foo-dogsquared/nixos-config/archive/master.tar.gz"
|
||||
canonical-flake-url-tarball-specific = "https://github.com/foo-dogsquared/nixos-config/archive/35c27749c55077727529f412dade862e4deb2ae8.tar.gz"
|
||||
devos-link = "https://github.com/divnix/digga/tree/580fc57ffaaf9cf3a582372235759dccfe44ac92/examples/devos"
|
16
docs/config/_default/module.toml
Normal file
16
docs/config/_default/module.toml
Normal file
@ -0,0 +1,16 @@
|
||||
[[imports]]
|
||||
path = "github.com/foo-dogsquared/hugo-theme-more-contentful"
|
||||
|
||||
[[imports]]
|
||||
path = "github.com/foo-dogsquared/website"
|
||||
[[imports.mounts]]
|
||||
source = "assets/svg/avatars"
|
||||
target = "assets/svg/avatars"
|
||||
|
||||
[[imports.mounts]]
|
||||
source = "assets/scss/"
|
||||
target = "assets/scss/"
|
||||
|
||||
[[imports.mounts]]
|
||||
source = "assets/css/"
|
||||
target = "assets/css/"
|
8
docs/go.mod
Normal file
8
docs/go.mod
Normal file
@ -0,0 +1,8 @@
|
||||
module foo-dogsquared-nixos-config-site
|
||||
|
||||
go 1.20
|
||||
|
||||
require (
|
||||
github.com/foo-dogsquared/hugo-theme-more-contentful v0.7.0 // indirect
|
||||
github.com/foo-dogsquared/website v0.0.0-20230708113620-9c0c493becff // indirect
|
||||
)
|
9
docs/go.sum
Normal file
9
docs/go.sum
Normal file
@ -0,0 +1,9 @@
|
||||
github.com/foo-dogsquared/hugo-mod-simple-icons v0.0.0-20230426231746-ef27600d22f3/go.mod h1:11iN6ArO6sro187xxOeDYAFMENfUNd+Vopn+qqVkCbw=
|
||||
github.com/foo-dogsquared/hugo-mod-web-feeds v0.0.3-0.20220613123653-e0bc8e58159d/go.mod h1:V7UXom6wuFrWj1lBUCXQA3HguwfDhQA+tQNxyRxdClk=
|
||||
github.com/foo-dogsquared/hugo-theme-contentful v1.2.1-0.20220513103455-d83c3f8c6954/go.mod h1:BL7L5CENEhUx+miRRaOZ9SVC92j9MAMztirBWtTpiPc=
|
||||
github.com/foo-dogsquared/hugo-theme-more-contentful v0.7.0 h1:N+U5CshaEko6batgTHa6GBfl2bg/1RbG1dAX6EkndVM=
|
||||
github.com/foo-dogsquared/hugo-theme-more-contentful v0.7.0/go.mod h1:BpUC3zBnnsil2SkU6bULvcDvAEs6FdDDEM8uB0oCpho=
|
||||
github.com/foo-dogsquared/website v0.0.0-20230708113620-9c0c493becff h1:SmB7yEWR04EWeZ47oQnCBQtD9ZqAOQv9aQjESyfYBDo=
|
||||
github.com/foo-dogsquared/website v0.0.0-20230708113620-9c0c493becff/go.mod h1:Wce+DpoP9bp3tTaXFeghknBeJEpnDZ4roiR8qwArSXQ=
|
||||
github.com/refactoringui/heroicons v2.0.17+incompatible/go.mod h1:82HsLWQga7MkEl5aK8TctxPPIBlXrsyWcVTB57uipuk=
|
||||
github.com/simple-icons/simple-icons v0.0.0-20230423030844-cd4f7d2bf53c/go.mod h1:oOgUUt8yVYOso/wEBi2ojfZP2MU/xxiNccIpaE+jCvE=
|
Loading…
Reference in New Issue
Block a user