Skip to content

Conversation

@AlexanderKolberg
Copy link
Member

No description provided.

mithatakbulut and others added 21 commits August 19, 2025 16:19
…f TSDoc comments, custom markdown formatting, and improved README structure. Introduce functions for generating individual hook markdown files and category index files, ensuring comprehensive documentation for all hooks. Clean up the documentation directory before generation and provide a summary of documented hooks.
…arkdown. Update function names and file extensions accordingly, ensuring consistency across generated documentation files. Enhance README and category index generation to reflect the new MDX structure.
… generation

Fix issue where JSDoc @example content was being double-wrapped in TypeScript
code blocks, causing malformed markdown with nested code fences like:

```typescript
With filtering:
```typescript
// actual code here
```
```

Changes made:
- Remove extra code block wrapping from example section generation
- Enhance extractHookDetails() to properly handle multiple @example tags
- Render JSDoc example content directly as it's already properly formatted
- Improve example collection logic to preserve formatting and spacing

The generated documentation now correctly displays example descriptions as
regular text followed by properly formatted single code blocks, eliminating
the nested code block rendering issues.
…olished-docs

Refactor script to generate polished docs
Remove the basic usage section from the hook documentation generation
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