diff --git a/.github/workflows/quartodoc.yaml b/.github/workflows/quartodoc.yaml index 6872843a..cdf1de69 100644 --- a/.github/workflows/quartodoc.yaml +++ b/.github/workflows/quartodoc.yaml @@ -47,10 +47,10 @@ jobs: BRANCH=${GITHUB_REF##*/} if [ "$BRANCH" == "develop" ]; then echo "TARGET_FOLDER=package/bvhar/dev/python" >> $GITHUB_ENV - sed -i 's|PY_VERSION_REF|https://github.com/ygeunkim/bvhar/tree/develop/python/|; s|R_VERSION_REF|https://ygeunkim.github.io/package/bvhar/dev/|' _variables.yml + sed -i "s|PY_VERSION_REF|'https://github.com/ygeunkim/bvhar/tree/develop/python/'|; s|R_VERSION_REF|'https://ygeunkim.github.io/package/bvhar/dev/'|" _variables.yml else echo "TARGET_FOLDER=package/bvhar/python" >> $GITHUB_ENV - sed -i 's|PY_VERSION_REF|https://github.com/ygeunkim/bvhar/tree/master/python/|; s|R_VERSION_REF|https://ygeunkim.github.io/package/bvhar/|' _variables.yml + sed -i "s|PY_VERSION_REF|'https://github.com/ygeunkim/bvhar/tree/master/python/'|; s|R_VERSION_REF|'https://ygeunkim.github.io/package/bvhar/'|" _variables.yml fi working-directory: python/docs diff --git a/python/docs/_quarto.yml b/python/docs/_quarto.yml index 167a1ec1..d696f563 100644 --- a/python/docs/_quarto.yml +++ b/python/docs/_quarto.yml @@ -24,11 +24,11 @@ website: - text: "bvhar" file: intro.qmd - text: "bvhar in R" - href: {{< var ref.r >}} + href: "{{< var myref.rref >}}" target: _blank right: - icon: github - href: {{< var ref.py >}} + href: "{{< var myref.pyref >}}" aria-label: bvhar-python github sidebar: style: floating diff --git a/python/docs/_variables.yml b/python/docs/_variables.yml index 323c2e5c..9e08cb21 100644 --- a/python/docs/_variables.yml +++ b/python/docs/_variables.yml @@ -1,5 +1,5 @@ version: QUARTODOC_VERSION -ref: - py: PY_VERSION_REF - r: R_VERSION_REF \ No newline at end of file +myref: + pyref: PY_VERSION_REF + rref: R_VERSION_REF \ No newline at end of file