Skip to content

Commit 04f0044

Browse files
authored
Merge pull request #585 from Shitanshukumar607/communit-page-change
Update contribution links to include public view and invitation
2 parents f9010b7 + b742d14 commit 04f0044

File tree

3 files changed

+16
-4
lines changed

3 files changed

+16
-4
lines changed

docusaurus.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,15 @@ const config: Config = {
2020
projectName: "recode-website",
2121

2222
onBrokenLinks: "throw",
23+
24+
// Remove the deprecated option
25+
// onBrokenMarkdownLinks: "warn",
26+
27+
markdown: {
28+
hooks: {
29+
onBrokenMarkdownLinks: "warn",
30+
},
31+
},
2332

2433
// Google Analytics and Theme Scripts
2534
scripts: [
@@ -242,6 +251,9 @@ const config: Config = {
242251

243252
markdown: {
244253
mermaid: true,
254+
hooks: {
255+
onBrokenMarkdownLinks: "warn",
256+
},
245257
},
246258

247259
// Keep legacy setting until fully migrated to v4

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@
5858
"vanilla-tilt": "^1.8.1"
5959
},
6060
"devDependencies": {
61-
"@docusaurus/module-type-aliases": "^3.9.1",
61+
"@docusaurus/module-type-aliases": "3.9.1",
6262
"@docusaurus/tsconfig": "^3.9.1",
63-
"@docusaurus/types": "^3.9.1",
63+
"@docusaurus/types": "3.9.1",
6464
"@tailwindcss/postcss": "^4.1.4",
6565
"@types/canvas-confetti": "^1.9.0",
6666
"@types/react": "^19.1.9",

src/pages/community/index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ const contributionSections: ContributionSection[] = [
3333
'Read about how to propose new features, collaborate on pull requests, and review peer code.'
3434
],
3535
links: [
36-
{ text: 'GitHub', url: 'https://github.com/recodehive' },
37-
{ text: 'GitLab', url: 'https://gitlab.com' }
36+
{ text: 'GitHub', url: 'https://github.com/recodehive?view_as=public' },
37+
{ text: 'Join our organization', url: 'https://github.com/recodehive/Support/issues/new?assignees=&labels=invite+me+to+the+community&projects=&template=invitation.yml&title=Please+invite+me+to+the+Recode-Hive+GitHub+Community+Organization' }
3838
],
3939
color: '#8b5cf6'
4040
},

0 commit comments

Comments
 (0)