diff --git a/docs/conf.py b/docs/conf.py index 7d5ec810..2b594e80 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -192,9 +192,9 @@ def _install_git_lfs_on_linux_on_the_fly() -> str: if os.environ.get("IS_RTD", False): os.system("echo 'We are currently on the Read-the-Docs server (or somebody just set IS_RTD to true)'") git_lfs_cmd = _install_git_lfs_on_linux_on_the_fly() - os.system("echo 'Fetching the sqlite database'") + os.system("echo 'Fetching sqlite databases'") os.system( - f"yes | {git_lfs_cmd} fetch -I '*.sqlite'" + f"yes | {git_lfs_cmd} fetch -p -I '**/notebooks/data/prepared_dbs/*.sqlite'" ) # download sqlite databases from remote, say yes to trusting certs os.system("echo 'Start checking out the file'") os.system(f'{git_lfs_cmd} checkout') # Replace SQLite database LFS references with the actual files