matter-labs / zksync-docs

Developer documentation site for zkSync community.
https://docs.zksync.io/
Apache License 2.0
6 stars 17 forks source link

feat: create parser for zksync info #12

Closed itsacoyote closed 3 months ago

itsacoyote commented 3 months ago

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 with zk_. 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%%.

github-actions[bot] commented 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

dutterbutter commented 3 months ago

@itsacoyote a very awesome improvement for maintainability 🎉