From 87b69dd91c43b52c64f1a341d78fc699dea3c01a Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:17:51 +0200 Subject: [PATCH 01/14] Update hugo.yml --- .github/workflows/hugo.yml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index ba6c48b..cfabd44 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -32,29 +32,24 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.124.1 + HUGO_VERSION: 0.123.0 steps: - name: Install Hugo CLI run: | wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ - && sudo dpkg -i ${{ runner.temp }}/hugo.deb + && sudo dpkg -i ${{ runner.temp }}/hugo.deb - name: Install Dart Sass run: sudo snap install dart-sass - name: Checkout uses: actions/checkout@v4 with: submodules: recursive - - name: Setup Node environment - uses: actions/setup-node@v2 - with: - node-version: '14' # Specify the Node.js version you need + fetch-depth: 0 - name: Setup Pages id: pages - uses: actions/configure-pages@v5 + uses: actions/configure-pages@v4 - name: Install Node.js dependencies run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" - - name: Install PostCSS CLI - run: npm install -g postcss-cli - name: Build with Hugo env: # For maximum backward compatibility with Hugo modules @@ -64,10 +59,9 @@ jobs: hugo \ --gc \ --minify \ - --baseURL "${{ steps.pages.outputs.base_url }}/" - -s docs + --baseURL "${{ steps.pages.outputs.base_url }}/" - name: Upload artifact - uses: actions/upload-pages-artifact@v3 + uses: actions/upload-pages-artifact@v2 with: path: ./public @@ -81,4 +75,4 @@ jobs: steps: - name: Deploy to GitHub Pages id: deployment - uses: actions/deploy-pages@v4 + uses: actions/deploy-pages@v3 From e3c6c9e5da5cd1e81d0b8a925c73b7a19df4d4dc Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:24:24 +0200 Subject: [PATCH 02/14] Update hugo.yml --- .github/workflows/hugo.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index cfabd44..b83d4de 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -59,7 +59,8 @@ jobs: hugo \ --gc \ --minify \ - --baseURL "${{ steps.pages.outputs.base_url }}/" + --baseURL "${{ steps.pages.outputs.base_url }}/" + -s docs - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: From edc21ca2454661df2224e89e842498bca486f82c Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:28:10 +0200 Subject: [PATCH 03/14] Update hugo.yml --- .github/workflows/hugo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index b83d4de..9d8c5ae 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -59,7 +59,7 @@ jobs: hugo \ --gc \ --minify \ - --baseURL "${{ steps.pages.outputs.base_url }}/" + --baseURL "${{ steps.pages.outputs.base_url }}/" \ -s docs - name: Upload artifact uses: actions/upload-pages-artifact@v2 From feddf83861b9fde895984693dfa9a97b60b535e7 Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:30:47 +0200 Subject: [PATCH 04/14] Update hugo.yml --- .github/workflows/hugo.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 9d8c5ae..389bfbc 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -45,6 +45,12 @@ jobs: with: submodules: recursive fetch-depth: 0 + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' # Choose the Node.js version you need + - name: Install Node.js dependencies + run: npm install postcss-cli - name: Setup Pages id: pages uses: actions/configure-pages@v4 From 4894c6d81e374d510c72a83c4b134a09cd1782e7 Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:33:29 +0200 Subject: [PATCH 05/14] Update hugo.yml --- .github/workflows/hugo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 389bfbc..a1f74f6 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -50,7 +50,7 @@ jobs: with: node-version: '16' # Choose the Node.js version you need - name: Install Node.js dependencies - run: npm install postcss-cli + run: npm install postcss-cli autoprefixer - name: Setup Pages id: pages uses: actions/configure-pages@v4 From 8b09e47421cdfd2dd5da71945589276f6587fce8 Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:35:05 +0200 Subject: [PATCH 06/14] Update hugo.yml --- .github/workflows/hugo.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index a1f74f6..5d59b83 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -45,12 +45,12 @@ jobs: with: submodules: recursive fetch-depth: 0 + - name: Install Node.js dependencies + run: npm install postcss-cli autoprefixer - name: Setup Node.js uses: actions/setup-node@v2 with: node-version: '16' # Choose the Node.js version you need - - name: Install Node.js dependencies - run: npm install postcss-cli autoprefixer - name: Setup Pages id: pages uses: actions/configure-pages@v4 From ce2115d9306991dfe6643c4b5e3d52bb89cbe6ac Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:39:30 +0200 Subject: [PATCH 07/14] Update package.json --- docs/package.json | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/package.json b/docs/package.json index f2fcfe5..8588fa2 100644 --- a/docs/package.json +++ b/docs/package.json @@ -1,13 +1,13 @@ { - "name": "docsy-example-site", - "version": "0.10.0", + "name": "AnthC", + "version": "0.1.0", "version.next": "0.10.1-dev.0-unreleased", - "description": "Example site that uses Docsy theme for technical documentation.", - "repository": "github:google/docsy-example", + "description": "Documentation for the Anthilla Controller Board.", + "repository": "https://github.com/Anthilla/AnthC", "homepage": "https://example.docsy.dev", "author": "Docsy Authors", "license": "Apache-2.0", - "bugs": "https://github.com/google/docsy-example/issues", + "bugs": "-", "spelling": "cSpell:ignore HTMLTEST precheck postbuild -", "scripts": { "_build": "npm run _hugo-dev --", @@ -33,7 +33,7 @@ "update:pkg:dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest", "update:pkg:hugo": "npm install --save-dev --save-exact hugo-extended@latest" }, - "devDependencies": { + "Dependencies": { "autoprefixer": "^10.4.14", "cross-env": "^7.0.3", "hugo-extended": "0.125.4", From d8d8bb4247691209d48f4ac96f983e3251a4f30b Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:41:33 +0200 Subject: [PATCH 08/14] Update hugo.yml --- .github/workflows/hugo.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 5d59b83..3751eb1 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -46,7 +46,8 @@ jobs: submodules: recursive fetch-depth: 0 - name: Install Node.js dependencies - run: npm install postcss-cli autoprefixer + #run: npm install postcss-cli autoprefixer + run: npm ci - name: Setup Node.js uses: actions/setup-node@v2 with: From f2d164aa874627a90bba9a49507de51d7bf7b5fe Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:46:23 +0200 Subject: [PATCH 09/14] Update hugo.yml --- .github/workflows/hugo.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 3751eb1..7000268 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -46,8 +46,10 @@ jobs: submodules: recursive fetch-depth: 0 - name: Install Node.js dependencies - #run: npm install postcss-cli autoprefixer - run: npm ci + run: npm install postcss-cli + - name: Install autoprefixer + run: npm install autoprefixer + #run: npm ci - name: Setup Node.js uses: actions/setup-node@v2 with: From b2d41e47589b277b8a91ab08d53c8238ded2ced3 Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:50:16 +0200 Subject: [PATCH 10/14] Update hugo.yml --- .github/workflows/hugo.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index 7000268..bd79821 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -34,6 +34,8 @@ jobs: env: HUGO_VERSION: 0.123.0 steps: + - name: update npm + run: npm install -g npm@10.8.1 - name: Install Hugo CLI run: | wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ From 68111d7e9b1ba3f0a81971208a924e7bf208b14c Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 21:53:01 +0200 Subject: [PATCH 11/14] Update hugo.yml --- .github/workflows/hugo.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index bd79821..f478ee5 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -34,8 +34,10 @@ jobs: env: HUGO_VERSION: 0.123.0 steps: - - name: update npm - run: npm install -g npm@10.8.1 + - name: Install Node.js dependencies + run: npm install postcss-cli + - name: Install autoprefixer + run: npm install autoprefixer - name: Install Hugo CLI run: | wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ @@ -47,11 +49,6 @@ jobs: with: submodules: recursive fetch-depth: 0 - - name: Install Node.js dependencies - run: npm install postcss-cli - - name: Install autoprefixer - run: npm install autoprefixer - #run: npm ci - name: Setup Node.js uses: actions/setup-node@v2 with: From 6c7ab17dc782ae8c0a4504d1078769f1ddd5717e Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:01:19 +0200 Subject: [PATCH 12/14] Update hugo.yml --- .github/workflows/hugo.yml | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index f478ee5..b8c3429 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -32,32 +32,38 @@ jobs: build: runs-on: ubuntu-latest env: - HUGO_VERSION: 0.123.0 + HUGO_VERSION: 0.128.0 steps: - - name: Install Node.js dependencies - run: npm install postcss-cli - - name: Install autoprefixer - run: npm install autoprefixer - name: Install Hugo CLI run: | wget -O ${{ runner.temp }}/hugo.deb https://github.com/gohugoio/hugo/releases/download/v${HUGO_VERSION}/hugo_extended_${HUGO_VERSION}_linux-amd64.deb \ - && sudo dpkg -i ${{ runner.temp }}/hugo.deb + && sudo dpkg -i ${{ runner.temp }}/hugo.deb + - name: Install Dart Sass run: sudo snap install dart-sass + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: '16' # Choose the Node.js version you need + + - name: Install Node.js dependencies + run: | + npm install postcss-cli autoprefixer + - name: Checkout uses: actions/checkout@v4 with: submodules: recursive fetch-depth: 0 - - name: Setup Node.js - uses: actions/setup-node@v2 - with: - node-version: '16' # Choose the Node.js version you need + - name: Setup Pages id: pages uses: actions/configure-pages@v4 + - name: Install Node.js dependencies run: "[[ -f package-lock.json || -f npm-shrinkwrap.json ]] && npm ci || true" + - name: Build with Hugo env: # For maximum backward compatibility with Hugo modules @@ -69,6 +75,7 @@ jobs: --minify \ --baseURL "${{ steps.pages.outputs.base_url }}/" \ -s docs + - name: Upload artifact uses: actions/upload-pages-artifact@v2 with: From ea79b2da95aa2aff5683a4616089e9486a7c555f Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:05:40 +0200 Subject: [PATCH 13/14] Update hugo.yml Updated node to version 20 --- .github/workflows/hugo.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index b8c3429..a79e659 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -45,7 +45,7 @@ jobs: - name: Setup Node.js uses: actions/setup-node@v2 with: - node-version: '16' # Choose the Node.js version you need + node-version: '20' # Choose the Node.js version you need - name: Install Node.js dependencies run: | From f94fd5b2236a13741b9dcbdd61b12098d2bfdc98 Mon Sep 17 00:00:00 2001 From: Ignacio de Mendizabal <75813769+imendizabal@users.noreply.github.com> Date: Tue, 25 Jun 2024 22:08:38 +0200 Subject: [PATCH 14/14] Update hugo.yml --- .github/workflows/hugo.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/hugo.yml b/.github/workflows/hugo.yml index a79e659..de18af6 100644 --- a/.github/workflows/hugo.yml +++ b/.github/workflows/hugo.yml @@ -49,7 +49,10 @@ jobs: - name: Install Node.js dependencies run: | - npm install postcss-cli autoprefixer + #npm install -g postcss-cli autoprefixer + npm install postcss -D + npm install -g postcss-cli + npm install -g autoprefixer - name: Checkout uses: actions/checkout@v4