Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

A [Hugo](https://gohugo.io/) site with the [tannevaled/hextra](https://github.com/tannevaled/hextra)
fork of the [Hextra](https://github.com/imfing/hextra) theme, pinned at its
**v0.16.0** tag, built the same way as the
**v0.20.0** tag, built the same way as the
[go-plot documentation](https://github.com/go-plot/docs), with go-slides'
branding. It documents [`go-slides/slides`](https://github.com/go-slides/slides).

Expand Down Expand Up @@ -39,7 +39,7 @@ against that release (flags from its `slides -h`).
| `layouts/_partials/custom/content-begin.html` | the outdated-version banner |
| `layouts/_partials/favicons.html` | the brand's favicons |
| `assets/css/custom.css` | the brand indigo as Hextra's primary colour, with its contrast measured |
| `themes/hextra` | submodule: tannevaled/hextra at tag v0.16.0 |
| `themes/hextra` | submodule: tannevaled/hextra at tag v0.20.0 |
| `branding` | submodule: [go-slides/brand](https://github.com/go-slides/brand) |
| `content/<lang>/` | the translations (fr, de, es, zh, ko, ja), with the English file names; Chinese is Simplified (`zh-Hans`). Code, flags, directive names and file names stay as in English; each translated heading carries the English heading's `{#anchor}` |
| `tools/i18n` | a Go program (stdlib only, with tests): the CI fails when a page of `content/en` is missing in a language of `hugo.yaml` (or exists only in a translation), and warns when a translation changes code, shortcodes, link targets or anchors (`-strict` fails on those too); `-fix` adds the anchors, `-built public` compares the built site's heading ids with the English ones |
Expand Down
4 changes: 4 additions & 0 deletions hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ menu:
params:
type: language-switch
label: true
combo: true
icon: translate
- name: Theme
weight: 5
Expand Down Expand Up @@ -168,6 +169,9 @@ params:
# It appears once a second language is declared (languages: above).
languageSwitch:
icon: translate
# Once, in the navbar beside the theme toggle: not also at the foot of the
# sidebar. On a phone the navbar's combo keeps its icon and chevron.
location: navbar
versions:
# The version selector shows "main" with the development icon.
development: "main"
Expand Down
2 changes: 1 addition & 1 deletion themes/hextra
Submodule hextra updated 37 files
+61 −0 .github/workflows/test-search-scope.yml
+1 −1 assets/css/compiled/main.css
+48 −0 assets/css/components/openapi.css
+1 −0 assets/css/styles.css
+37 −25 ci/docs.gitlab-ci.yml
+138 −0 docs/assets/openapi/example.yaml
+50 −3 docs/content/docs/advanced/customization.md
+7 −0 docs/content/docs/guide/configuration.fa.md
+7 −0 docs/content/docs/guide/configuration.ja.md
+7 −0 docs/content/docs/guide/configuration.md
+7 −0 docs/content/docs/guide/configuration.zh-cn.md
+1 −0 docs/content/docs/guide/shortcodes/_index.fa.md
+1 −0 docs/content/docs/guide/shortcodes/_index.ja.md
+1 −0 docs/content/docs/guide/shortcodes/_index.md
+1 −0 docs/content/docs/guide/shortcodes/_index.zh-cn.md
+4 −4 docs/content/docs/guide/shortcodes/filetree.md
+48 −0 docs/content/docs/guide/shortcodes/openapi.fa.md
+48 −0 docs/content/docs/guide/shortcodes/openapi.ja.md
+48 −0 docs/content/docs/guide/shortcodes/openapi.md
+48 −0 docs/content/docs/guide/shortcodes/openapi.zh-cn.md
+1 −0 docs/hugo_stats.json
+54 −0 i18n/tr.yaml
+4 −1 layouts/_partials/components/search-dialog.html
+19 −6 layouts/_partials/language-switch.html
+6 −1 layouts/_partials/navbar.html
+5 −0 layouts/_partials/scripts.html
+13 −79 layouts/_partials/scripts/asciinema.html
+53 −0 layouts/_partials/scripts/openapi.html
+58 −0 layouts/_partials/utils/flag.html
+84 −0 layouts/_partials/utils/vendor-assets.html
+88 −0 layouts/_shortcodes/openapi.html
+1 −1 layouts/archives.html
+3 −3 package-lock.json
+2 −1 package.json
+118 −0 tests/language-flags.spec.ts
+106 −0 tests/openapi.spec.ts
+112 −0 tests/search-scope.spec.ts
Loading