Skip to content

Commit

Permalink
enhance: clone TACC/TACC-Docs files directly (#120)
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleyboar authored Feb 5, 2025
1 parent 2cdebda commit d9adc54
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions bin/tacc-setup.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
#!/bin/bash

# To provide files via a CDN from a specific repo at a specific commit-ish
# https://github.com/DesignSafe-CI/DS-User-Guide/pull/14
BASE_URL="https://cdn.jsdelivr.net/gh/DesignSafe-CI/DS-User-Guide@624d01be"
# To provide files via a CDN from TACC at a specific commit
BASE_URL="https://cdn.jsdelivr.net/gh/TACC/TACC-Docs@v0.15.1"

# To avoid the error:
# > ERROR - Config value 'theme': The path set in custom_dir
Expand All @@ -11,6 +10,6 @@ mkdir -p ./user-guide/themes/tacc-readthedocs

# To clone TACC files (so authors can preview without Docker)
# TODO: Make TACC/TACC-Docs public, so we can load from TACC/TACC-Docs via CDN
curl -o ./user-guide/mkdocs.base.yml ${BASE_URL}/user-guide/mkdocs.base.yml
curl -o ./user-guide/mkdocs.base.yml ${BASE_URL}/mkdocs.base.yml
curl -o ./poetry.lock ${BASE_URL}/poetry.lock
curl -o ./pyproject.toml ${BASE_URL}/pyproject.toml

0 comments on commit d9adc54

Please sign in to comment.