From 4c5bc65ec009fccff97722b3b3b668fddbf3dfd4 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Wed, 11 Feb 2026 06:34:39 -0500 Subject: [PATCH 1/2] Upgrade to Docsy 0.14.1, page tweaks (#418) --- CONTRIBUTING.md | 2 +- go.mod | 2 +- go.sum | 4 ++-- package.json | 11 ++++++----- 4 files changed, 10 insertions(+), 9 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 883138477b..ea12ad2497 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,7 +34,7 @@ This project follows Update Docsy to the latest tagged release: ```bash -npm run update:hugo-modules +npm run update:docsy:mod ``` Or update to the latest commit on the main branch: diff --git a/go.mod b/go.mod index e0a433a5eb..5b27ad52da 100644 --- a/go.mod +++ b/go.mod @@ -2,6 +2,6 @@ module github.com/google/docsy-example go 1.12 -require github.com/google/docsy v0.14.0 +require github.com/google/docsy v0.14.1 // cSpell:ignore github docsy diff --git a/go.sum b/go.sum index 9d03cfdb05..b77613745e 100644 --- a/go.sum +++ b/go.sum @@ -1,6 +1,6 @@ github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3 h1:/iluJkJiyTAdnqrw3Yi9rH2HNHhrrtCmj8VJe7I6o3w= github.com/FortAwesome/Font-Awesome v0.0.0-20241216213156-af620534bfc3/go.mod h1:IUgezN/MFpCDIlFezw3L8j83oeiIuYoj28Miwr/KUYo= -github.com/google/docsy v0.14.0 h1:ughzXITuVzEwA7m5A6JLyXQRSZdyRtIUvukfJ+VrUAY= -github.com/google/docsy v0.14.0/go.mod h1:1Fj1W1O3esZh7IBQ8XAYtxtg10udBXuGI89+LUQc1AU= +github.com/google/docsy v0.14.1 h1:7TCLfklsLlPlYFly+nsBol6uYIrC8lzJpbXEAwZ8BSs= +github.com/google/docsy v0.14.1/go.mod h1:1Fj1W1O3esZh7IBQ8XAYtxtg10udBXuGI89+LUQc1AU= github.com/twbs/bootstrap v5.3.8+incompatible h1:eK1fsXP7R/FWFt+sSNmmvUH9usPocf240nWVw7Dh02o= github.com/twbs/bootstrap v5.3.8+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= diff --git a/package.json b/package.json index 1ec0a73147..7a1ea4359a 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "docsy-example-site", - "version": "0.13.0", - "version.next": "0.13.1-dev-unreleased", + "version": "0.14.1", + "version.next": "0.14.2-dev-unreleased", "description": "Example site that uses Docsy theme for technical documentation.", "repository": "github:google/docsy-example", "homepage": "https://example.docsy.dev", @@ -44,11 +44,12 @@ "test-and-fix": "npm run fix && npm run test-only", "test-only": "npm run check:links", "test": "npm run test-and-fix", - "update:dep": "npm install --save-dev autoprefixer@latest postcss-cli@latest", "update:docsy:main": "hugo mod get -u github.com/google/docsy@main && hugo mod tidy", - "update:hugo-modules": "hugo mod get -u github.com/google/docsy && hugo mod tidy", + "update:docsy:mod": "hugo mod get -u github.com/google/docsy && hugo mod tidy", "update:hugo": "npm install --save-dev --save-exact hugo-extended@latest", - "update:packages": "npx npm-check-updates -u" + "update:main": "npm run update:packages && npm run update:docsy:main", + "update:packages": "npx npm-check-updates -u", + "update": "npm run update:packages && npm run update:docsy:mod" }, "devDependencies": { "autoprefixer": "^10.4.24", From 6847e2ac52dabbabc4ee7d3c8f71621fd33e4630 Mon Sep 17 00:00:00 2001 From: Patrice Chalin Date: Wed, 11 Feb 2026 06:58:03 -0500 Subject: [PATCH 2/2] Add Docsy version to site info page --- content/en/site.md | 7 +++++++ hugo.yaml | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/content/en/site.md b/content/en/site.md index 2e658101bc..46b8cdb7dd 100644 --- a/content/en/site.md +++ b/content/en/site.md @@ -9,4 +9,11 @@ params: cSpell:ignore: docsy --- +Site built with [Docsy +v{{% param version %}} ][version] + +## Build information + {{% td/site-build-info/netlify team="docsy-example" %}} + +[version]: diff --git a/hugo.yaml b/hugo.yaml index cf40b58a99..8cd671e197 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -129,7 +129,7 @@ params: # The version number for the version of the docs represented in this doc set. # Used in the "version-banner" partial to display a version number for the # current doc set. - version: 0.0 + version: 0.14.1 # Repository configuration (URLs for in-page links to opening issues and suggesting changes) github_repo: https://github.com/google/docsy-example