Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
168 commits
Select commit Hold shift + click to select a range
b7fd7ac
Make it possible to use a javascript-based page-level toc
fekete-robert Oct 18, 2022
d350531
Documents the new sidebar
fekete-robert Oct 18, 2022
523c85f
Merge branch 'main' into right-hand-tocbot
fekete-robert Jun 3, 2023
dc8ec1a
Merge branch 'main' into right-hand-tocbot
fekete-robert Jun 21, 2023
8355cc0
Fix script URL for non-top-level baseurls
fekete-robert Jul 4, 2023
dd2cff3
Typo fix
fekete-robert Jul 4, 2023
32d7e4a
Update layouts/partials/scripts.html
fekete-robert Jul 4, 2023
b9a08fa
Update tocbot.min.js to 4.21.0
fekete-robert Jul 10, 2023
9bfa781
Adds release link and license to tocbot files, updates tocbot to 4.21.0
fekete-robert Jul 10, 2023
ceb6327
Merge branch 'main' into right-hand-tocbot
fekete-robert Jul 10, 2023
2bf0108
Update assets/scss/tocbot.css
fekete-robert Feb 13, 2024
2c51bfd
Merge branch 'main' into right-hand-tocbot
fekete-robert Apr 26, 2024
1033c6c
Drop RSS layout in favor of Hugo's default (#1948)
chalin Apr 26, 2024
b0fd7be
section-index.html code cleanup (#1947)
chalin Apr 26, 2024
387aafd
Upgrade to Hugo 0.125.4 (#1950)
chalin Apr 26, 2024
f193e4f
Docsy 0.10.0 release report (#1945)
chalin Apr 29, 2024
cb1f948
[Dark mode] Left-nav and taxonomy color fixes (#1952)
chalin Apr 29, 2024
475551a
Use official hugo-extended NPM package + UG tweak (#1956)
chalin Apr 29, 2024
c03c1df
Bump Persian fonts to latest version (#1955)
deining Apr 30, 2024
3d638e9
copyright.html: process `.Site.Copyright` as HTML (#1954)
chalin Apr 30, 2024
07d01b3
[UG] Syntax highlighting styles for both light and dark modes (#1958)
chalin Apr 30, 2024
4b589ed
[Dark mode] Factor out code-dark styles for reuse (#1959)
chalin Apr 30, 2024
5bc4519
Mark 0.10.0 release report as draft (#1960)
chalin Apr 30, 2024
bc37ac9
Format mermaid.html (#1963)
chalin Apr 30, 2024
f110c86
Set Mermaid theme based on light/dark mode (#1964)
chalin Apr 30, 2024
7ede6fe
Mermaid: stick to default when not dark mode (#1965)
chalin Apr 30, 2024
dee34b4
Dark-mode override for `.td-box--white` (#1966)
chalin Apr 30, 2024
b45af6c
Restrict `.td-box--white` style changes to dark mode (#1968)
chalin Apr 30, 2024
3a12f00
Format lookandfeel.md - no content changes (#1969)
chalin Apr 30, 2024
a417b33
[Dark mode] Fix blocks/lead down arrow color (#1971)
chalin Apr 30, 2024
468b0e8
Rename chroma styles (#1974)
chalin May 1, 2024
bf7ce0f
[CI] Add scripts to generate and check Chroma styles (#1976)
chalin May 1, 2024
5e1c215
[CI] Setup fix:format for the UG (#1977)
chalin May 1, 2024
a819858
[UG] Document light/dark mode config (#1978)
chalin May 1, 2024
6aab0d0
Contribution guidelines: document use of Prettier (#1980)
chalin May 1, 2024
cddcac1
[Dark mode] blockquote and click-to-copy color fixes (#1981)
chalin May 1, 2024
4be813d
[CI] use userguide/.prettierignore to specify files to ignore (#1982)
chalin May 1, 2024
f60d281
Fix warning about LaTeX-incompatible input (#1984)
deining May 1, 2024
8d9f489
Release 0.10.0 prep (#1983)
chalin May 1, 2024
9687e6e
Set package version to 0.10.1-dev (#1986)
chalin May 7, 2024
79e7ac1
Upgrade to Hugo 0.125.7 (#1993)
chalin May 9, 2024
a7d1b6c
UG site config cleanup re lang params (#1994)
chalin May 9, 2024
5aaf5af
Update Hugo to 0.126.1, script name tweaks, and more (#2000)
chalin May 16, 2024
f8c4c16
[CI] UG NPM script tweaks (#2007)
chalin May 16, 2024
dd82c75
Cleanup of Google analytics templates (#2006)
chalin May 16, 2024
16852f3
Add RTL support using BSv5 (#2002)
chalin May 16, 2024
fa7541e
[RTL] Drop unused style files (#2020)
chalin May 28, 2024
6c084c0
[RTL] Fix top-nav position (#2018)
chalin May 28, 2024
3f67a44
[RTL] Add CHANGELOG entry and drop RTL for `en` (#2021)
chalin May 28, 2024
5663817
Fixed code-dark path (#2022)
jqueraltmo May 28, 2024
56d22f7
[RTL] Warn if RTL CSS not found + Hugo mod fix + more (#2027)
chalin May 29, 2024
eca1486
User guide, deployment page: add section 'Deployment on GitHub Pages'…
deining May 31, 2024
68ee81d
Update all NPM packages to latest, add `update:pkgs` script, and more…
chalin Jun 4, 2024
544397f
Add note on SwaggerUI and networking (#2030)
theletterf Jun 4, 2024
af5d92d
Add YMCA Website Services to Example Sites (#2037)
froboy Jul 1, 2024
ebcdb5d
[UG][cleanup] Updating Docsy: run Prettier and cleanup front matter (…
chalin Aug 5, 2024
49faeba
Upgrade Hugo, Prettier, and Font-Awesome (#2059)
deining Aug 5, 2024
26b4380
[infra] Upgrade all NPM packages, including Hugo to 0.131.0 (#2063)
chalin Aug 5, 2024
1df521f
[CI] Don't check links under Windows (#2064)
chalin Aug 5, 2024
149805c
[CI][UG] Serve to memory and disable fast render (#2066)
chalin Aug 5, 2024
81dfdeb
[feat] Support `contributingUrl` param (#2067)
chalin Aug 6, 2024
3e9bd6a
[UG] Add missing markdown link definition (#2068)
chalin Aug 7, 2024
99a1a7c
Add config option to control child page limit (#1334)
viren-nadkarni Aug 7, 2024
9de762e
Documents the body_class parameter (#1541)
fekete-robert Aug 7, 2024
a9e1592
Adds a warning when truncating sidebar section entries (#2069)
chalin Aug 8, 2024
75bcecd
Update uk.toml (#2071)
Andygol Oct 1, 2024
402293a
Replaced some instances of older config.yaml and config.json in userg…
SayakMukhopadhyay Oct 1, 2024
9cd0383
Update ar.toml -Enhance Arabic User Experience with Feedback Labels a…
jadmadi Oct 1, 2024
37c8634
Add support for Serbian language (cyrillic & latin) (#2088)
rammba Oct 1, 2024
88a0c73
remove rss_sections from docs (#2087)
LDReid Oct 1, 2024
9571ebe
Update Hugo to 0.133.1, and other pkgs (#2092)
chalin Oct 10, 2024
c332d64
RTL support via a single main style file (#2093)
chalin Oct 10, 2024
46a79b3
[RTL] Drop unused BS asset and scripts to fetch it (#2097)
chalin Oct 15, 2024
4332562
[UG] Add RTL config section (#2098)
chalin Oct 15, 2024
a9fd843
[fa] i18n: add remaining entries (#2099)
chalin Oct 17, 2024
6b43186
Header meta description: use same strategy as Hugo (#2100)
chalin Oct 17, 2024
f5a8d1a
Release 0.11.0 preparation (#2101)
chalin Oct 18, 2024
09892ef
Update packages: Hugo to 0.136.5 (#2106)
chalin Oct 30, 2024
d433b4e
Add missing feedback section in french (#2105)
codeboten Oct 31, 2024
12bfbf6
Set NPM package version to next unreleased dev version (#2109)
chalin Nov 6, 2024
daff199
Update pkgs, with Hugo to 0.137.0 (#2112)
chalin Nov 6, 2024
0603bc8
[UG] NPM install: add `npm init` and switch to YAML config (#2114)
chalin Nov 6, 2024
d05df5f
Delete .s3deploy.yml (#2111)
chalin Nov 6, 2024
aa96f2f
[CI] Make build checks pass again, skip .md link checking (#2118)
chalin Nov 6, 2024
dfafa63
User guide: correct instructions on how to disable RSS feed (#2104)
deining Nov 6, 2024
35622fd
[UG] Give guidance on what to do on "failed to load modules" error (#…
chalin Nov 6, 2024
6190da4
External link checking + project pages (#2120)
chalin Nov 15, 2024
1a3dca0
[CI] Restore format check as a part of `npm test` (#2124)
chalin Nov 15, 2024
b759f39
Upgrade Hugo and merge optional deps into dev (#2125)
chalin Nov 15, 2024
26308c2
Fix typo in deployment documentation (#2123)
shihyuho Nov 16, 2024
d03e7db
Update CHANGELOG.md: fix copy-paste error (#2127)
chalin Nov 19, 2024
a531819
[CI] Handle creation of empty Hugo-modules for deps (#2128)
chalin Nov 19, 2024
29702e3
Upgrade Hugo and FontAwesome (#2129)
chalin Nov 20, 2024
995fd9c
[CI] Patch search page HTML until Hugo is fixed, FA upgrade (#2135)
chalin Nov 23, 2024
d01c3be
[CI] Upgrade NPM pkgs, Hugo to 0.139.4 (#2143)
chalin Dec 12, 2024
8be30ef
Blog 2024 year in review (#2145)
chalin Dec 12, 2024
bbbbb29
Blog 2024 review: Add link to LFX mentorships (#2147)
chalin Dec 12, 2024
b8a9c88
Bump dependency Font-Awesome to latest version 6.7.2 (#2151)
deining Jan 3, 2025
0d45930
i18n: Add feedback_* to i18n/ja.toml (#2149)
rinsuki Jan 4, 2025
7fe5d7a
[CI] Upgrade NPM pkgs, Hugo to 0.140.2 (#2154)
chalin Jan 7, 2025
8683d42
Blog list layout refactoring (#2155)
chalin Jan 7, 2025
cba6e48
Blog list layout: display the page title and content (#2157)
chalin Jan 8, 2025
9243e15
Blog list layout whitespace cleanup (#2159)
chalin Jan 8, 2025
5ff062a
Hide index-page single breadcrumb (#2160)
chalin Jan 8, 2025
90558a5
Render-heading: process class attributes (#2165)
chalin Jan 9, 2025
4b5e598
Userguide config cleanup, drop pygments config (#2166)
chalin Jan 9, 2025
5a5f6ba
Update and improve zh-TW Traditional Chinese locale (#2158)
PeterDaveHello Jan 9, 2025
991045f
Bump KaTeX to latest version (#2168)
deining Jan 9, 2025
fcde2b6
Breadcrumb for blog pages, and per-page/section config (#2161)
chalin Jan 10, 2025
d2e3bce
Fix error when building user guide with latest hugo version 0.141.0 (…
deining Jan 20, 2025
031761b
[CI] Upgrade NPM packages (#2179)
chalin Jan 20, 2025
445cf2d
Drop style attribute using undef CSS var (#2180)
chalin Jan 21, 2025
c173057
Remove docsy's custom shortcode 'figure' (#2175)
deining Jan 21, 2025
ffcef65
Update Hugo to 0.142.0, and more (#2182)
chalin Jan 24, 2025
e525bab
Fix language-drop style when in left nav (#2183)
chalin Jan 30, 2025
86696e7
Upgrade Hugo to 0.143.0 and add comment shortcode (#2188)
chalin Feb 4, 2025
a159a25
User guide, LaTeX: typesetting of formulae using standard syntax (#1858)
deining Feb 6, 2025
13a35cb
Revert "UG LaTeX: typesetting of formulae using standard syntax (#185…
chalin Feb 10, 2025
68d4aea
Upgrade Hugo to 0.143.1, etc (#2191)
chalin Feb 10, 2025
9ab72aa
[feat] Add base support of td-content-after-header hook (#2192)
chalin Feb 10, 2025
98bdeeb
Add link def to CHANGELOG and clean up whitespace (#2193)
chalin Feb 10, 2025
e5958c6
[UG] Explain how to implement custom search (#2202)
chalin Mar 18, 2025
e903d55
[UG] Run Prettier over search.md page (#2203)
chalin Mar 19, 2025
03f79b5
Update NPM pkgs, Hugo to 0.145.0 (#2204)
chalin Mar 19, 2025
ba38a50
Heading render hook: support all attributes (#2206)
chalin Mar 21, 2025
3cda8fd
Replace 404'd link to cross reference docs with API reference for rel…
nathan-contino Apr 15, 2025
6590882
user guide: fix preview with latest hugo version 0.146.5 (#2215)
deining Apr 23, 2025
de19ecb
Fix typo (#2219)
deining Apr 23, 2025
43aafc6
Bump dependency bootstrap to latest released version 5.3.5 (#2222)
deining Apr 23, 2025
8650551
Rename Docsy's render-heading hook and helper partial (#2223)
chalin Apr 24, 2025
e2c45ac
User guide: remove deprecated kind 'taxonomyterm' from disableKinds (…
deining Apr 26, 2025
fce1e2c
Update pkgs: Hugo to 0.147.0, etc (#2228)
chalin Apr 26, 2025
2bc0e7a
[UG] Taxonomy page copyedited & prettified (#2229)
chalin Apr 28, 2025
941ef5b
Enable blank issue template (#2231)
chalin May 2, 2025
b5e79c9
Update Hugo to 0.147.2, and netlify-cli (#2239)
chalin May 14, 2025
0db7b26
Update Bootstrap to 5.3.6 (#2240)
chalin May 14, 2025
d3723f0
Cleanup: drop temporary GA template (#2237)
deining May 14, 2025
e7cf72a
Update packages, Hugo to 0.147.3 (#2242)
chalin May 16, 2025
b245acb
[UG] Run Prettier over all pages under `adding-content` (#2244)
chalin May 16, 2025
9ac2109
Move layouts/_default/_markup one level up, adjusts UG (#2246)
chalin May 16, 2025
a3d5db6
Add underscore to `partials` and `shortcodes` directory names (#2247)
chalin May 16, 2025
706042a
Check all external links, fix broken links (#2249)
chalin May 16, 2025
d74811a
User guide: fix wrong file name, update version information (#2251)
deining May 16, 2025
758020b
Drop `_internal` prefix from template paths (#2250)
chalin May 22, 2025
b1976fa
Update NPM pkgs, Hugo to 0.147.4 (#2254)
chalin May 22, 2025
ef06182
Moving some files out of `layouts/_default`, and using `all.html` (#2…
chalin May 22, 2025
04b10d4
Move new content-after-header hook into partials folder, add UG entry…
chalin May 22, 2025
8dd0edd
Move taxonomy and terms out of _default (#2257)
chalin May 22, 2025
3fec88b
User guide: minor improvements (#2258)
deining May 22, 2025
e2dda3c
Rename layout fragment to include `_td` prefix (#2259)
chalin May 22, 2025
531f0d7
Changelog updates for layout refactorings (#2260)
chalin May 23, 2025
1a27d47
Make content-after-header a layout fragment again (#2261)
chalin May 23, 2025
e9ea1c0
Config file misc clean up and refcache update (#2262)
chalin May 23, 2025
0223587
Update Hugo to 0.147.5 (#2263)
chalin May 27, 2025
c1de605
Linting of .scss files (#2253)
deining May 27, 2025
7f7fa9e
Update Ukrainian translation file (uk.toml): fixed errors, added miss…
JackArton May 27, 2025
d6fa4c2
Update Swagger UI to 5.21.0 (latest) (#2252)
Gr3q May 27, 2025
5550f49
i18n PT-BR: Added missing key, updated translations (#2233)
luigicaetano May 27, 2025
30cc3f0
Use font-weight-bold variable (#2234)
jorado May 27, 2025
59da02c
Streamline README.md and other copyedits (#2264)
chalin May 27, 2025
594db0f
i18n Norwegian: Added missing key, updated translations (#2186)
chrish May 27, 2025
2a32624
User guide, LaTeX: typesetting of formulae using standard syntax (II)…
deining May 27, 2025
f6d0d07
Update min Hugo version in theme config, and some UG copyedits (#2267)
chalin May 27, 2025
02a2412
Release v0.12.0 preparation (#2265)
chalin May 27, 2025
156a786
Set NPM package version to next unreleased dev version 0.12.1-dev (#2…
chalin May 27, 2025
dc50394
i18n: adds Occitan locale (#2173)
ensag-dev May 27, 2025
3a7cc94
Make it possible to use a javascript-based page-level toc
fekete-robert Oct 18, 2022
c7c6253
Make it possible to use a javascript-based page-level toc
fekete-robert May 30, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
blank_issues_enabled: false
blank_issues_enabled: true
contact_links:
- name: SUPPORT, ISSUES, and TROUBLESHOOTING
url: https://github.com/google/docsy/discussions
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,7 @@ jobs:
cache: npm
cache-dependency-path: package.json
- run: npm install --omit=optional
- run: npm run test:all
- if: runner.os != 'Windows'
run: npm run test:all
- if: runner.os == 'Windows'
run: npm run ci:prepare && npm run cd:docs build && npm run ci:post
19 changes: 0 additions & 19 deletions .markdown-link-check.json

This file was deleted.

6 changes: 0 additions & 6 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +0,0 @@
.editorconfig
.gitattributes
.gitignore
.nvmrc
.prettierignore
.s3deploy.yml
14 changes: 0 additions & 14 deletions .s3deploy.yml

This file was deleted.

12 changes: 11 additions & 1 deletion .vscode/cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,15 @@
{
"version": "0.2",
"caseSensitive": true,
"words": ["Docsy", "hugo", "shortcode", "shortcodes", "warnf"]
"words": [
"Docsy",
"errorf",
"hugo",
"shortcode",
"shortcodes",
"tabpane",
"upvote",
"warnf",
"relref"
]
}
148 changes: 136 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,23 +18,138 @@ Useful links:
[releases]: https://github.com/google/docsy/releases
[tags]: https://github.com/google/docsy/tags

## 0.9.2 or 0.10.0
## 0.12.1 or 0.13.0

> ### UNRELEASED: this planned version is still under development
> **UNRELEASED: this planned version is still under development**

For the full list of changes, see the [0.x.y] release notes.

**Breaking changes**:

- Removed shortcode `card-code` that was [deprecated in 0.7.0](#070); use
shortcode `card` with named parameter `code=true` instead.
- ...

**New**:

**Other changes**:

[0.x.y]: https://github.com/google/docsy/releases/latest?FIXME=v0.X.Y

## 0.12.0

For the full list of changes, see the [0.12.0] release notes.

**Breaking changes**:

- Renames the default Docsy heading render hook and heading self-link partials.
This is a breaking change only if your project uses this feature. For details,
see [Heading self links][] ([#2223]).
- Relocates and adapts layouts in response to Hugo's [new template system][].
For details, see [Adapt to new template system in Hugo v0.146.0 #2243][#2243].
- **IMPORTANT**: if your project overrides any of the layout files mentioned in
[#2243], then apply the same name changes in your project files. In
particular, note that:
- Taxonomy-related layout files: names have been _swapped_, and `terms.html`
is now singular ([#2257]):
- Renames `_default/taxonomy.html` to `term.html` (singular)
- Renames `_default/terms.html` to `taxonomy.html`
- Renames `layouts/**/content.html` by adding a `_td-` filename prefix
([#2259]).

[#2257]: https://github.com/google/docsy/pull/2257
[#2259]: https://github.com/google/docsy/pull/2259
[new template system]: https://gohugo.io/templates/new-templatesystem-overview/

**Potential breaking changes**:

- Removes shortcode `figure`, hugo's built-in shortcode `figure` can/will be
used instead.

**New**:

- **[Breadcrumb navigation]** support has been enhanced and adjusted:
- You can now disable breadcrumbs for an entire project, or individual pages
or sections by setting `ui.breadcrumb_disable` to true. For details, see
[Breadcrumb navigation][].
- **Blog** pages now also have breadcrumbs by default ([#1788]).
- Index-page single-element breadcrumb lists are hidden by default ([#2160]).
- Support for a [_td-content-after-header.html] page-content render hook, which
can be [content type][] specific ([#2192]). For details, see the [User
Guide][before-page-content].

**Other changes**:

- **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 one removed from
Hugo.

[0.12.0]: https://github.com/google/docsy/releases/v0.12.0
[#1787]: https://github.com/google/docsy/issues/1787
[#1788]: https://github.com/google/docsy/issues/1788
[#2160]: https://github.com/google/docsy/pull/2160
[#2192]: https://github.com/google/docsy/pull/2192
[#2223]: https://github.com/google/docsy/pull/2223
[#2243]: https://github.com/google/docsy/pull/2243
[before-page-content]:
https://www.docsy.dev/docs/adding-content/lookandfeel/#before-page-content
[Breadcrumb navigation]:
https://www.docsy.dev/docs/adding-content/navigation/#breadcrumb-navigation
[content type]: https://gohugo.io/quick-reference/glossary/#content-type
[Heading self links]:
https://www.docsy.dev/docs/adding-content/navigation/#heading-self-links
[_td-content-after-header.html]:
https://github.com/google/docsy/blob/main/layouts/_td-content-after-header.html

## 0.11.0

For the full list of changes, see the [0.11.0] release notes.

**New**:

- Support for Right-To-Left (RLT) languages is reintroduced via [Bootstrap's
support for RTL][bs-rtl]. For details, see [Right-to-left languages][rtl].
- The URL to your project's contribution guidelines is configurable. For
details, see [Adding a community page].
- When a section's sidebar entries are truncated because there are more than
[params.ui.sidebar_menu_truncate] section entries, a warning is issued.

[0.11.0]: https://github.com/google/docsy/releases/v0.11.0
[bs-rtl]: https://getbootstrap.com/docs/5.3/getting-started/rtl/
[Adding a community page]:
https://www.docsy.dev/docs/adding-content/content/#adding-a-community-page
[params.ui.sidebar_menu_truncate]:
https://www.docsy.dev/docs/adding-content/navigation/#section-menu-options
[rtl]: https://www.docsy.dev/docs/language/#right-to-left-languages

## 0.10.0

For an introduction to this release, see the [0.10.0 release report]. For the
full list of changes, see the [0.10.0] release notes.

**New**: color themes and dark-mode support! For details, see [Color themes and
dark-mode support][dark-mode].

**Breaking changes**:

- Removes shortcode `card-code` that was [deprecated in 0.7.0](#070); use
shortcode `card` with named parameter `code=true` instead.
- The following SCSS variables are inlined in favor of dark-mode compatible
styling: `$border-color`, `$td-sidebar-tree-root-color`,
`$td-sidebar-bg-color`, `$td-sidebar-border-color` ([#1952])

**Style changes** (potentially breaking):

- The style of various shortcode and elements have been adjusted so that they
are compatible with light/dark mode. For details see, **Important style
changes** in [Color themes and dark-mode support][dark-mode].

[#1952]: https://github.com/google/docsy/pull/1952
[0.10.0]: https://github.com/google/docsy/releases/v0.10.0
[0.10.0 release report]: https://www.docsy.dev/blog/2024/0.10.0/
[dark-mode]:
https://www.docsy.dev/blog/2024/0.10.0/#color-themes-and-dark-mode-support

## 0.9.1

Patch release. For details, see [0.9.1].
Expand Down Expand Up @@ -64,7 +179,8 @@ this release are listed next.
form `--KIND`. The new suffix is `__KIND`. For details, see [Disabling links].

- **Heading self-link** support has been reimplemented and projects must now
explicitly enable the feature. For details, see [Heading self links].
explicitly enable the feature. For details, see [Heading self
links][0.9.0:hsl].

**Footer changes**: refactoring, for easier customization, and simplification.
For details concerning all footer changes, see [#1818].
Expand Down Expand Up @@ -92,7 +208,7 @@ For details concerning all footer changes, see [#1818].
[Footer layout]: https://www.docsy.dev/blog/2024/0.9.0/#footer-layout
[Footer copyright]: https://www.docsy.dev/blog/2024/0.9.0/#footer-copyright
[Footer streamlined]: https://www.docsy.dev/blog/2024/0.9.0/#footer-streamlined
[Heading self links]: https://www.docsy.dev/blog/2024/0.9.0/#heading-self-links
[0.9.0:hsl]: https://www.docsy.dev/blog/2024/0.9.0/#heading-self-links
[look and feel]: https://www.docsy.dev/blog/2024/0.9.0/#look-and-feel
[mermaid]:
https://www.docsy.dev/docs/adding-content/diagrams-and-formulae/#diagrams-with-mermaid
Expand All @@ -109,10 +225,11 @@ For the full list of changes, see the [0.8.0] release notes.

**Breaking changes**:

- Docsy is packaged as a **single Hugo module** ([#1120]).
- For details, see [Use Docsy as a Hugo Module].
- **Important**: non-Hugo-module projects should read the [Docsy NPM install
side-effect] note.
- Docsy is packaged as a **single Hugo module** ([#1120]). For details, see [Use
Docsy as a Hugo Module].
- **Important**: non-Hugo-module projects should be aware of the [Docsy NPM
install side-effect]. Also, for guidance on Hugo-reported "failed to load
modules" error, see [Docsy as an NPM package].
- **Page feedback**, or [User feedback]:
- In support of projects configuring analytics outside of Docsy, feedback
functionality is enabled regardless of whether
Expand All @@ -131,6 +248,8 @@ For the full list of changes, see the [0.8.0] release notes.
[#1726]: https://github.com/google/docsy/pull/1726
[#1727]: https://github.com/google/docsy/pull/1727
[0.8.0]: https://github.com/google/docsy/releases/v0.8.0
[Docsy as an NPM package]:
https://docsy.dev/docs/get-started/other-options/#option-3-docsy-as-an-npm-package
[Docsy NPM install side-effect]:
https://docsy.dev/docs/get-started/other-options/#docsy-npm-install-side-effect
[Use Docsy as a Hugo Module]:
Expand Down Expand Up @@ -206,7 +325,8 @@ For the full list of changes, see the [0.7.0] release notes.
- **Shortcodes**:
- Now using Hugo's native support for processing HTML & markdown, not file
extension testing. ([#906])
- Dropped support for pre-Hugo-0.54.x behavior of `{{% %}}`. ([#939])
- Dropped support for pre-Hugo-0.54.x behavior of [shortcodes with markdown],
`{{%/*...*/%}}`. ([#939])
- `blocks/section`: **default** and accepted values of the `type` argument
have changed! For details, see [blocks/section] ([#1472]).
- **Card shortcodes** ([#1376])]:
Expand All @@ -219,6 +339,8 @@ For the full list of changes, see the [0.7.0] release notes.

[chroma-docsy]:
https://www.docsy.dev/docs/adding-content/lookandfeel/#code-highlighting-with-chroma
[shortcodes with markdown]:
https://gohugo.io/content-management/shortcodes/#shortcodes-with-markdown

- **Detection of draw.io diagrams** is now **disabled** by default [#1185]

Expand Down Expand Up @@ -419,9 +541,10 @@ For the full list of changes, see the [0.2.0] release notes.

<!-- ENTRY TEMPLATE ------------------------------------------------------

```
## 0.X.Y

> ### UNRELEASED: this planned version is still under development
> **UNRELEASED: this planned version is still under development**

For the full list of changes, see the [0.x.y] release notes.

Expand All @@ -434,5 +557,6 @@ For the full list of changes, see the [0.x.y] release notes.
**Other changes**:

[0.x.y]: https://github.com/google/docsy/releases/latest?FIXME=v0.X.Y
```

---------------------------------------------------------------------------->
21 changes: 12 additions & 9 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,10 @@ repo.
the end of the file. (Note that change details are autogenerated by GitHub
in a later step.)
3. **Update Docsy version** to v0.X.Y for:
- `version` key in [package.json](package.json)
- `version` key in [userguide/hugo.yaml][]
4. Run `npm install` to have vendor assets and [go.mod](go.mod) updated for
dependencies.
- `version` key in [package.json]
- `version` key in [userguide/hugo.yaml]
4. Run `npm run ci:prepare` to ensure that vendor assets and [go.mod]
dependencies are up-to-date.
5. **Submit a PR with your changes**, using a title like "Release v0.X.Y
preparation".
6. **Test the PR** branch from selected sites, and push any required
Expand Down Expand Up @@ -117,19 +117,22 @@ Assuming that Docsy release v0.X.Y has been successfully deployed and use by at
least one downstream project, then perform the following actions before any
further changes are merged into the default branch:

1. Set `version` in [package.json](package.json) to the next planned (or the
next dot) release with a dev suffix, such as `v0.X.Z-dev.0-unreleased`.
1. Set `version` in [package.json] to the next planned (or the next dot) release
with a dev suffix, such as `v0.X.Z-dev-unreleased`.
2. In the [CHANGELOG]:
- **Create a new entry** for the next release by copying the ENTRY TEMPLATE
at the end of the file.
- **Pin the 0.X.Y release URL**, which ends with `latest?FIXME=...`, to the
v0.X.Y release at `https://github.com/google/docsy/releases/v0.x.y`.
3. **Submit a PR with your changes**, using a title like "Set NPM package
version to next unreleased dev vers".
version to next unreleased dev version".
4. **Get PR approved and merged**.

[CHANGELOG]: CHANGELOG.md
[CHANGELOG]: https://github.com/google/docsy/blob/main/CHANGELOG.md
[contribution guidelines]: https://www.docsy.dev/docs/contribution-guidelines/
[docsy-example]: https://github.com/google/docsy-example
[Draft a new release]: https://github.com/google/docsy/releases/new
[userguide/hugo.yaml]: userguide/hugo.yaml
[go.mod]: https://github.com/google/docsy/blob/main/go.mod
[package.json]: https://github.com/google/docsy/blob/main/package.json
[userguide/hugo.yaml]:
https://github.com/google/docsy/blob/main/userguide/hugo.yaml
13 changes: 4 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
# Docsy

[![Project status: active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
[![Project releases](https://img.shields.io/github/release/google/docsy)](https://github.com/google/docsy/releases)
[![Project build Status](https://badges.netlify.com/api/docsydocs.svg?branch=main)](https://app.netlify.com/sites/docsydocs/deploys)
[![Project contributors](https://img.shields.io/github/contributors/google/docsy)](https://github.com/google/docsy/graphs/contributors)
[![Project license](https://img.shields.io/github/license/google/docsy)](https://github.com/google/docsy/blob/main/LICENSE)

## 🚧 WARNING 🚧 : `main` is under development and potentially unstable! Use official Docsy [releases].
> **🚧 WARNING 🚧 : `main` is under development and potentially unstable! Use
> official Docsy [releases].**

Docsy is a [Hugo](https://gohugo.io) theme for technical documentation sets,
providing simple navigation, site structure, and more.
Expand Down Expand Up @@ -95,8 +90,8 @@ requests, see [CONTRIBUTING.md]. Thank you to all past, present, and future

## License

This project is licensed under the Apache License 2.0 - see the
[LICENSE.md](https://github.com/google/docsy/blob/main/LICENSE) file for details
This project is licensed under the Apache License 2.0 - see
[LICENSE](https://github.com/google/docsy/blob/main/LICENSE) for details

[code of conduct]:
https://github.com/google/.github/blob/master/CODE_OF_CONDUCT.md
Expand Down
18 changes: 18 additions & 0 deletions assets/scss/_boxes.scss
Original file line number Diff line number Diff line change
Expand Up @@ -116,3 +116,21 @@
@each $color, $value in $grays {
@include box-variant(".td-box", $color, $value);
}

// Single dark-mode compatibility override for white boxes:
@include color-mode(dark) {
.td-box--white {
color: var(--bs-body-color);
background-color: var(--bs-body-bg);
p > a, span > a {
color: var(--bs-link-color);
&:focus,
&:hover {
color: rgba(var(--bs-link-color-rgb), var(--bs-link-opacity, 1));
}
}
.td-arrow-down::before {
border-color: var(--bs-body-bg) transparent transparent transparent;
}
}
}
Loading