Skip to content

fix(pages): add missing code-of-conduct markdown file#2370

Closed
student-ankitpandit wants to merge 1 commit intojson-schema-org:mainfrom
student-ankitpandit:fix/add-missing-coc-_index-markdown
Closed

fix(pages): add missing code-of-conduct markdown file#2370
student-ankitpandit wants to merge 1 commit intojson-schema-org:mainfrom
student-ankitpandit:fix/add-missing-coc-_index-markdown

Conversation

@student-ankitpandit
Copy link
Copy Markdown

@student-ankitpandit student-ankitpandit commented Mar 28, 2026

What kind of change does this PR introduce?

Bugfix (added _index.md file to render coc correctly)

Issue Number:

Closes #2369

Screenshots/videos:

image

If relevant, did you update the documentation?

No

Summary

This PR fixes the Code of Conduct page that was failing to load due to a missing markdown file. The getStaticProps() function in index.page.tsx was trying to read _index.md which didn't exist. This PR adds the missing file with the official Code of Conduct content from the JSON Schema GitHub repository.

Does this PR introduce a breaking change?

No

Checklist

Please ensure the following tasks are completed before submitting this pull request.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 28, 2026

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
website ✅ Ready (View Log) Visit Preview 560ff35

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 28, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (5ca1483) to head (560ff35).

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #2370   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           30        30           
  Lines          672       672           
  Branches       211       211           
=========================================
  Hits           672       672           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@Utkarsh-123github
Copy link
Copy Markdown
Member

Closing this PR, as the issue is not reproducible.
Thanks!

@github-project-automation github-project-automation bot moved this from Ready to review to Done in PR - Triage Group Mar 29, 2026
@student-ankitpandit
Copy link
Copy Markdown
Author

Right, I also added the all 12 submodules but the issue is still there locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

🐛 Bug: code-of-conduct page fails due to missing markdown file

2 participants