Skip to content

Commit

Permalink
use official workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypinkard committed Aug 1, 2024
1 parent 386d075 commit 64bcb08
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html_static_path = ['_static']
2 changes: 0 additions & 2 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
sphinx
sphinx-rtd-theme
sphinx-togglebutton

git+https://github.com/git-lfs/git-lfs
22 changes: 16 additions & 6 deletions readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,22 @@ build:
os: ubuntu-20.04
tools:
python: "3.10"
commands:
- wget https://github.com/git-lfs/git-lfs/releases/download/v2.7.1/git-lfs-linux-amd64-v2.7.1.tar.gz
- tar xvfz git-lfs-linux-amd64-v2.7.1.tar.gz
- ./git-lfs install
- ./git-lfs fetch
- ./git-lfs checkout
jobs:
post_checkout:
# Download and uncompress the binary
# https://git-lfs.github.com/
- wget https://github.com/git-lfs/git-lfs/releases/download/v3.1.4/git-lfs-linux-amd64-v3.1.4.tar.gz
- tar xvfz git-lfs-linux-amd64-v3.1.4.tar.gz
# Modify LFS config paths to point where git-lfs binary was downloaded
- git config filter.lfs.process "`pwd`/git-lfs filter-process"
- git config filter.lfs.smudge "`pwd`/git-lfs smudge -- %f"
- git config filter.lfs.clean "`pwd`/git-lfs clean -- %f"
# Make LFS available in current repository
- ./git-lfs install
# Download content from remote
- ./git-lfs fetch
# Make local files to have the real content on them
- ./git-lfs checkout



Expand Down

0 comments on commit 64bcb08

Please sign in to comment.