From e190d90594b17fb16849a13198af3f5152414e4c Mon Sep 17 00:00:00 2001 From: 魏曹先生 <1992414357@qq.com> Date: Mon, 10 Nov 2025 09:37:03 +0800 Subject: Replace Git submodule with setup script for documents The .gitmodules file has been removed and replaced with a setup.sh script that handles cloning the documents repository. This provides more flexibility than Git submodules while achieving similar results. The .gitignore has been updated to reflect this change. --- setup.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 setup.sh (limited to 'setup.sh') diff --git a/setup.sh b/setup.sh new file mode 100755 index 0000000..ac4ecb8 --- /dev/null +++ b/setup.sh @@ -0,0 +1,6 @@ +# Setup documents repo +if [ -d "docs/Documents/.git" ]; then + cd docs/Documents && git pull origin main && cd - +else + git clone https://github.com/JustEnoughVCS/Documents.git docs/Documents +fi -- cgit