Merge pull request 'docs/devshell: make sure we are in the right directory before symlinking files' (#3609) from ci-fixes into main

Reviewed-on: https://git.clan.lol/clan/clan-core/pulls/3609
This commit is contained in:
Mic92
2025-05-13 10:28:14 +00:00

View File

@@ -17,6 +17,9 @@ pkgs.mkShell {
self'.devShells.default
];
shellHook = ''
git_root=$(git rev-parse --show-toplevel)
cd ''${git_root}/docs
mkdir -p ./site/reference/cli
cp -af ${module-docs}/* ./site/reference/
cp -af ${clan-cli-docs}/* ./site/reference/cli/