Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: google/docsy
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 77da7e4943d9c828e68e14a7818ce2850626cbe7
Choose a base ref
...
head repository: google/docsy
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 9e685592bbc425f49a1357b6e43e60fdaaee33be
Choose a head ref
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Feb 4, 2025

  1. Copy the full SHA
    9e68559 View commit details
Showing with 12 additions and 2 deletions.
  1. +2 −0 CHANGELOG.md
  2. +8 −0 layouts/shortcodes/comment.html
  3. +2 −2 package.json
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -43,6 +43,8 @@ For the full list of changes, see the [0.x.y] release notes.
- **Blog** section index page content and title used to be ignored, they are now
displayed ([#1787]). To recover the old behavior use the following style
override: `.td-section.td-blog .td-content { display: none; }`.
- Adds a `comment` shortcode, as a drop-in replacement for the on removed from
Hugo.

[0.x.y]: https://github.com/google/docsy/releases/latest?FIXME=v0.X.Y
[#1787]: https://github.com/google/docsy/issues/1787
8 changes: 8 additions & 0 deletions layouts/shortcodes/comment.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{{/* Allows for large segments of Markdown or HTML to be commented out. This was
briefly an internal Hugo template, but it is no more. For details, see:

- https://discourse.gohugo.io/t/deprecate-comment-shortcode/53237
- https://github.com/gohugoio/hugo/pull/13294

*/}}
{{- $noop := .Inner -}}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -40,8 +40,8 @@
},
"devDependencies": {
"cpy-cli": "^5.0.0",
"hugo-extended": "^0.142.0",
"netlify-cli": "^18.0.2",
"hugo-extended": "^0.143.0",
"netlify-cli": "^18.0.3",
"npm-check-updates": "^17.1.14",
"prettier": "^3.4.2"
},