mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
docs/site: update site layout
This commit is contained in:
parent
acf26b814c
commit
3f2638be14
@ -1,6 +1,7 @@
|
|||||||
= foo-dogsquared's NixOS config
|
= foo-dogsquared's NixOS config
|
||||||
:toc:
|
:toc:
|
||||||
:devos_link: https://github.com/divnix/digga/tree/580fc57ffaaf9cf3a582372235759dccfe44ac92/examples/devos
|
:devos_link: https://github.com/divnix/digga/tree/580fc57ffaaf9cf3a582372235759dccfe44ac92/examples/devos
|
||||||
|
:doc_site: https://foo-dogsquared.github.io/nixos-config
|
||||||
:canonical_flake_url: github:foo-dogsquared/nixos-config
|
:canonical_flake_url: github:foo-dogsquared/nixos-config
|
||||||
:canonical_flake_url_tarball_master: https://github.com/foo-dogsquared/nixos-config/archive/master.tar.gz
|
: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
|
:canonical_flake_url_tarball_specific: https://github.com/foo-dogsquared/nixos-config/archive/35c27749c55077727529f412dade862e4deb2ae8.tar.gz
|
||||||
@ -10,6 +11,8 @@ This is my NixOS config as a link:https://www.tweag.io/blog/2020-05-25-flakes/[N
|
|||||||
I finally have some time trying to grok flakes and redo my NixOS config from scratch after leaving it for some time (because I have work and have to quickly set things up without me trying to debug how NixOS works).
|
I finally have some time trying to grok flakes and redo my NixOS config from scratch after leaving it for some time (because I have work and have to quickly set things up without me trying to debug how NixOS works).
|
||||||
Here is the result.
|
Here is the result.
|
||||||
|
|
||||||
|
Anyways, this project also has a dedicated website at {doc_site}.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -9,7 +9,7 @@ GEM
|
|||||||
rexml
|
rexml
|
||||||
asciidoctor-diagram-ditaamini (1.0.3)
|
asciidoctor-diagram-ditaamini (1.0.3)
|
||||||
asciidoctor-diagram-plantuml (1.2023.5)
|
asciidoctor-diagram-plantuml (1.2023.5)
|
||||||
asciidoctor-foodogsquared-extensions (1.0.0)
|
asciidoctor-foodogsquared-extensions (1.0.1)
|
||||||
asciidoctor (~> 2.0)
|
asciidoctor (~> 2.0)
|
||||||
rugged (~> 1.0)
|
rugged (~> 1.0)
|
||||||
ast (2.4.2)
|
ast (2.4.2)
|
||||||
@ -47,7 +47,10 @@ GEM
|
|||||||
syntax_tree (>= 6.1.1, < 7)
|
syntax_tree (>= 6.1.1, < 7)
|
||||||
ruby-progressbar (1.13.0)
|
ruby-progressbar (1.13.0)
|
||||||
rugged (1.6.3)
|
rugged (1.6.3)
|
||||||
sorbet-runtime (0.5.10904)
|
slim (5.1.1)
|
||||||
|
temple (~> 0.10.0)
|
||||||
|
tilt (>= 2.1.0)
|
||||||
|
sorbet-runtime (0.5.10908)
|
||||||
syntax_tree (6.1.1)
|
syntax_tree (6.1.1)
|
||||||
prettier_print (>= 1.2.0)
|
prettier_print (>= 1.2.0)
|
||||||
unicode-display_width (2.4.2)
|
unicode-display_width (2.4.2)
|
||||||
@ -67,4 +70,4 @@ DEPENDENCIES
|
|||||||
ruby-lsp
|
ruby-lsp
|
||||||
|
|
||||||
BUNDLED WITH
|
BUNDLED WITH
|
||||||
2.4.14
|
2.4.10
|
||||||
|
@ -6,7 +6,7 @@ $line-height: 1.45;
|
|||||||
|
|
||||||
:root {
|
:root {
|
||||||
--gap: 1rem;
|
--gap: 1rem;
|
||||||
--sidebar-width: 300px;
|
--sidebar-width: 22%;
|
||||||
}
|
}
|
||||||
|
|
||||||
body {
|
body {
|
||||||
@ -18,13 +18,14 @@ body {
|
|||||||
height: 100vh;
|
height: 100vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
.book.sidebar {
|
.book__sidebar {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: var(--gap);
|
padding: var(--gap);
|
||||||
background: var(--base01);
|
background: var(--base01);
|
||||||
height: 100vh;
|
height: 100vh;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
outline: none;
|
outline: none;
|
||||||
|
transition: 0.2s;
|
||||||
|
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
@ -36,7 +37,7 @@ body {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.book.content {
|
.book__content {
|
||||||
padding: var(--gap);
|
padding: var(--gap);
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
|
@ -5,10 +5,10 @@
|
|||||||
{{ partial "head-extended.html" . }}
|
{{ partial "head-extended.html" . }}
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<nav class="book sidebar" aria-label="Table of contents">
|
<nav class="book__sidebar" aria-label="Table of contents">
|
||||||
{{ partialCached "chapters.html" . }}
|
{{ partialCached "chapters.html" . }}
|
||||||
</nav>
|
</nav>
|
||||||
<section class="book content">
|
<section class="book__content">
|
||||||
{{ partial "header.html" . }}
|
{{ partial "header.html" . }}
|
||||||
<hr aria-hidden="true">
|
<hr aria-hidden="true">
|
||||||
{{ block "main" . }}{{ end }}
|
{{ block "main" . }}{{ end }}
|
||||||
|
Loading…
Reference in New Issue
Block a user