From c5ed22dd41bb93b7c4358eeecff4170c2d53b40d Mon Sep 17 00:00:00 2001 From: Bernardo Meurer Date: Thu, 4 Dec 2025 22:30:27 -0500 Subject: [PATCH] fix(libstore/s3-binary-cache-store): include documentation from markdown file The S3BinaryCacheStoreConfig::doc() function was returning a minimal hardcoded 3-line string instead of including the comprehensive documentation from s3-binary-cache-store.md. This was introduced in PR #13752 which moved the prose documentation to the markdown file but forgot to update the doc() function to use it. --- src/libstore/s3-binary-cache-store.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/libstore/s3-binary-cache-store.cc b/src/libstore/s3-binary-cache-store.cc index 5dfc7f11d..fea5e467f 100644 --- a/src/libstore/s3-binary-cache-store.cc +++ b/src/libstore/s3-binary-cache-store.cc @@ -454,11 +454,9 @@ std::string S3BinaryCacheStoreConfig::getHumanReadableURI() const std::string S3BinaryCacheStoreConfig::doc() { - return R"( - **Store URL format**: `s3://bucket-name` - - This store allows reading and writing a binary cache stored in an AWS S3 bucket. - )"; + return +#include "s3-binary-cache-store.md" + ; } ref S3BinaryCacheStoreConfig::openStore() const