docs: Add config file location and schema reference.

This commit is contained in:
MentalGear
2025-12-09 14:30:00 +01:00
committed by Sebastian Jeltsch
parent ca50b8a28b
commit c464279284
3 changed files with 6 additions and 0 deletions
@@ -35,6 +35,8 @@ TrailBase's configuration file.
An example API setup for managing user profiles:
```json
# file: <traildepot>/config.textproto
# schema-file: <repo>/crates/core/proto/config.proto
record_apis: [
{
name: "profiles"
@@ -110,6 +110,8 @@ In this tutorial we want to explore more programmatic access and using
TrailBase record APIs.
```json
# file: traildepot/config.textproto
# schema-file: <repo>/crates/core/proto/config.proto
record_apis: [
# ...
{
@@ -332,6 +332,8 @@ We simply need to expose the `counter` table through a world-readable record
API (using the admin UI or config file):
```proto
# file: traildepot/config.textproto
# schema-file: <repo>/crates/core/proto/config.proto
record_apis: [
# ...
{