Skip to content

Commit

Permalink
fix documentation for release
Browse files Browse the repository at this point in the history
  • Loading branch information
creativeprojects committed Jun 27, 2024
1 parent 08a01c4 commit c9f87ec
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 9 deletions.
15 changes: 8 additions & 7 deletions .github/workflows/release-doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,23 @@ on:
push:
tags:
- 'v*'
branches: [ master ]

jobs:
deploy:
runs-on: ubuntu-latest
steps:

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ~1.22

- uses: actions/checkout@v4
with:
submodules: true # Fetch Hugo themes (true OR recursive)
fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: ~1.22

- name: Check configuration snippets in documentation
run: go run ./config/checkdoc -r docs/content
shell: bash
Expand All @@ -30,7 +31,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Setup Hugo
uses: peaceiris/actions-hugo@v2
uses: peaceiris/actions-hugo@v3
with:
hugo-version: 'latest'
extended: true
Expand All @@ -51,7 +52,7 @@ jobs:
cmd_params: '--exclude="(linux.die.net|stackoverflow.com)" --buffer-size=8192 --max-connections-per-host=5 --rate-limit=5 --timeout=20 --header="User-Agent:curl/7.54.0" --skip-tls-verification'

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
uses: peaceiris/actions-gh-pages@v4
# if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion docs/content/configuration/jsonschema/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,6 @@ YAML & TOML validation with JSON schema is not supported out of the box. Additio

**Example**

{{< figure src="jsonschema-vsc.gif" >}}
{{< figure src="/configuration/jsonschema/jsonschema-vsc.gif" >}}

**Extension**: `redhat.vscode-yaml`
2 changes: 1 addition & 1 deletion docs/themes/hugo-theme-relearn
Submodule hugo-theme-relearn updated 59 files
+1 −1 assets/css/format-print.css
+19 −0 exampleSite/content/basics/CHANGELOG.md
+19 −6 exampleSite/content/basics/customization/_index.en.md
+43 −21 exampleSite/content/basics/migration/_index.en.md
+1 −1 exampleSite/content/basics/requirements/_index.en.md
+1 −0 exampleSite/content/cont/i18n/_index.en.md
+1 −0 exampleSite/content/cont/i18n/_index.pir.md
+82 −45 exampleSite/content/cont/markdown.en.md
+7 −11 exampleSite/content/shortcodes/attachments/index.en.md
+4 −4 exampleSite/content/shortcodes/badge.en.md
+2 −2 exampleSite/content/shortcodes/button.en.md
+2 −2 exampleSite/content/shortcodes/notice.en.md
+2 −2 exampleSite/content/shortcodes/resources/index.en.md
+1 −1 exampleSite/test-hugo.min.bat
+1 −4 hugo.toml
+1 −7 layouts/404.html
+1 −9 layouts/_default/index.json
+1 −9 layouts/_default/index.search.js
+6 −5 layouts/_default/rss.xml
+7 −19 layouts/_default/sitemap.xml
+1 −1 layouts/_default/taxonomy.html
+1 −3 layouts/_default/term.html
+16 −14 layouts/partials/body.searchpage.html
+2 −12 layouts/partials/breadcrumbs.html
+9 −4 layouts/partials/dependencies.html
+13 −10 layouts/partials/dependencies/mathjax.html
+14 −11 layouts/partials/dependencies/mermaid.html
+21 −18 layouts/partials/dependencies/openapi.html
+2 −17 layouts/partials/header.html
+2 −1 layouts/partials/heading.html
+3 −2 layouts/partials/initial.html
+50 −75 layouts/partials/opengraph.html
+12 −9 layouts/partials/page-meta.hugo
+1 −1 layouts/partials/pageHelper/depth.hugo
+42 −0 layouts/partials/pageHelper/title.hugo
+8 −6 layouts/partials/search.html
+2 −13 layouts/partials/shortcodes/attachments.html
+2 −1 layouts/partials/shortcodes/image.html
+66 −1 layouts/partials/shortcodes/link.html
+9 −20 layouts/partials/topbar/button/next.html
+9 −22 layouts/partials/topbar/button/prev.html
+10 −37 layouts/partials/twitter_cards.html
+1 −1 layouts/partials/version.txt
+1 −0 static/css/auto-complete.css
+1 −1 static/css/fonts.css
+5 −5 static/css/ie.css
+1 −1 static/css/perfect-scrollbar.min.css
+1 −1 static/css/theme-relearn-bright.css
+1 −1 static/css/theme-relearn-dark.css
+1 −1 static/css/theme-relearn-light.css
+42 −3 static/css/theme.css
+11 −1 static/css/variant.css
+4 −3 static/js/auto-complete.js
+6 −6 static/js/perfect-scrollbar.min.js
+1 −1 static/js/search.js
+59 −8 static/js/theme.js
+1 −1 theme.toml
+67 −67 vscode-frontmatter/snippets.de.json
+67 −67 vscode-frontmatter/snippets.en.json

0 comments on commit c9f87ec

Please sign in to comment.