Closed itsacoyote closed 3 months ago
Visit the preview URL for this PR (updated for commit af0866e):
https://zksync-docs-staging-5eb09--pr12-sf-zk-parser-rkaq72j3.web.app
(expires Thu, 18 Apr 2024 13:42:37 GMT)
🔥 via Firebase Hosting GitHub Action 🌎
Sign: bfaafba5fa82d4f63473aaa76a21fabf1fbb3a11
@itsacoyote a very awesome improvement for maintainability 🎉
What :computer:
Why :hand:
How it works
Content is structured in a json file under
content/_zksync.json
. Tags are wrapped in%%
and are prefixed withzk_
. The path to the value in the json file is represented with underscores instead of a dot.Let's say we want to put the Mainnet block explorer URL into a page somewhere. It's in the JSON file as
mainnet.block_explorer_url
. The tag for it will be%%zk_mainnet_block_explorer_url%%
.