matter-labs / zksync-docs

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

chore: use ProseA for all links #24

Closed itsacoyote closed 3 months ago

itsacoyote commented 3 months ago

What :computer:

Why :hand:

Cool Factoid

Did you know you can do some fancy replace with VSCode search? Rather than tediously manually replacing all external-link references with the markdown syntax, you can use regex to search then "select" text from the results to use in a replace action.

:external-link\{text="([^"]*)" href="([^"]*)"\}

The ( ) groups text as a value that you can reference with $# in the replace:

[$1]($2)

github-actions[bot] commented 3 months ago

Visit the preview URL for this PR (updated for commit 39be2ee):

https://zksync-docs-staging-5eb09--pr24-update-links-crkabo9j.web.app

(expires Mon, 29 Apr 2024 20:06:16 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: bfaafba5fa82d4f63473aaa76a21fabf1fbb3a11

itsacoyote commented 3 months ago

I don't think we can make use of a link checker in the CI with this approach but its worth the maintainability.

I don't see why it wouldn't, what's required for a link check in CI to work?