From 6947dc4349fa85cb702f46acfe3255c907096b12 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Thu, 13 Jun 2024 22:04:32 +0300 Subject: [PATCH] chore(tvix/docs): move [ca]store docs to tvix/docs Change-Id: Idd78ffae34b6ea7b93d13de73b98c61a348869fb Reviewed-on: https://cl.tvl.fyi/c/depot/+/11808 Tested-by: BuildkiteCI Reviewed-by: tazjin Autosubmit: flokli --- tvix/docs/src/SUMMARY.md | 7 +++++++ .../docs => docs/src/castore}/blobstore-chunking.md | 0 .../docs => docs/src/castore}/blobstore-protocol.md | 0 tvix/{castore/docs => docs/src/castore}/data-model.md | 0 .../docs => docs/src/castore}/why-not-git-trees.md | 0 tvix/{store/docs => docs/src/store}/api.md | 0 tvix/store/default.nix | 2 +- 7 files changed, 8 insertions(+), 1 deletion(-) rename tvix/{castore/docs => docs/src/castore}/blobstore-chunking.md (100%) rename tvix/{castore/docs => docs/src/castore}/blobstore-protocol.md (100%) rename tvix/{castore/docs => docs/src/castore}/data-model.md (100%) rename tvix/{castore/docs => docs/src/castore}/why-not-git-trees.md (100%) rename tvix/{store/docs => docs/src/store}/api.md (100%) diff --git a/tvix/docs/src/SUMMARY.md b/tvix/docs/src/SUMMARY.md index 5ae1647e4..7c25c55ee 100644 --- a/tvix/docs/src/SUMMARY.md +++ b/tvix/docs/src/SUMMARY.md @@ -4,6 +4,13 @@ - [Architecture & data flow](./architecture.md) - [TODOs](./TODO.md) +# Store +- [Store API](./store/api.md) +- [BlobStore Chunking](./castore/blobstore-chunking.md) +- [BlobStore Protocol](./castore/blobstore-protocol.md) +- [Data Model](./castore/data-model.md) +- [Why not git trees?](./castore/why-not-git-trees.md) + # Nix - [Specification of the Nix Language](./language-spec.md) - [Nix language version history](./lang-version.md) diff --git a/tvix/castore/docs/blobstore-chunking.md b/tvix/docs/src/castore/blobstore-chunking.md similarity index 100% rename from tvix/castore/docs/blobstore-chunking.md rename to tvix/docs/src/castore/blobstore-chunking.md diff --git a/tvix/castore/docs/blobstore-protocol.md b/tvix/docs/src/castore/blobstore-protocol.md similarity index 100% rename from tvix/castore/docs/blobstore-protocol.md rename to tvix/docs/src/castore/blobstore-protocol.md diff --git a/tvix/castore/docs/data-model.md b/tvix/docs/src/castore/data-model.md similarity index 100% rename from tvix/castore/docs/data-model.md rename to tvix/docs/src/castore/data-model.md diff --git a/tvix/castore/docs/why-not-git-trees.md b/tvix/docs/src/castore/why-not-git-trees.md similarity index 100% rename from tvix/castore/docs/why-not-git-trees.md rename to tvix/docs/src/castore/why-not-git-trees.md diff --git a/tvix/store/docs/api.md b/tvix/docs/src/store/api.md similarity index 100% rename from tvix/store/docs/api.md rename to tvix/docs/src/store/api.md diff --git a/tvix/store/default.nix b/tvix/store/default.nix index 78b499114..3fe47fe60 100644 --- a/tvix/store/default.nix +++ b/tvix/store/default.nix @@ -33,7 +33,7 @@ in })).overrideAttrs (old: rec { meta.ci = { targets = [ "integration-tests" ] ++ lib.filter (x: lib.hasPrefix "with-features" x || x == "no-features") (lib.attrNames passthru); - extraSteps.import-docs = (mkImportCheck "tvix/store/docs" ./docs); + extraSteps.import-docs = (mkImportCheck "tvix/docs/src/store" ../docs/src/store); }; passthru = (depot.tvix.utils.mkFeaturePowerset { inherit (old) crateName;