HomePhabricator

update outdated links related to UAHF and use explicit MarkDown syntax

Description

update outdated links related to UAHF and use explicit MarkDown syntax

Summary: Some links in doc/abc/*md point toward a github repository that no longer exists. They have been updated to point to the local md file. Additionaly, some MarkDown syntax has been added to make links work on the HTML version auto-generatedfor bitcoinabc.org

Test Plan:

SRC_DIR="/home/pierre/git/bitcoin-abc"
TOPLEVEL="/home/pierre/git/bitcoin-abc-website"
pushd "${SRC_DIR}"
ABC_MD_DOCS_BASE="${TOPLEVEL}/abc_md_docs"
mkdir -p "${ABC_MD_DOCS_BASE}"
FILES=($(git ls-files "*.md"))
for FILE in "${FILES[@]}"
do
  FILE_DST="${ABC_MD_DOCS_BASE}/${FILE}"
  mkdir -p "$(dirname ${FILE_DST})"

  NAME="${FILE}" \
  PERMALINK="/${FILE%.*}.html" \
  envsubst < "${TOPLEVEL}/scripts/md_docs_frontmatter.yml.in" > "${FILE_DST}"
  cat "${FILE}" >> "${FILE_DST}"
done
popd

Then test the links by running:

bundle exec jekyll serve

Reviewers: O1 Bitcoin ABC, #bitcoin_abc, jasonbcox

Reviewed By: O1 Bitcoin ABC, #bitcoin_abc, jasonbcox

Subscribers: jasonbcox

Differential Revision: https://reviews.bitcoinabc.org/D7486

Details

Provenance
PiRKAuthored on Sep 18 2020, 14:57
PiRKPushed on Sep 19 2020, 06:41
Reviewer
Restricted Owners Package
Differential Revision
D7486: update outdated links related to UAHF and use explicit MarkDown syntax
Parents
rABC9acea42cd09f: [land-bot] Fix git HEAD after checking revision
Branches
Unknown
Tags
Unknown