Skip to content

Commit

Permalink
feat: adjust the release note query string builder to always point to…
Browse files Browse the repository at this point in the history
… product tab (#2092)

* feat: adjust the release note query string builder to always point to product tab

* Create tough-pugs-glow.md

* chore: keep logic and remove docs site prefix only
  • Loading branch information
FFawzy authored Sep 25, 2024
1 parent f2f9eb6 commit 7d68263
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/tough-pugs-glow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@commercetools-docs/gatsby-theme-docs": patch
---

feat: adjust the release note query string builder to always point to product tab
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { buildReleaseNotesQueryString } from '../utils/release-notes';
import { useSiteData } from './use-site-data';

const OTHER_GROUP_SITE_PREFIXES = ['/docs']; // let's use pathPrefix to identify websites (works only on prod)
const OTHER_GROUP_SITE_PREFIXES = []; // let's use pathPrefix to identify websites that point to others tab (works only on prod), docs-team asked to point all to product sofar
const RELEASE_NOTES_BASE_URL = '/docs/release-notes'; // only prod url

const useReleaseNotesConfig = () => {
Expand Down

0 comments on commit 7d68263

Please sign in to comment.