From fe722050aab2906b20a3358591c84fc82166226b Mon Sep 17 00:00:00 2001 From: Jakub Matys Date: Wed, 17 Oct 2018 18:10:34 +0200 Subject: [PATCH] Added documentaion of "About" and "TOS" config --- docs/config.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/config.md b/docs/config.md index 61e76710..509edd8c 100644 --- a/docs/config.md +++ b/docs/config.md @@ -103,3 +103,13 @@ where *.path* can be for example *.Blockbook.BlockChain.Parse*. Go uses CamelCas as well. Note that dot at the beginning is mandatory. Go template syntax is fully documented [here](https://godoc.org/text/template). +## Built-in text + +Since Blockbook is an open-source project and we don't prevent anybody from running independent instances, it is possible +to alter built-in text that is specific for Trezor. Text fields that could be updated are: + + * about – A note about instance shown on the Application status page and returned by an API. + * tos – A link to Terms of service shown as the footer on the Explorer pages. + +Text data are stored as plain text files in *build/text* directory and are embedded to binary during build. A change of +theese files is mean for a private purpose and PRs that would update them won't be accepted.