diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2023-03-27 15:46:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-27 15:46:18 +0200 |
commit | 237587bc0af9259414d50ed18f137c2214d7abb1 (patch) | |
tree | 98110281567c0e5fb8623065e8172b8559feafb4 /src/libstore/dummy-store.cc | |
parent | 1d539aa28711b4214867ebd8db85de1000bbbe59 (diff) | |
parent | 168b6021c558f317fc01b142c1610742e9b9096b (diff) |
Merge pull request #8084 from edolstra/store-docs
Auto-generate store documentation
Diffstat (limited to 'src/libstore/dummy-store.cc')
-rw-r--r-- | src/libstore/dummy-store.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libstore/dummy-store.cc b/src/libstore/dummy-store.cc index b4fbe0b70..16e5fafd7 100644 --- a/src/libstore/dummy-store.cc +++ b/src/libstore/dummy-store.cc @@ -7,6 +7,13 @@ struct DummyStoreConfig : virtual StoreConfig { using StoreConfig::StoreConfig; const std::string name() override { return "Dummy Store"; } + + std::string doc() override + { + return + #include "dummy-store.md" + ; + } }; struct DummyStore : public virtual DummyStoreConfig, public virtual Store |