File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -58,13 +58,14 @@ const config = {
5858 sidebarPath : require . resolve ( './sidebars.js' ) ,
5959 // docs are the site - no separate landing page. Root '/' is getting-started
6060 routeBasePath : '/' ,
61- // 6.0 (the working docs under docs/) is the default version served at the root.
61+ // 6.x (the working docs under docs/) is the default version served at the root. Minor releases are
62+ // additive so they share this version - the label stays 6.x rather than tracking 6.0/6.1/6.2.
6263 // 5.7 (snapshotted from the 5.7.2 tag under versioned_docs) remains browsable at /5.7/.
63- // Cut the next snapshot (docs:version 6.0 ) only when 6.x-stable and next-major docs diverge
64+ // Cut the next snapshot (docs:version 6.x ) only when 6.x-stable and next-major docs diverge
6465 lastVersion : 'current' ,
6566 versions : {
6667 current : {
67- label : '6.0 ' ,
68+ label : '6.x ' ,
6869 } ,
6970 5.7 : {
7071 label : '5.7' ,
@@ -85,8 +86,10 @@ const config = {
8586 /** @type {import('@docusaurus/preset-classic').ThemeConfig } */
8687 ( {
8788 announcementBar : {
89+ // evergreen pointer rather than release news, so it does not go stale each minor. Keep the id
90+ // stable - anyone who has dismissed it stays dismissed
8891 id : 'v6-release' ,
89- content : 'EntityGraphQL 6.0 is here! Upgrading from 5.x? See the <a href="/upgrade-6-0">upgrade guide</a>.' ,
92+ content : 'These docs cover EntityGraphQL 6.x. Upgrading from 5.x? See the <a href="/upgrade-6-0">upgrade guide</a>.' ,
9093 isCloseable : true ,
9194 } ,
9295 navbar : {
You can’t perform that action at this time.
0 commit comments