Skip to content

Conversation

@angeloashmore
Copy link
Member

Resolves: N/A

Description

This PR simplifies existing TSDocs and adds new docs where there were none.

Checklist

  • A comprehensive Linear ticket, providing sufficient context and details to facilitate the review of the PR, is linked to the PR.
  • If my changes require tests, I added them.
  • If my changes affect backward compatibility, it has been discussed.
  • If my changes require an update to the CONTRIBUTING.md guide, I updated it.

Preview

How to QA 1

Footnotes

  1. Please use these labels when submitting a review:
    ❓ #ask: Ask a question.
    💡 #idea: Suggest an idea.
    ⚠️ #issue: Strongly suggest a change.
    🎉 #nice: Share a compliment.

Add detailed TSDoc comments to all publicly exported components and functions including:
- PrismicNextLink and PrismicNextImage components with usage examples
- enableAutoPreviews() for both App and Pages Router
- redirectToPreviewURL() for both App and Pages Router
- setPreviewData() for Pages Router
- PrismicPreview components for both App and Pages Router

Each documented item now includes:
- Concise 1-2 sentence descriptions
- Parameter documentation
- Return value documentation
- TypeScript usage examples
- Links to relevant Prismic and Next.js documentation

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
Apply prettier formatting to JSDoc comments following project conventions.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
@angeloashmore
Copy link
Member Author

This was a Claude Code experiment. We'll come back to this another time.

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.

3 participants