Skip to content

Commit

Permalink
Merge pull request #1380 from cachix/work/keys/better-link
Browse files Browse the repository at this point in the history
Better links for reference documents
  • Loading branch information
domenkozar authored Aug 12, 2024
2 parents 1b4b927 + 5c29740 commit 14e51a0
Show file tree
Hide file tree
Showing 91 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion devenv.nix
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
scripts."devenv-generate-individual-docs" = {
description = "Generate individual docs of all devenv modules";
exec = ''
mkdir -p docs/{autogen-language-docs,autogen-service-docs,autogen-process-manager-docs}
mkdir -p docs/{supported-languages,supported-services,supported-process-managers}
nix build --impure --extra-experimental-features 'flakes nix-command' --show-trace --print-out-paths '.#devenv-generate-individual-docs'
cp -r --no-preserve=all result/docs/individual-docs/* docs/
Expand Down
6 changes: 3 additions & 3 deletions docs/.pages
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ nav:
- Scripts: scripts.md
- Languages:
- Overview: languages.md
- Supported Languages: autogen-language-docs
- Supported Languages: supported-languages
- Processes:
- Overview: processes.md
- Supported Process Managers: autogen-process-manager-docs
- Supported Process Managers: supported-process-managers
- Services:
- Overview: services.md
- Supported Services: autogen-service-docs
- Supported Services: supported-services
- Containers: containers.md
- Binary Caching: binary-caching.md
- Pre-Commit Hooks: pre-commit-hooks.md
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ path


*Default:*
` "/home/runner/work/devenv/devenv/.devenv/state/caddy" `
` "/home/k3ys/sandbox/cachix/devenv/.devenv/state/caddy" `



Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
12 changes: 6 additions & 6 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,9 @@
languageDir=./languages
serviceDir=./services
processManagerDir=./process-managers
mkdir -p $out/docs/individual-docs/autogen-language-docs
mkdir -p $out/docs/individual-docs/autogen-service-docs
mkdir -p $out/docs/individual-docs/autogen-process-manager-docs
mkdir -p $out/docs/individual-docs/supported-languages
mkdir -p $out/docs/individual-docs/supported-services
mkdir -p $out/docs/individual-docs/supported-process-managers
AUTOGEN_NOTICE="[comment]: # (Do not edit this file as it is autogenerated. Go to docs/individual-docs if you want to make edits.)"
${lib.concatStringsSep "\n" (lib.mapAttrsToList (key: options: ''
Expand All @@ -136,7 +136,7 @@
AUTOGEN_OPTIONS \
"$content"
cp $file $out/docs/individual-docs/autogen-language-docs/${key}.md
cp $file $out/docs/individual-docs/supported-languages/${key}.md
'') ( processedOptions languageOptions ))}
Expand All @@ -150,7 +150,7 @@
AUTOGEN_OPTIONS \
"$content"
cp $file $out/docs/individual-docs/autogen-service-docs/${key}.md
cp $file $out/docs/individual-docs/supported-services/${key}.md
'') ( processedOptions serviceOptions ))}
Expand All @@ -164,7 +164,7 @@
AUTOGEN_OPTIONS \
"$content"
cp $file $out/docs/individual-docs/autogen-process-manager-docs/${key}.md
cp $file $out/docs/individual-docs/supported-process-managers/${key}.md
'') ( processedOptions processManagersOptions))}
'';
Expand Down

0 comments on commit 14e51a0

Please sign in to comment.