Skip to content

Commit

Permalink
Merge pull request #612 from entando/ENDOC-512-activate-7.1
Browse files Browse the repository at this point in the history
ENDOC-512 Make 7.1 the active version
  • Loading branch information
nshaw authored Nov 7, 2022
2 parents 93c8b11 + 39f309b commit 0e1bdcb
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions vuepress/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ We have a simple versioning system in place currently. Creating a new version in
1. Publish to the staging site and run the deadlink checker on it

#### Activate the new version
1. Update `config.js`
1. `landingSecondaryNav` to set the active version for the landing page nav
1. Update `docs/.vuepress/config.js`
1. `landingSecondaryNav` `Docs`.link and `Tutorials`.link to set the active version for the landing page nav
1. `entando.version` to set the active version for the regular pages left-nav version navigation.
1. Update the data properties in `components/LandingPage.vue` to set the `activeVersionPath` and `activeVersionTag`
1. Update the data properties in `docs/.vuepress/components/LandingPage.vue` to set the `activeVersionPath` and `activeVersionTag`
1. Modify the 3 manual redirect pages under `docs`, `docs/getting-started` and `tutorials` to point to the new active version

### Publishing
Expand Down
4 changes: 2 additions & 2 deletions vuepress/docs/.vuepress/components/LandingPage.vue
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,8 @@ export default {
data: function() {
return {
activeVersionPath: "/v7.0",
activeVersionTag: "v7.0",
activeVersionPath: "/v7.1",
activeVersionTag: "v7.1",
isStepOneOpen: true,
isStepTwoOpen: false,
isStepThreeOpen: false,
Expand Down
6 changes: 3 additions & 3 deletions vuepress/docs/.vuepress/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,8 @@ module.exports = {
}
],
landingSecondaryNav: [
{text: 'Docs', link: '/v7.0/docs/', target: '_self'},
{text: 'Tutorials', link: '/v7.0/tutorials/', target: '_self'},
{text: 'Docs', link: '/v7.1/docs/', target: '_self'},
{text: 'Tutorials', link: '/v7.1/tutorials/', target: '_self'},
{text: 'Forum', link: 'https://forum.entando.org'},
{text: 'Blog', link: 'https://www.entando.com/page/en/blog'},
],
Expand Down Expand Up @@ -144,7 +144,7 @@ module.exports = {
},
logoLink: "https://entando.com",
section: "Docs",
version: "7.0",
version: "7.1",
docs: navLinks.links('Docs', '/docs/'),
tutorials: navLinks.links('Tutorials', '/tutorials/'),
},
Expand Down
2 changes: 1 addition & 1 deletion vuepress/docs/docs/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Redirecting to the current Docs...
<EntandoRedirect to="../v7.0/docs" />
<EntandoRedirect to="../v7.1/docs" />
2 changes: 1 addition & 1 deletion vuepress/docs/docs/getting-started/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Redirecting to the current Getting Started guide...
<EntandoRedirect to="../../v7.0/docs/getting-started" />
<EntandoRedirect to="../../v7.1/docs/getting-started" />
2 changes: 1 addition & 1 deletion vuepress/docs/tutorials/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Redirecting to the current Tutorials...
<EntandoRedirect to="../v7.0/tutorials" />
<EntandoRedirect to="../v7.1/tutorials" />

0 comments on commit 0e1bdcb

Please sign in to comment.