From c7ec2e9097d14920bb2cfb6b35c889868b3ab6bb Mon Sep 17 00:00:00 2001 From: David Castro <65198911+Logofile@users.noreply.github.com> Date: Mon, 22 Apr 2024 17:06:59 -0400 Subject: [PATCH 1/3] Update gh-pages.yml --- .github/workflows/gh-pages.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 3f3e5b2d5..aa4e4887b 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -18,6 +18,9 @@ jobs: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + - name: Update Docsy Theme + run: git submodule update --init --recursive + - uses: actions/setup-node@v4 with: node-version: 20 From 441e03402328eefd970e339442c644bfbdee95e3 Mon Sep 17 00:00:00 2001 From: David Castro <65198911+Logofile@users.noreply.github.com> Date: Mon, 22 Apr 2024 17:11:21 -0400 Subject: [PATCH 2/3] Adds an action to update the Docsy theme. --- .github/workflows/gh-pages.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index aa4e4887b..d22e67dba 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -19,7 +19,7 @@ jobs: fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Update Docsy Theme - run: git submodule update --init --recursive + run: git submodule update --init --recursive --remote themes/docsy - uses: actions/setup-node@v4 with: From a8b86320b35406adf0508fd5178daa349b5d96ca Mon Sep 17 00:00:00 2001 From: David Castro <65198911+Logofile@users.noreply.github.com> Date: Mon, 22 Apr 2024 17:25:56 -0400 Subject: [PATCH 3/3] Create .gitmodules to link to Docsy theme repo --- .gitmodules | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 000000000..d580806d4 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/docsy"] + path = themes/docsy + url = https://github.com/google/docsy.git