包详细信息

unwritten

schoero84MIT0.2.14

unwritten is a cli tool that auto generates documentation from your JavaScript or TypeScript project by utilizing TSDoc or JSDoc comments.

documentation, docs, api, jsdoc

自述文件

<picture> <source media="(prefers-color-scheme: dark)" srcset="assets/unwritten-dark.svg"> <source media="(prefers-color-scheme: light)" srcset="assets/unwritten-light.svg"> unwritten </picture>

GitHub license npm version GitHub issues npm weekly downloads GitHub repo stars GitHub workflow status

unwritten is a cli tool to automatically generate documentation from your JavaScript or TypeScript library by utilizing JSDoc comments and the TypeScript compiler to extract types and relevant information.

[!WARNING]

This project is at a really early stage and currently under heavy development. It is not feature complete and it may not or only partially work with your project. You have been warned.

Installation

npm i unwritten

Usage

unwritten <path/to/entry-file.ts> [options]

Options

--output <path/to/output/file-name>     # Specify the output directory and the
-o <path/to/output/file-name>           # file name. Defaults to ./docs/api 
                                        # based on the current working 
                                        # directory.

--tsconfig <path/to/tsconfig.json>      # Provide a tsconfig file used to
-t <path/to/tsconfig.json>              # compile your project. unwritten will
                                        # try to find the tsconfig by itself if
                                        # no tsconfig.json is provided.

--config <path/to/.unwritten.json>      # Provide an unwritten config used to
-c <path/to/.unwritten.json>            # render the documentation. unwritten
                                        # will try to find the .unwritten.json
                                        # config by itself if none is provided
                                        # or uses the default config.

--renderer <md | html | json>           # Choose the format of the rendered 
-r <md | html | json>                   # output. Defaults to `md` for markdown.
                                        # It is also possible to provide a
                                        # custom renderer by providing the path
                                        # to the file that default exports the 
                                        # renderer.

--silent                                # Disables any console output.
-s

--debug                                 # Enables verbose console output.
-d

--version                               # Returns the installed unwritten
-v                                      # version.

Configuration

You can configure how your documentation will be rendered using a configuration file. The simplest way to create such a configuration file is by using the following command:

unwritten init

This will create a .unwritten.json file in the current working directory with the default configuration. You can change or remove any of the options in the configuration file.

更新日志

Changelog

v0.2.14

compare changes

Features

Fixes

Styles

v0.2.13

compare changes

Features

  • Allow more config names (bf6eea96)
  • logger: Display paths from user directory if shorter (820a821f)
  • Add verbose logging (acf9ed0a)
  • Add syntax highlighting for errors and warnings (b15f1efd)
  • Cache types and entities (5442e5d3)
  • Return diagnostic messages (931d97ee)
  • Add option to exclude internal entities (e73b8465)

Fixes

Refactors

Documentation

Build

Chore

Tests

  • Disable multi threading in debugger (8e5f55fb)

Styles

CI

  • Ignore invalid peerDependency from github-actions-reporter (161b3d29)
  • Remove vitest beta workaround (d2332b23)

v0.2.7

compare changes

Fixes

Chore

  • Auto import without file extensions (2107256)

❤️ Contributors

  • Roger Schönbächler

v0.2.6

compare changes

Features

  • Make rendering of table of contents optional (ca33ef2)

Fixes

❤️ Contributors

  • Roger Schönbächler

v0.2.5

compare changes

Fixes

  • Render class name instead of class (428d443)
  • Rendering violation in user provided markdown (6d562c0)

Refactors

Chore

Styles

❤️ Contributors

  • Roger Schönbächler

v0.2.4

compare changes

Fixes

  • renderer:html: Section node title rendering (236929f)
  • Interpreting of circular types (073f8ba)
  • Render class name instead of class (428d443)

Refactors

Chore

❤️ Contributors

  • Roger Schönbächler

v0.2.3

compare changes

Fixes

  • renderer:html: Section node title rendering (236929f)
  • Interpreting of circular types (073f8ba)

Refactors

❤️ Contributors

  • Roger Schönbächler

v0.2.2

compare changes

Features

  • Add option to disable class member titles (782ea1c)
  • Add option to treat default values as optional (b522c6d)

Fixes

  • Use correct signature entities (1048555)
  • Correct function entity kinds (7e2c43b)
  • Double rendering of member context (cd2ce41)

Chore

❤️ Contributors

  • Roger Schönbächler

v0.2.1

compare changes

Features

  • Add option to disable class member titles (782ea1c)

Fixes

  • Use correct signature entities (1048555)
  • Correct function entity kinds (7e2c43b)
  • Double rendering of member context (cd2ce41)

❤️ Contributors

  • Roger Schönbächler

v0.2.0

compare changes

Features

  • ⚠️ Render entity prefixes (7779d37)

Fixes

  • Don't render empty lines between nested lists (7ed4522)
  • Unregister anonymous anchor from correct file (ab44d76)
  • Adapt helper function to new signatures (933f4d2)

Refactors

  • Improve section rendering in markdown (6e50b90)

Build

  • Split pre-build and build (b002ee6)

Chore

⚠️ Breaking Changes

  • ⚠️ Render entity prefixes (7779d37)

❤️ Contributors

  • Roger Schönbächler

v0.1.4

compare changes

Features

  • Allow partial rendering of parent names (c960a4e)
  • Add option to disable the rendering of source code links (7644118)

Fixes

  • Reduce nesting only if it was increased (8126e25)
  • Schema types (705e690)
  • Tuple types getting widened with DeepRequiredByKey and DeepPartialByKey (5fbe807)

Chore

Styles

  • Remove import file extensions (7d079db)
  • Fix eslint violations (3b3f83e)

❤️ Contributors

  • Roger Schönbächler

v0.1.3

compare changes

Features

  • Allow partial rendering of parent names (c960a4e)

Fixes

  • Reduce nesting only if it was increased (8126e25)

❤️ Contributors

  • Roger Schönbächler

v0.1.2

compare changes

Features

  • Add option to render the name of the parent namespace (51cd641)

Fixes

  • Make properties in config optional (0066206)

Refactors

  • Use helper functions for ctx modifiers (50d79f9)

Chore

Styles

CI

  • Test on latest node version (22cb1ba)
  • Allow parallel execution (dc00702)

❤️ Contributors

  • Roger Schönbächler

v0.1.1

compare changes

Fixes

  • Missing spaces in enum members (9db87d0)
  • Function section type (fdf01d6)

Chore

Tests

❤️ Contributors

  • Roger Schönbächler

v0.1.0

compare changes

Features

  • ⚠️ Add support for inline jsdoc tags (c8a3d7c)

Refactors

Documentation

Chore

⚠️ Breaking Changes

  • ⚠️ Add support for inline jsdoc tags (c8a3d7c)

❤️ Contributors

  • Roger Schönbächler

v0.0.4

compare changes

Features

  • Create initial config (c495d00)
  • Add functions (6d58bb0)
  • Add support for union types (8131133)
  • Add support for intersection types (f7c6824)
  • types: Add support for tuples (056d53c)
  • Add basic generics support (9a505b0)
  • Add support for inheritance (6a1500e)
  • Add markdownlint (5b659de)
  • Add recommended extensions (4310f4e)
  • Add module and namespace types (eeed235)
  • Add enum (e489663)
  • Add interface renderer (128a772)
  • Add markdownlint config (dccb353)
  • Add support for inverted paths (06ea1fc)
  • Add support for generic interfaces (43d0640)
  • Add support for mapped types (128b6ef)
  • Add type query (15cf38f)
  • Use tsconfig paths (eec83b0)
  • renderer: Add support for array type (8d51ac6)
  • renderer: Add support for tuple type (48fd977)
  • Add support for child renderer (26e6f1a)
  • Implement function type correctly (610c716)
  • Support indexed access types (aabdf55)
  • Add markdown renderer (c7c8842)
  • Add sectionNode (54c453e)
  • Add sections around entities (803bd44)
  • Add support for set type (9252714)
  • Add support for map type (f0e0cdf)
  • Add support for map type" (f64c15f)
  • Add support for set type" (f0936d0)
  • html: Semantic html tags and sidebar (8f0ea02)
  • Render unresolved type (874a181)
  • Handle default exports and export assignment (769a866)
  • Add changelog-config (d1b3968)
  • Don't render private members (f896d4f)
  • Add export registry (1ea4160)
  • Add option to disable rendering of the undefined type of optional types (cae3383)
  • Add option to disable rendering of the undefined type of optional types" (4fa48cf)
  • Create virtual fs and use it in tests (88b2f43)
  • Multiple entrypoints (b1c26b6)
  • jsdoc: Support throws tag (b93e3aa)
  • Add support for eventProperty TSDoc tag (35d73ac)
  • Create paddedNode (d85399e)
  • Add displayName to anchor (8c925d4)

Fixes

  • Add missing class modifiers (259965a)
  • Type error (b5b11a5)
  • Missing name property (1b875ed)
  • Style issues (7e7fa62)
  • Remove unused import (5c1cb9f)
  • Clean type references (b900108)
  • Wrong import paths (8ebe353)
  • Update interface types (141dbd0)
  • Types and tests (3ad1e85)
  • Invalid kind (d8e3919)
  • Interfaces can extend multiple other interfaces (334aa93)
  • Matching of absolute paths (3081418)
  • Import path (b1b06d0)
  • Add missing meta data (92b94ea)
  • Types should not have jsdoc tags (0de6d49)
  • tsconfig: Including tests in build (4092100)
  • Wip renderer tests (b3bb6f0)
  • Id in TypeScript > 5 is sometimes 0 (ca2816b)
  • Missing exports (97db58f)
  • Complete utility type (03a643f)
  • Class heritage rendering (582f0c1)
  • Export tests on windows (4a1e1fa)
  • Init test on windows (f9d36d7)
  • Do not render title in types (94c25f9)
  • Not spreading children (f95d0e3)
  • Typescript utility types not working (20657e8)
  • Object rendering and list rendering (b7ec53a)
  • Invalid types (8242d27)
  • Invalid command (a7e2c2c)
  • Wrong import (0dc9988)
  • Awaiting promises (7d38c5d)
  • Schema script (6bb435d)
  • Import file extensions (6ad250a)
  • Missing properties in schema (463f23d)
  • Categories crashing (91c956b)
  • Return type translation (d8b99b4)
  • Anchors not registered (b2ffb2e)
  • Filter out empty lines (0787713)
  • Remove white space up to common indentation (e75f19a)
  • Replace first newline without whitespace (5a61dc1)
  • Indentations (4d120ac)
  • Array values not detected (337b888)
  • Overriding test config (fd6db1b)
  • Make typeId optional (bdae81b)
  • Invalid package-lock json (36c9b4f)
  • Capitalize titles (f2276d4)
  • Title render max size of 6 (d8f793a)
  • Nesting not limited correctly (7f5c06f)
  • Small type errors (42c5fba)
  • Use posix paths, even on windows (025e66c)
  • Type errors (4a111eb)
  • Enforcing line breaks (49bc0a5)
  • Improve import restrictions (3c36c41)
  • Table of contents rendering (ada777b)
  • Allow defining output file name (8d9f491)
  • Table of contents rendering for classes (8f5415a)
  • linker: Keep underscore (d5dfdc0)
  • linker: Remove html entities (c1f25fb)
  • Not removing square brackets (e0c865e)
  • Escape square brackets (410856a)
  • Filter out members from excluded types (ae8a22c)
  • Don't create nested lists (8268bdf)
  • Add missing multiline types (4f3becc)
  • Collapse multiple newlines (92d2032)
  • Render multiline nodes in an array on new lines (3dfdd06)
  • Whole list not rendered if a single item was empty (aa2dfc9)
  • Don't render multiline types in a list (40a7c94)
  • Add missing types in isFunctionLikeEntity (69469cb)
  • Allow shorthand property (cece914)
  • Improve multiline type detection (00f6fe2)
  • Ensure parameter type is always defined (bc32478)
  • Don't render empty children (c50ea2f)
  • Don't render private members when disabled (3332db6)
  • Rendering of type references (c69c9fd)
  • Type correctness (15fb2b5)
  • Use markdown context (d5fd8d6)
  • Don't render class node as a list (26a2a53)
  • Rendering of type parameter encapsulation (d62628c)
  • Add export assignment (8b20098)
  • Type encapsulation with no type arguments (3d47c22)
  • Autocomplete of external types (4be9586)
  • Import of json files (a9eaed0)
  • Finding files in correct directory (2ea4b15)
  • Improve rendering of type references (78b8a01)
  • Missing newline between functions (6121401)
  • Render trailing newline (14d94ab)
  • Correctly escape markdown (0086dd8)
  • Don't double escape (c7cf497)
  • Remove static properties (8429841)
  • Tests and types (7d3a353)
  • Paths on windows (0713183)
  • Substitute home dir (e046065)
  • Paths on windows (97c497e)
  • Paths on windows (c1b6698)
  • Normalize all volume letters (14e0aaf)
  • path: Improve normalization (850f52f)
  • path: Remove additional slashes on windows (90a263f)
  • path: Auto-correct root (8e4fde5)
  • path: Leading invalid separators (6192109)
  • Updating array via push doesn't work because it is a setter (c2747d9)
  • Convert in two steps (7bdbd76)
  • paragraph: Add indentation (c533374)
  • Accidentally escaping code fences (1d0a843)
  • Improve path module (374c7a2)
  • Extending of config file (0b119f4)
  • Use optional config for schema (cb020ae)
  • Improve config finder (f313e6f)
  • Don't change nesting (4f7a5ec)
  • Invalid json schema (9e37c2c)
  • Remove rendering of final empty line (fe6c002)
  • Rendering multiple whitespaces between tags (e23743b)
  • Encapsulate unresolved types (a89446a)
  • Remove rendering of final empty line (95289e4)
  • Improve html rendering (860ad8b)
  • Don't render indentation on small nodes (3c81e40)
  • html: Improve multiline rendering (e77d0f5)
  • Resolve import clause symbols (e5a69dc)
  • Don't double resolve imported symbols (fca8704)
  • path: False positive when finding common path (5619430)
  • Circular type not encapsulated (780ece4)
  • Invalid indexed access type from typeNode (312b776)
  • Remove invalid return type from setter (5a768b6)
  • Include all titles in link registry (c18ad04)
  • Don't register anchor for empty titles (e1861eb)
  • Add type check (6c09833)

Refactors

  • Remove magic and introduce ctx for more pure functions (5f168c7)
  • Improve interface typings (9aed676)
  • Improve typings (4dc32fe)
  • Remove special array handling (135f0b0)
  • Add more function tests (1b63d93)
  • Wip (0c64bbb)
  • Remove only (041920d)
  • Adapt to new lint rules (e2a8218)
  • Code cleanup (db5e42d)
  • Rename types to entities (b8cb964)
  • Remove cache and instead introduce exportedSymbols (fa158f7)
  • Remove exported symbols (f3116ec)
  • Rename TypeKind to Kind (25fc70e)
  • Move parsing entry points to separate files (8dea6b3)
  • Change compilation target (cf2929d)
  • Change compilation target" (b9c9ee3)
  • Rename package (e2e8f77)
  • logger: Pass logger in context (e6fd5f6)
  • Rename type definition files to *.d.ts (5f5666f)
  • Differentiate between types and entities (946da7b)
  • More generic jsdoc tags (b98a49b)
  • logger: Convert to module (80c0f52)
  • Rename module to unwritten (052dca5)
  • Remove structuredClone until available on all current node versions (5acc0f0)
  • This is not react (d3189d7)
  • Rename compiler to interpreter (a93482f)
  • Fix mapped types (8c6ab6f)
  • Fix types (757eb72)
  • Remove typescript renderer temporarily (acf1da8)
  • Fixup remove typescript renderer temporarily (f88f2d2)
  • Fixup remove typescript renderer temporarily (fb74f88)
  • Convert interfaces to types (ea8e386)
  • Nodes (4e1668f)
  • Remove property position (a4e1069)
  • Render type alias signature (82b943b)
  • Compile renderer tests + ids (a712342)
  • Adapt to changes (746ba0b)
  • Adapt to changes (485242c)
  • Fixup tests (bc81b50)
  • Move template utils (3fa3cab)
  • Remove debug script for now (b271281)
  • Highlight errors (9b187a9)
  • Improve error messages (78995e2)
  • Only import logger when needed (26235fb)
  • Convert vite plugin to typescript (86afe5c)
  • Improve formatting of logger (4d7ba89)
  • Improve error message (333cf4b)
  • Remove double rendering (cb2a37f)
  • Add section type enum (3965b3e)
  • Don't resolve excluded types (cb6924d)
  • Add typeArguments to unresolved types (e8f013d)
  • Change html typeEncapsulation (221e4e9)
  • Add default command and alias (7f7661e)
  • Auto detect shebangs (adc3fac)
  • Use existing rollup plugin (c77beaf)
  • Limit nesting and indentation (e86bcfc)
  • Rewrite list rendering (105c0fb)
  • Rewrite list rendering (b8d5651)
  • Render relative paths for position (00537fe)
  • Better externalize node builtins (cea2cb6)
  • Return output path (45cfd62)
  • Add linkRegistry to renderer (0579f0b)
  • Use vitest instead of vi (f298545)
  • Use it.each (5491cea)
  • Restructure types (b95e4c3)
  • Improve compiler diagnostics (745687e)
  • Add "defined in" prefix to position link (c92dc3b)
  • Formatting improvements (4671617)
  • Improve variable names (4325c12)
  • Render table of contents categories as list (14cd1c6)
  • Remove html element in markdown renderer (e8800ea)
  • Rename .d.ts files to .ts (a638be0)
  • Singularize type names (404aee2)
  • Support types in linkregistry (750b914)
  • Rewrite path module (007b1f0)
  • Types refactoring (eaf8028)
  • Clean up types (f30c314)
  • Improve compiler diagnostics (3b1c55f)
  • Improve translations (fa44bca)
  • Improve types (f3bdde1)
  • Clean up translations (09e6c16)
  • Remove translation magic (aa81e14)
  • Reintroduce target entity (292a976)
  • Introduce conditional node (8702b1c)
  • Don't check file system for available paths (826c0b4)
  • Render titles in class table of contents (0ab0831)
  • Don't document unresolved entities (396d07e)
  • Move tags after description (3ef7489)
  • Remove invalid overloads (e5cf95d)
  • Improve markdown rendering (8c8161f)
  • Improve constraints and initializer rendering (fe54590)
  • Use file name as title (b66a95c)
  • Rename md renderer to markdown (3ab9964)
  • Remove file extension (c3f1f5d)
  • Make join more logical (771b3a6)
  • Switch position and tags (05d3203)
  • Encapsulate type references (ecfe27c)
  • Improve naming (9d769ab)
  • Improve indexed access type (7ee9281)
  • Code cleanup (afe7ec6)
  • Allow falsy values from ast-converter (49eda10)

Documentation

Build

Chore

Tests

Styles

CI

❤️ Contributors

  • Roger Schönbächler

v0.0.3

Features

  • Create initial config (c495d00)
  • Add functions (6d58bb0)
  • Add support for union types (8131133)
  • Add support for intersection types (f7c6824)
  • types: Add support for tuples (056d53c)
  • Add basic generics support (9a505b0)
  • Add support for inheritance (6a1500e)
  • Add markdownlint (5b659de)
  • Add recommended extensions (4310f4e)
  • Add module and namespace types (eeed235)
  • Add enum (e489663)
  • Add interface renderer (128a772)
  • Add markdownlint config (dccb353)
  • Add support for inverted paths (06ea1fc)
  • Add support for generic interfaces (43d0640)
  • Add support for mapped types (128b6ef)
  • Add type query (15cf38f)
  • Use tsconfig paths (eec83b0)
  • renderer: Add support for array type (8d51ac6)
  • renderer: Add support for tuple type (48fd977)
  • Add support for child renderer (26e6f1a)
  • Implement function type correctly (610c716)
  • Support indexed access types (aabdf55)
  • Add markdown renderer (c7c8842)
  • Add sectionNode (54c453e)
  • Add sections around entities (803bd44)
  • Add support for set type (9252714)
  • Add support for map type (f0e0cdf)
  • Add support for map type" (f64c15f)
  • Add support for set type" (f0936d0)
  • html: Semantic html tags and sidebar (8f0ea02)
  • Render unresolved type (874a181)
  • Handle default exports and export assignment (769a866)
  • Add changelog-config (d1b3968)
  • Don't render private members (f896d4f)
  • Add export registry (1ea4160)
  • Add option to disable rendering of the undefined type of optional types (cae3383)
  • Add option to disable rendering of the undefined type of optional types" (4fa48cf)
  • Create virtual fs and use it in tests (88b2f43)
  • Multiple entrypoints (b1c26b6)
  • jsdoc: Support throws tag (b93e3aa)
  • Add support for eventProperty TSDoc tag (35d73ac)
  • Create paddedNode (d85399e)
  • Add displayName to anchor (8c925d4)

Fixes

  • Add missing class modifiers (259965a)
  • Type error (b5b11a5)
  • Missing name property (1b875ed)
  • Style issues (7e7fa62)
  • Remove unused import (5c1cb9f)
  • Clean type references (b900108)
  • Wrong import paths (8ebe353)
  • Update interface types (141dbd0)
  • Types and tests (3ad1e85)
  • Invalid kind (d8e3919)
  • Interfaces can extend multiple other interfaces (334aa93)
  • Matching of absolute paths (3081418)
  • Import path (b1b06d0)
  • Add missing meta data (92b94ea)
  • Types should not have jsdoc tags (0de6d49)
  • tsconfig: Including tests in build (4092100)
  • Wip renderer tests (b3bb6f0)
  • Id in TypeScript > 5 is sometimes 0 (ca2816b)
  • Missing exports (97db58f)
  • Complete utility type (03a643f)
  • Class heritage rendering (582f0c1)
  • Export tests on windows (4a1e1fa)
  • Init test on windows (f9d36d7)
  • Do not render title in types (94c25f9)
  • Not spreading children (f95d0e3)
  • Typescript utility types not working (20657e8)
  • Object rendering and list rendering (b7ec53a)
  • Invalid types (8242d27)
  • Invalid command (a7e2c2c)
  • Wrong import (0dc9988)
  • Awaiting promises (7d38c5d)
  • Schema script (6bb435d)
  • Import file extensions (6ad250a)
  • Missing properties in schema (463f23d)
  • Categories crashing (91c956b)
  • Return type translation (d8b99b4)
  • Anchors not registered (b2ffb2e)
  • Filter out empty lines (0787713)
  • Remove white space up to common indentation (e75f19a)
  • Replace first newline without whitespace (5a61dc1)
  • Indentations (4d120ac)
  • Array values not detected (337b888)
  • Overriding test config (fd6db1b)
  • Make typeId optional (bdae81b)
  • Invalid package-lock json (36c9b4f)
  • Capitalize titles (f2276d4)
  • Title render max size of 6 (d8f793a)
  • Nesting not limited correctly (7f5c06f)
  • Small type errors (42c5fba)
  • Use posix paths, even on windows (025e66c)
  • Type errors (4a111eb)
  • Enforcing line breaks (49bc0a5)
  • Improve import restrictions (3c36c41)
  • Table of contents rendering (ada777b)
  • Allow defining output file name (8d9f491)
  • Table of contents rendering for classes (8f5415a)
  • linker: Keep underscore (d5dfdc0)
  • linker: Remove html entities (c1f25fb)
  • Not removing square brackets (e0c865e)
  • Escape square brackets (410856a)
  • Filter out members from excluded types (ae8a22c)
  • Don't create nested lists (8268bdf)
  • Add missing multiline types (4f3becc)
  • Collapse multiple newlines (92d2032)
  • Render multiline nodes in an array on new lines (3dfdd06)
  • Whole list not rendered if a single item was empty (aa2dfc9)
  • Don't render multiline types in a list (40a7c94)
  • Add missing types in isFunctionLikeEntity (69469cb)
  • Allow shorthand property (cece914)
  • Improve multiline type detection (00f6fe2)
  • Ensure parameter type is always defined (bc32478)
  • Don't render empty children (c50ea2f)
  • Don't render private members when disabled (3332db6)
  • Rendering of type references (c69c9fd)
  • Type correctness (15fb2b5)
  • Use markdown context (d5fd8d6)
  • Don't render class node as a list (26a2a53)
  • Rendering of type parameter encapsulation (d62628c)
  • Add export assignment (8b20098)
  • Type encapsulation with no type arguments (3d47c22)
  • Autocomplete of external types (4be9586)
  • Import of json files (a9eaed0)
  • Finding files in correct directory (2ea4b15)
  • Improve rendering of type references (78b8a01)
  • Missing newline between functions (6121401)
  • Render trailing newline (14d94ab)
  • Correctly escape markdown (0086dd8)
  • Don't double escape (c7cf497)
  • Remove static properties (8429841)
  • Tests and types (7d3a353)
  • Paths on windows (0713183)
  • Substitute home dir (e046065)
  • Paths on windows (97c497e)
  • Paths on windows (c1b6698)
  • Normalize all volume letters (14e0aaf)
  • path: Improve normalization (850f52f)
  • path: Remove additional slashes on windows (90a263f)
  • path: Auto-correct root (8e4fde5)
  • path: Leading invalid separators (6192109)
  • Updating array via push doesn't work because it is a setter (c2747d9)
  • Convert in two steps (7bdbd76)
  • paragraph: Add indentation (c533374)
  • Accidentally escaping code fences (1d0a843)
  • Improve path module (374c7a2)
  • Extending of config file (0b119f4)
  • Use optional config for schema (cb020ae)
  • Improve config finder (f313e6f)
  • Don't change nesting (4f7a5ec)
  • Invalid json schema (9e37c2c)
  • Remove rendering of final empty line (fe6c002)
  • Rendering multiple whitespaces between tags (e23743b)
  • Encapsulate unresolved types (a89446a)
  • Remove rendering of final empty line (95289e4)
  • Improve html rendering (860ad8b)
  • Don't render indentation on small nodes (3c81e40)
  • html: Improve multiline rendering (e77d0f5)

Refactors

  • Remove magic and introduce ctx for more pure functions (5f168c7)
  • Improve interface typings (9aed676)
  • Improve typings (4dc32fe)
  • Remove special array handling (135f0b0)
  • Add more function tests (1b63d93)
  • Wip (0c64bbb)
  • Remove only (041920d)
  • Adapt to new lint rules (e2a8218)
  • Code cleanup (db5e42d)
  • Rename types to entities (b8cb964)
  • Remove cache and instead introduce exportedSymbols (fa158f7)
  • Remove exported symbols (f3116ec)
  • Rename TypeKind to Kind (25fc70e)
  • Move parsing entry points to separate files (8dea6b3)
  • Change compilation target (cf2929d)
  • Change compilation target" (b9c9ee3)
  • Rename package (e2e8f77)
  • logger: Pass logger in context (e6fd5f6)
  • Rename type definition files to *.d.ts (5f5666f)
  • Differentiate between types and entities (946da7b)
  • More generic jsdoc tags (b98a49b)
  • logger: Convert to module (80c0f52)
  • Rename module to unwritten (052dca5)
  • Remove structuredClone until available on all current node versions (5acc0f0)
  • This is not react (d3189d7)
  • Rename compiler to interpreter (a93482f)
  • Fix mapped types (8c6ab6f)
  • Fix types (757eb72)
  • Remove typescript renderer temporarily (acf1da8)
  • Fixup remove typescript renderer temporarily (f88f2d2)
  • Fixup remove typescript renderer temporarily (fb74f88)
  • Convert interfaces to types (ea8e386)
  • Nodes (4e1668f)
  • Remove property position (a4e1069)
  • Render type alias signature (82b943b)
  • Compile renderer tests + ids (a712342)
  • Adapt to changes (746ba0b)
  • Adapt to changes (485242c)
  • Fixup tests (bc81b50)
  • Move template utils (3fa3cab)
  • Remove debug script for now (b271281)
  • Highlight errors (9b187a9)
  • Improve error messages (78995e2)
  • Only import logger when needed (26235fb)
  • Convert vite plugin to typescript (86afe5c)
  • Improve formatting of logger (4d7ba89)
  • Improve error message (333cf4b)
  • Remove double rendering (cb2a37f)
  • Add section type enum (3965b3e)
  • Don't resolve excluded types (cb6924d)
  • Add typeArguments to unresolved types (e8f013d)
  • Change html typeEncapsulation (221e4e9)
  • Add default command and alias (7f7661e)
  • Auto detect shebangs (adc3fac)
  • Use existing rollup plugin (c77beaf)
  • Limit nesting and indentation (e86bcfc)
  • Rewrite list rendering (105c0fb)
  • Rewrite list rendering (b8d5651)
  • Render relative paths for position (00537fe)
  • Better externalize node builtins (cea2cb6)
  • Return output path (45cfd62)
  • Add linkRegistry to renderer (0579f0b)
  • Use vitest instead of vi (f298545)
  • Use it.each (5491cea)
  • Restructure types (b95e4c3)
  • Improve compiler diagnostics (745687e)
  • Add "defined in" prefix to position link (c92dc3b)
  • Formatting improvements (4671617)
  • Improve variable names (4325c12)
  • Render table of contents categories as list (14cd1c6)
  • Remove html element in markdown renderer (e8800ea)
  • Rename .d.ts files to .ts (a638be0)
  • Singularize type names (404aee2)
  • Support types in linkregistry (750b914)
  • Rewrite path module (007b1f0)
  • Types refactoring (eaf8028)
  • Clean up types (f30c314)
  • Improve compiler diagnostics (3b1c55f)
  • Improve translations (fa44bca)
  • Improve types (f3bdde1)
  • Clean up translations (09e6c16)
  • Remove translation magic (aa81e14)
  • Reintroduce target entity (292a976)
  • Introduce conditional node (8702b1c)
  • Don't check file system for available paths (826c0b4)
  • Render titles in class table of contents (0ab0831)
  • Don't document unresolved entities (396d07e)
  • Move tags after description (3ef7489)
  • Remove invalid overloads (e5cf95d)
  • Improve markdown rendering (8c8161f)
  • Improve constraints and initializer rendering (fe54590)
  • Use file name as title (b66a95c)
  • Rename md renderer to markdown (3ab9964)
  • Remove file extension (c3f1f5d)
  • Make join more logical (771b3a6)
  • Switch position and tags (05d3203)
  • Encapsulate type references (ecfe27c)

Documentation

Build

Chore

Tests

Styles

CI

❤️ Contributors

  • Roger Schönbächler

v0.0.2

Features

  • Create initial config (c495d00)
  • Add functions (6d58bb0)
  • Add support for union types (8131133)
  • Add support for intersection types (f7c6824)
  • types: Add support for tuples (056d53c)
  • Add basic generics support (9a505b0)
  • Add support for inheritance (6a1500e)
  • Add markdownlint (5b659de)
  • Add recommended extensions (4310f4e)
  • Add module and namespace types (eeed235)
  • Add enum (e489663)
  • Add interface renderer (128a772)
  • Add markdownlint config (dccb353)
  • Add support for inverted paths (06ea1fc)
  • Add support for generic interfaces (43d0640)
  • Add support for mapped types (128b6ef)
  • Add type query (15cf38f)
  • Use tsconfig paths (eec83b0)
  • renderer: Add support for array type (8d51ac6)
  • renderer: Add support for tuple type (48fd977)
  • Add support for child renderer (26e6f1a)
  • Implement function type correctly (610c716)
  • Support indexed access types (aabdf55)
  • Add markdown renderer (c7c8842)
  • Add sectionNode (54c453e)
  • Add sections around entities (803bd44)
  • Add support for set type (9252714)
  • Add support for map type (f0e0cdf)
  • Add support for map type" (f64c15f)
  • Add support for set type" (f0936d0)
  • html: Semantic html tags and sidebar (8f0ea02)
  • Render unresolved type (874a181)
  • Handle default exports and export assignment (769a866)
  • Add changelog-config (d1b3968)
  • Don't render private members (f896d4f)
  • Add export registry (1ea4160)
  • Add option to disable rendering of the undefined type of optional types (cae3383)
  • Add option to disable rendering of the undefined type of optional types" (4fa48cf)
  • Create virtual fs and use it in tests (88b2f43)
  • Multiple entrypoints (b1c26b6)
  • jsdoc: Support throws tag (b93e3aa)
  • Add support for eventProperty TSDoc tag (35d73ac)

Fixes

  • Add missing class modifiers (259965a)
  • Type error (b5b11a5)
  • Missing name property (1b875ed)
  • Style issues (7e7fa62)
  • Remove unused import (5c1cb9f)
  • Clean type references (b900108)
  • Wrong import paths (8ebe353)
  • Update interface types (141dbd0)
  • Types and tests (3ad1e85)
  • Invalid kind (d8e3919)
  • Interfaces can extend multiple other interfaces (334aa93)
  • Matching of absolute paths (3081418)
  • Import path (b1b06d0)
  • Add missing meta data (92b94ea)
  • Types should not have jsdoc tags (0de6d49)
  • tsconfig: Including tests in build (4092100)
  • Wip renderer tests (b3bb6f0)
  • Id in TypeScript > 5 is sometimes 0 (ca2816b)
  • Missing exports (97db58f)
  • Complete utility type (03a643f)
  • Class heritage rendering (582f0c1)
  • Export tests on windows (4a1e1fa)
  • Init test on windows (f9d36d7)
  • Do not render title in types (94c25f9)
  • Not spreading children (f95d0e3)
  • Typescript utility types not working (20657e8)
  • Object rendering and list rendering (b7ec53a)
  • Invalid types (8242d27)
  • Invalid command (a7e2c2c)
  • Wrong import (0dc9988)
  • Awaiting promises (7d38c5d)
  • Schema script (6bb435d)
  • Import file extensions (6ad250a)
  • Missing properties in schema (463f23d)
  • Categories crashing (91c956b)
  • Return type translation (d8b99b4)
  • Anchors not registered (b2ffb2e)
  • Filter out empty lines (0787713)
  • Remove white space up to common indentation (e75f19a)
  • Replace first newline without whitespace (5a61dc1)
  • Indentations (4d120ac)
  • Array values not detected (337b888)
  • Overriding test config (fd6db1b)
  • Make typeId optional (bdae81b)
  • Invalid package-lock json (36c9b4f)
  • Capitalize titles (f2276d4)
  • Title render max size of 6 (d8f793a)
  • Nesting not limited correctly (7f5c06f)
  • Small type errors (42c5fba)
  • Use posix paths, even on windows (025e66c)
  • Type errors (4a111eb)
  • Enforcing line breaks (49bc0a5)
  • Improve import restrictions (3c36c41)
  • Table of contents rendering (ada777b)
  • Allow defining output file name (8d9f491)
  • Table of contents rendering for classes (8f5415a)
  • linker: Keep underscore (d5dfdc0)
  • linker: Remove html entities (c1f25fb)
  • Not removing square brackets (e0c865e)
  • Escape square brackets (410856a)
  • Filter out members from excluded types (ae8a22c)
  • Don't create nested lists (8268bdf)
  • Add missing multiline types (4f3becc)
  • Collapse multiple newlines (92d2032)
  • Render multiline nodes in an array on new lines (3dfdd06)
  • Whole list not rendered if a single item was empty (aa2dfc9)
  • Don't render multiline types in a list (40a7c94)
  • Add missing types in isFunctionLikeEntity (69469cb)
  • Allow shorthand property (cece914)
  • Improve multiline type detection (00f6fe2)
  • Ensure parameter type is always defined (bc32478)
  • Don't render empty children (c50ea2f)
  • Don't render private members when disabled (3332db6)
  • Rendering of type references (c69c9fd)
  • Type correctness (15fb2b5)
  • Use markdown context (d5fd8d6)
  • Don't render class node as a list (26a2a53)
  • Rendering of type parameter encapsulation (d62628c)
  • Add export assignment (8b20098)
  • Type encapsulation with no type arguments (3d47c22)
  • Autocomplete of external types (4be9586)
  • Import of json files (a9eaed0)
  • Finding files in correct directory (2ea4b15)
  • Improve rendering of type references (78b8a01)
  • Missing newline between functions (6121401)
  • Render trailing newline (14d94ab)
  • Correctly escape markdown (0086dd8)
  • Don't double escape (c7cf497)
  • Remove static properties (8429841)
  • Tests and types (7d3a353)
  • Paths on windows (0713183)
  • Substitute home dir (e046065)
  • Paths on windows (97c497e)
  • Paths on windows (c1b6698)
  • Normalize all volume letters (14e0aaf)
  • path: Improve normalization (850f52f)
  • path: Remove additional slashes on windows (90a263f)
  • path: Auto-correct root (8e4fde5)
  • path: Leading invalid separators (6192109)
  • Updating array via push doesn't work because it is a setter (c2747d9)
  • Convert in two steps (7bdbd76)
  • paragraph: Add indentation (c533374)
  • Accidentally escaping code fences (1d0a843)
  • Improve path module (374c7a2)
  • Extending of config file (0b119f4)

Refactors

  • Remove magic and introduce ctx for more pure functions (5f168c7)
  • Improve interface typings (9aed676)
  • Improve typings (4dc32fe)
  • Remove special array handling (135f0b0)
  • Add more function tests (1b63d93)
  • Wip (0c64bbb)
  • Remove only (041920d)
  • Adapt to new lint rules (e2a8218)
  • Code cleanup (db5e42d)
  • Rename types to entities (b8cb964)
  • Remove cache and instead introduce exportedSymbols (fa158f7)
  • Remove exported symbols (f3116ec)
  • Rename TypeKind to Kind (25fc70e)
  • Move parsing entry points to separate files (8dea6b3)
  • Change compilation target (cf2929d)
  • Change compilation target" (b9c9ee3)
  • Rename package (e2e8f77)
  • logger: Pass logger in context (e6fd5f6)
  • Rename type definition files to *.d.ts (5f5666f)
  • Differentiate between types and entities (946da7b)
  • More generic jsdoc tags (b98a49b)
  • logger: Convert to module (80c0f52)
  • Rename module to unwritten (052dca5)
  • Remove structuredClone until available on all current node versions (5acc0f0)
  • This is not react (d3189d7)
  • Rename compiler to interpreter (a93482f)
  • Fix mapped types (8c6ab6f)
  • Fix types (757eb72)
  • Remove typescript renderer temporarily (acf1da8)
  • Fixup remove typescript renderer temporarily (f88f2d2)
  • Fixup remove typescript renderer temporarily (fb74f88)
  • Convert interfaces to types (ea8e386)
  • Nodes (4e1668f)
  • Remove property position (a4e1069)
  • Render type alias signature (82b943b)
  • Compile renderer tests + ids (a712342)
  • Adapt to changes (746ba0b)
  • Adapt to changes (485242c)
  • Fixup tests (bc81b50)
  • Move template utils (3fa3cab)
  • Remove debug script for now (b271281)
  • Highlight errors (9b187a9)
  • Improve error messages (78995e2)
  • Only import logger when needed (26235fb)
  • Convert vite plugin to typescript (86afe5c)
  • Improve formatting of logger (4d7ba89)
  • Improve error message (333cf4b)
  • Remove double rendering (cb2a37f)
  • Add section type enum (3965b3e)
  • Don't resolve excluded types (cb6924d)
  • Add typeArguments to unresolved types (e8f013d)
  • Change html typeEncapsulation (221e4e9)
  • Add default command and alias (7f7661e)
  • Auto detect shebangs (adc3fac)
  • Use existing rollup plugin (c77beaf)
  • Limit nesting and indentation (e86bcfc)
  • Rewrite list rendering (105c0fb)
  • Rewrite list rendering (b8d5651)
  • Render relative paths for position (00537fe)
  • Better externalize node builtins (cea2cb6)
  • Return output path (45cfd62)
  • Add linkRegistry to renderer (0579f0b)
  • Use vitest instead of vi (f298545)
  • Use it.each (5491cea)
  • Restructure types (b95e4c3)
  • Improve compiler diagnostics (745687e)
  • Add "defined in" prefix to position link (c92dc3b)
  • Formatting improvements (4671617)
  • Improve variable names (4325c12)
  • Render table of contents categories as list (14cd1c6)
  • Remove html element in markdown renderer (e8800ea)
  • Rename .d.ts files to .ts (a638be0)
  • Singularize type names (404aee2)
  • Support types in linkregistry (750b914)
  • Rewrite path module (007b1f0)
  • Types refactoring (eaf8028)
  • Clean up types (f30c314)
  • Improve compiler diagnostics (3b1c55f)
  • Improve translations (fa44bca)
  • Improve types (f3bdde1)
  • Clean up translations (09e6c16)
  • Remove translation magic (aa81e14)
  • Reintroduce target entity (292a976)
  • Introduce conditional node (8702b1c)
  • Don't check file system for available paths (826c0b4)
  • Render titles in class table of contents (0ab0831)
  • Don't document unresolved entities (396d07e)
  • Move tags after description (3ef7489)
  • Remove invalid overloads (e5cf95d)
  • Improve markdown rendering (8c8161f)
  • Improve constraints and initializer rendering (fe54590)
  • Use file name as title (b66a95c)
  • Rename md renderer to markdown (3ab9964)
  • Remove file extension (c3f1f5d)

Documentation

Build

Chore

Tests

Styles

CI

❤️ Contributors

  • Roger Schönbächler