-
-
Notifications
You must be signed in to change notification settings - Fork 7
0.6.0 #98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
gcanti
wants to merge
56
commits into
main
Choose a base branch
from
0.6.0
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
🦋 Changeset detectedLatest commit: 49e99a2 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
- Remove `Example` class and use direct string arrays for examples - Modify `Doc` class to use arrays for tags like `since`, `deprecated`, `category` - Update parsing logic to handle multiple tags and remove error-throwing validation - Simplify function and class parsing by removing redundant error checks - Remove chalk dependency and related error formatting - Modify `getDoc` function to return a more flexible `Doc` instance
- Adjust nav_order for documentation modules to maintain correct sequence - Remove sorting logic from Parser and Printer modules - Simplify module parsing and printing by removing redundant sorting operations - Update test cases to remove sorting-related expectations
- Introduce `Position` interface in Domain module to track function source locations - Update Function constructor to include position information - Implement function position tracking in Parser module - Add @SInCE tag validation in Checker module using Babel code frame - Modify documentation generation to use new position and filename tracking - Update tests to validate new @SInCE tag checking functionality
- Update type parsing to use more comprehensive type extraction - Modify function and constant signatures to use `declare const` format - Remove `stripImportTypes` utility function - Improve type signature generation for functions, type aliases, and constants - Update test cases to reflect new signature generation approach
- Change `signatures` property to single `signature` in Function, Method, and related classes - Update signature generation to use `declare const` format with type information - Simplify signature printing and parsing logic - Modify documentation generation to use new signature approach - Update test cases to reflect new signature format
- Move internal printing functions to module-level scope - Add documentation for `printFrontMatter` function - Update documentation to reflect function visibility changes
- Implement source link generation for functions, classes, and other printable entities - Update Printer module to dynamically generate GitHub source links - Modify Domain and Parser modules to support source position tracking - Refactor printing functions to use Effect for source link generation - Update test cases to validate new source link functionality
- Introduce `srcLink` configuration option in schema and configuration - Update CLI, Configuration, and Printer modules to support custom source links - Implement fallback source link generation using project homepage - Modify test cases to validate new source link configuration
- Create a new `DocEntry` base class to consolidate common properties across documentation entities - Modify existing classes (Class, Interface, Function, etc.) to extend `DocEntry` - Update constructors to include position information consistently - Simplify inheritance and reduce code duplication in Domain module - Ensure backward compatibility with existing documentation generation logic
- Add `makeSourcefile` utility function to handle source file creation and reuse - Update `makeSource` to use new utility function for consistent file naming - Modify test cases to use `test.ts` as the base filename - Simplify source file management in test parser
…rules - Add detailed module checking functionality in Checker module - Implement validation for functions, classes, constants, interfaces, type aliases, namespaces, and exports - Introduce configurable checks for descriptions, examples, and @SInCE tags - Update Core module to run module checks before documentation generation - Modify Domain module to remove redundant @SInCE tag annotations - Enhance error reporting with precise source location information
- Introduce `DEFAULT_THEME` constant in Configuration module - Create `removeFenceMetadata` function to strip code block metadata for default theme - Update `printOptionalDescription` to conditionally remove code block metadata - Modify CLI and Configuration to use `DEFAULT_THEME` - Add test case for code block metadata removal - Update documentation generation to handle theme-specific code block rendering
- Update CLI to catch and transform DocgenError with project-specific context - Modify error handling to include project name in error message - Import Domain module to use DocgenError type - Refactor error propagation in docgen command handler
- Update `checkNamespace` function to recursively check interfaces, type aliases, and nested namespaces - Modify test cases to use consistent file naming and improve error message formatting - Remove unused imports and test utilities - Enhance error reporting for namespaces, exports, and classes
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
skip-type-checking
metadata on fenced code blocks.@example
tags still work, but we may remove them in the future.@throws
JSDoc tag – Properly documents possible errors.@see
JSDoc tag – Displays only the API name and description.@since
tag, for better readability.