Skip to content

chore: remove orphaned .mdx files not referenced in docs.yml#762

Merged
LeeVaughn merged 3 commits intomainfrom
devin/1773413573-remove-orphaned-mdx
Mar 13, 2026
Merged

chore: remove orphaned .mdx files not referenced in docs.yml#762
LeeVaughn merged 3 commits intomainfrom
devin/1773413573-remove-orphaned-mdx

Conversation

@devin-ai-integration
Copy link
Contributor

Summary

Removes 10 .mdx files from fern/pages/ that are not referenced anywhere in docs.yml and are not used as <Markdown src="..."/> imports in any other active page. These files were identified during a docs audit.

Deleted files:

  • audio-intelligence/auto-chapters-response.mdx — example JSON response snippet, unused
  • audio-intelligence/summarization-response.mdx — example JSON response snippet, unused
  • guides/index.mdx — large (1223 lines) "Cookbooks" overview page with custom CSS, no longer in navigation
  • speech-to-text/universal-streaming/multichannel-streaming.mdx
  • speech-to-text/universal-streaming/streaming-diarization.mdx
  • speech-to-text/universal-streaming/universal-streaming.mdx
  • speech-to-text/universal-streaming/voice-agents/index.mdx
  • speech-to-text/universal-streaming/voice-agents/livekit.mdx
  • speech-to-text/universal-streaming/voice-agents/pipecat.mdx
  • speech-to-text/universal-streaming/voice-agents/vapi.mdx

Not deleted (initially flagged but actually in use): 8 *-response.mdx files (e.g. entity-detection-response.mdx, pii-redaction-response.mdx) that are embedded in active pages via <Markdown src="..."/> imports.

Fern lint passes with 0 errors after this change.

Review & Testing Checklist for Human

  • Verify guides/index.mdx is safe to remove — this is the largest deletion (1223 lines with custom CSS/cards). Confirm this "Cookbooks" overview page has been replaced or is no longer needed. Note: guides/styles/styles.css still has a comment referencing it.
  • Check for external inbound links — the removed voice-agents/vapi.mdx, voice-agents/livekit.mdx, and voice-agents/pipecat.mdx pages may have been linked from external partner docs or blog posts. Verify these URLs redirect or are handled.
  • Spot-check that auto-chapters-response.mdx and summarization-response.mdx are truly unused — unlike the other 7 response files (which are <Markdown src> imports), these two had no references found. Worth a quick confirmation.

Recommended test plan: Deploy a docs preview and verify no broken pages or missing content appear in the Speech-to-Text, Audio Intelligence, and Guides sections.

Notes

Remove .mdx files that exist on disk but are not referenced anywhere in
docs.yml (neither in navigation nor as Markdown src imports):

- audio-intelligence/auto-chapters-response.mdx
- audio-intelligence/summarization-response.mdx
- guides/index.mdx
- universal-streaming/multichannel-streaming.mdx
- universal-streaming/streaming-diarization.mdx
- universal-streaming/universal-streaming.mdx
- universal-streaming/voice-agents/index.mdx
- universal-streaming/voice-agents/livekit.mdx
- universal-streaming/voice-agents/pipecat.mdx
- universal-streaming/voice-agents/vapi.mdx

Note: 8 other response .mdx files (e.g. entity-detection-response.mdx)
were initially identified as orphaned but are actually used via
<Markdown src> imports inside active docs pages, so they are retained.

Co-Authored-By: michelle <michey.asmah21@gmail.com>
@devin-ai-integration
Copy link
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment and CI monitoring

@github-actions
Copy link

@github-actions
Copy link

@devin-ai-integration
Copy link
Contributor Author

@lee I compared the PR preview against the live docs. Here are the results:

All 165 visible pages return HTTP 200 on both the live site and the preview site. No pages are missing from the preview.

I also checked whether the deleted files' potential URLs were accessible on the live site. 7 URLs returned 200 on both live and preview — meaning those URLs are served by other pages in docs.yml, not by the deleted orphaned files. The deleted files were truly unreachable duplicates.

Slug Live Preview
/guides 200 200 ✓
/streaming/streaming-diarization 200 200 ✓
/streaming/universal-streaming 200 200 ✓
/streaming/voice-agents 200 200 ✓
/universal-streaming/streaming-diarization 200 200 ✓
/universal-streaming/universal-streaming 200 200 ✓
/universal-streaming/voice-agents 200 200 ✓

Summary: No visible docs pages are lost in this PR. The 10 deleted .mdx files were not serving any accessible URL.

@github-actions
Copy link

@LeeVaughn LeeVaughn merged commit 9256c00 into main Mar 13, 2026
4 checks passed
@LeeVaughn LeeVaughn deleted the devin/1773413573-remove-orphaned-mdx branch March 13, 2026 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants