Skip to content

Commit

Permalink
Update theme (#7050)
Browse files Browse the repository at this point in the history
* Theme updates

- Remove fingerprinting of cache files
- Use linkTitle for navigation links to docs
- Pause Algolia analytics
- Bugfix for flickering in Explore Docs menu
- Update NPM dependencies
- Hide deprecated guides in Explore Docs menu

* Adopt environment variable for Node version in GitHub Actions

* Update NPM dependencies
  • Loading branch information
nmelehan authored Jul 17, 2024
1 parent 64acbec commit 6753640
Show file tree
Hide file tree
Showing 18 changed files with 10,982 additions and 4,464 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-production-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- name: 8. Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14
node-version: ${{ vars.NODE_VERSION }}

- name: 9. Install dependencies (Node)
working-directory: ./docs-repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-staging-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jobs:
- name: 8. Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14
node-version: ${{ vars.NODE_VERSION }}

- name: 9. Install dependencies (Node)
working-directory: ./docs-repo
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build-testing-site.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ jobs:
- name: 8. Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14
node-version: ${{ vars.NODE_VERSION }}

- name: 9. Install dependencies (Node)
working-directory: ./docs-repo
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/cache-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,11 @@ jobs:
continue-on-error: true
run: ls -al ${{ vars.HUGO_IMAGE_CACHE_PATH }}

- name: 8. Install Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ vars.NODE_VERSION }}

- name: Install dependencies (Node)
working-directory: ./docs-repo
run: npm ci
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

26 changes: 13 additions & 13 deletions _vendor/github.com/linode/linode-docs-theme/package.hugo.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

24 changes: 12 additions & 12 deletions _vendor/github.com/linode/linode-docs-theme/package.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion _vendor/modules.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# github.com/linode/linode-docs-theme v0.0.0-20240703153238-82b4e03bea44
# github.com/linode/linode-docs-theme v0.0.0-20240717134034-e8ca2e4ff8e0
# github.com/linode/linode-website-partials v0.0.0-20240516182804-8b13c1f13759
# github.com/gohugoio/hugo-mod-jslibs-dist/alpinejs/v3 v3.21300.20800
# github.com/gohugoio/hugo-mod-jslibs/turbo/v8 v8.20000.20400
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ require (
github.com/gohugoio/hugo-mod-jslibs/turbo/v7 v7.20300.20000 // indirect
github.com/instantpage/instant.page v5.1.1+incompatible // indirect
github.com/linode/linode-api-docs/v4 v4.176.0 // indirect
github.com/linode/linode-docs-theme v0.0.0-20240703153238-82b4e03bea44 // indirect
github.com/linode/linode-docs-theme v0.0.0-20240717134034-e8ca2e4ff8e0 // indirect
)
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,8 @@ github.com/linode/linode-docs-theme v0.0.0-20240618214412-23d0d6b33823 h1:V7w2Ot
github.com/linode/linode-docs-theme v0.0.0-20240618214412-23d0d6b33823/go.mod h1:VJUOubAM5Rxfw4hPlBH+vQ5H6il0m3k5ZYn9OViz+Ok=
github.com/linode/linode-docs-theme v0.0.0-20240703153238-82b4e03bea44 h1:k17KXxVg3T2x0sB2YelCYCGCwNk9bJbcbkjP2s2rhVI=
github.com/linode/linode-docs-theme v0.0.0-20240703153238-82b4e03bea44/go.mod h1:VJUOubAM5Rxfw4hPlBH+vQ5H6il0m3k5ZYn9OViz+Ok=
github.com/linode/linode-docs-theme v0.0.0-20240717134034-e8ca2e4ff8e0 h1:u71ng4lUdlN18anBPgaZgIwmIGGqPKpriqk9PyhwoxQ=
github.com/linode/linode-docs-theme v0.0.0-20240717134034-e8ca2e4ff8e0/go.mod h1:VJUOubAM5Rxfw4hPlBH+vQ5H6il0m3k5ZYn9OViz+Ok=
github.com/linode/linode-website-partials v0.0.0-20221205205120-b6ea1aaa59fb/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao=
github.com/linode/linode-website-partials v0.0.0-20221222200538-99862e429110/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao=
github.com/linode/linode-website-partials v0.0.0-20230201145731-a8703d0a954a/go.mod h1:K1Em3lwb16JiCwNVftAFwWGhyB9Zkl/nXhxjBBUC1Ao=
Expand Down
Loading

0 comments on commit 6753640

Please sign in to comment.