docs: Refactor code structure for improved readability
Some checks failed
CI / test (macos-14, darwin-arm64) (push) Has been cancelled
CI / test (windows-latest, windows) (push) Has been cancelled
CI / test (ubuntu-latest, linux-x64) (push) Has been cancelled
Docs Pages / deploy (push) Failing after 33s

This commit is contained in:
eric
2026-03-06 20:54:28 +01:00
parent fb7afbb138
commit 10758aa20a
19 changed files with 232 additions and 2341 deletions

View File

@@ -28,17 +28,9 @@
system:
let
pkgs = import nixpkgs { inherit system; };
bazelDefaultArgs =
if pkgs.stdenv.hostPlatform.isDarwin then
[
"--macos_minimum_os=10.12"
"--host_macos_minimum_os=10.12"
]
else
[ ];
bazel9 = pkgs.writeShellScriptBin "bazel" ''
export USE_BAZEL_VERSION="''${USE_BAZEL_VERSION:-9.0.0}"
exec ${pkgs.bazelisk}/bin/bazelisk ${pkgs.lib.escapeShellArgs bazelDefaultArgs} "$@"
exec ${pkgs.bazelisk}/bin/bazelisk "$@"
'';
env = devshell-lib.lib.mkDevShell {
inherit system;