Skip to content

Commit

Permalink
docs: Update docs for v5
Browse files Browse the repository at this point in the history
  • Loading branch information
khalwat committed Jan 16, 2024
1 parent 50872b1 commit adfcb41
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ env:
on:
push:
branches:
- v4
- v5
paths:
- 'docs/**'
pull_request:
branches:
- v4
- v5
paths:
- 'docs/**'
workflow_dispatch:
Expand Down
2 changes: 1 addition & 1 deletion docs/Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
MAJOR_VERSION?=4
MAJOR_VERSION?=5
TAG?=20-alpine
CONTAINER?=$(shell basename $(dir $(CURDIR)))-v${MAJOR_VERSION}-docs
DOCS_DEV_PORT?=400${MAJOR_VERSION}
Expand Down
7 changes: 4 additions & 3 deletions docs/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export default defineConfig({
],
logo: '/img/plugin-logo.svg',
editLink: {
pattern: 'https://github.com/nystudio107/craft-code-field/edit/develop-v4/docs/docs/:path',
pattern: 'https://github.com/nystudio107/craft-code-field/edit/develop-v5/docs/docs/:path',
text: 'Edit this page on GitHub'
},
algolia: {
Expand All @@ -34,8 +34,9 @@ export default defineConfig({
{text: 'Changelog', link: 'https://nystudio107.com/plugins/code-field/changelog'},
{text: 'Issues', link: 'https://github.com/nystudio107/craft-code-field/issues'},
{
text: 'v4', items: [
{text: 'v4', link: '/'},
text: 'v5', items: [
{text: 'v5', link: '/'},
{text: 'v4', link: 'https://nystudio107.com/docs/codefield/v4/'},
{text: 'v3', link: 'https://nystudio107.com/docs/codefield/v3/'},
],
},
Expand Down

0 comments on commit adfcb41

Please sign in to comment.