docs: clean up directory structure
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -11,6 +11,7 @@ result*
|
|||||||
/pkgs/clan-cli/clan_cli/webui/assets
|
/pkgs/clan-cli/clan_cli/webui/assets
|
||||||
nixos.qcow2
|
nixos.qcow2
|
||||||
**/*.glade~
|
**/*.glade~
|
||||||
|
/docs/out
|
||||||
|
|
||||||
# python
|
# python
|
||||||
__pycache__
|
__pycache__
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
source_up
|
source_up
|
||||||
|
|
||||||
watch_file flake-module.nix shell.nix default.nix
|
watch_file nix/flake-module.nix nix/shell.nix nix/default.nix
|
||||||
|
|
||||||
# Because we depend on nixpkgs sources, uploading to builders takes a long time
|
# Because we depend on nixpkgs sources, uploading to builders takes a long time
|
||||||
use flake .#docs --builders ''
|
use flake .#docs --builders ''
|
||||||
|
|||||||
2
docs/.gitignore
vendored
2
docs/.gitignore
vendored
@@ -1,2 +0,0 @@
|
|||||||
# build oputputs
|
|
||||||
site
|
|
||||||
@@ -9,8 +9,6 @@ validation:
|
|||||||
absolute_links: warn
|
absolute_links: warn
|
||||||
unrecognized_links: warn
|
unrecognized_links: warn
|
||||||
|
|
||||||
markdown_extensions:
|
|
||||||
|
|
||||||
markdown_extensions:
|
markdown_extensions:
|
||||||
- pymdownx.tasklist:
|
- pymdownx.tasklist:
|
||||||
custom_checkbox: true
|
custom_checkbox: true
|
||||||
@@ -41,7 +39,10 @@ nav:
|
|||||||
- Backup & Restore: getting-started/backups.md
|
- Backup & Restore: getting-started/backups.md
|
||||||
- Flake-parts: getting-started/flake-parts.md
|
- Flake-parts: getting-started/flake-parts.md
|
||||||
- Templates: templates/index.md
|
- Templates: templates/index.md
|
||||||
- Contributing: contributing.md
|
- Contributing: contributing/contributing.md
|
||||||
|
|
||||||
|
docs_dir: site
|
||||||
|
site_dir: out
|
||||||
|
|
||||||
theme:
|
theme:
|
||||||
logo: static/logo.png
|
logo: static/logo.png
|
||||||
@@ -72,8 +73,5 @@ theme:
|
|||||||
icon: material/weather-sunny
|
icon: material/weather-sunny
|
||||||
name: Switch to light mode
|
name: Switch to light mode
|
||||||
|
|
||||||
extra_css:
|
|
||||||
- stylesheets/extra.css
|
|
||||||
|
|
||||||
plugins:
|
plugins:
|
||||||
- search
|
- search
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
pkgs.stdenv.mkDerivation {
|
pkgs.stdenv.mkDerivation {
|
||||||
name = "clan-documentation";
|
name = "clan-documentation";
|
||||||
|
|
||||||
src = ./.;
|
src = ../.;
|
||||||
|
|
||||||
nativeBuildInputs =
|
nativeBuildInputs =
|
||||||
[ pkgs.python3 ]
|
[ pkgs.python3 ]
|
||||||
1
docs/site/contributing/contributing.md
Symbolic link
1
docs/site/contributing/contributing.md
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
../../contributing.md
|
||||||
@@ -109,7 +109,7 @@ clan machines install my-machine <target_host>
|
|||||||
|
|
||||||
> Note: This may take a while for building and for the file transfer.
|
> Note: This may take a while for building and for the file transfer.
|
||||||
|
|
||||||
#### 🎉 🚀 Your machine is all set up
|
🎉 🚀 Your machine is all set up
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
@@ -40,7 +40,7 @@
|
|||||||
./devShell.nix
|
./devShell.nix
|
||||||
# TODO: migrate this @davHau
|
# TODO: migrate this @davHau
|
||||||
# ./docs/flake-module
|
# ./docs/flake-module
|
||||||
./docs/flake-module.nix
|
./docs/nix/flake-module.nix
|
||||||
./formatter.nix
|
./formatter.nix
|
||||||
./lib/flake-module.nix
|
./lib/flake-module.nix
|
||||||
./nixosModules/flake-module.nix
|
./nixosModules/flake-module.nix
|
||||||
|
|||||||
Reference in New Issue
Block a user