Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions docusaurus.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,15 @@ const config: Config = {
projectName: "recode-website",

onBrokenLinks: "throw",

// Remove the deprecated option
// onBrokenMarkdownLinks: "warn",

markdown: {
hooks: {
onBrokenMarkdownLinks: "warn",
},
},

// Google Analytics and Theme Scripts
scripts: [
Expand Down Expand Up @@ -242,6 +251,9 @@ const config: Config = {

markdown: {
mermaid: true,
hooks: {
onBrokenMarkdownLinks: "warn",
},
},
Comment on lines 252 to 257
Copy link

Copilot AI Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The hooks.onBrokenMarkdownLinks configuration is duplicated - it appears both at lines 29-30 and 255-256. This duplication could cause configuration conflicts and should be consolidated into a single location.

Copilot uses AI. Check for mistakes.


// Keep legacy setting until fully migrated to v4
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@
"vanilla-tilt": "^1.8.1"
},
"devDependencies": {
"@docusaurus/module-type-aliases": "^3.9.1",
"@docusaurus/module-type-aliases": "3.9.1",
"@docusaurus/tsconfig": "^3.9.1",
"@docusaurus/types": "^3.9.1",
"@docusaurus/types": "3.9.1",
Copy link

Copilot AI Oct 3, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the caret (^) prefix pins these dependencies to exact versions. This prevents automatic minor/patch updates and may cause version conflicts with other dependencies that expect compatible ranges. Consider keeping the caret prefix unless there's a specific reason to pin these exact versions.

Suggested change
"@docusaurus/types": "3.9.1",
"@docusaurus/types": "^3.9.1",

Copilot uses AI. Check for mistakes.

"@tailwindcss/postcss": "^4.1.4",
"@types/canvas-confetti": "^1.9.0",
"@types/react": "^19.1.9",
Expand Down
4 changes: 2 additions & 2 deletions src/pages/community/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ const contributionSections: ContributionSection[] = [
'Read about how to propose new features, collaborate on pull requests, and review peer code.'
],
links: [
{ text: 'GitHub', url: 'https://github.com/recodehive' },
{ text: 'GitLab', url: 'https://gitlab.com' }
{ text: 'GitHub', url: 'https://github.com/recodehive?view_as=public' },
{ 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' }
Copy link

Copilot AI Sep 22, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The URL string is extremely long and reduces code readability. Consider extracting it to a constant or breaking it into multiple lines for better maintainability.

Copilot uses AI. Check for mistakes.

],
color: '#8b5cf6'
},
Expand Down
Loading