-
Notifications
You must be signed in to change notification settings - Fork 710
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
TypeDoc 0.26 Beta #2567
Comments
0.26.0-beta.1
... and now I probably disappear for 2 weeks and don't do anything, except maybe fix bugs people find ;) |
@Gerrit0 I'm excited to try packageOptions in Beta 2, but it seems the npm publish failed. |
Sorry about that! Should be up now. I suspect I might need to revert the block tag validation change, or at least rework it, as I forgot about how special inheritDoc is |
0.26.0-beta.2
Remaining Work
|
Hey, the new project documents feature is shaping up great! Can't wait to finally bump my versions and be able to use the new TypeScript features as well! I just tried it out and I have some ideas for improvements. Or questions maybe. I don't really understand the I tried various values in the frontmatter section, but regardless of what I do I see all my documents listed alphabetically above the I suppose I use them wrong, but nevertheless - I'd be nice to be able to organize the pages into subtrees, maybe with some new property like Also I'd be great if I could somehow keep the order I defined the files in the array? Cause |
For documents added with the
Lack of sections on the index page looks wrong, I'll have to take a closer look this weekend.
You can do this today by using a ---
title: Test/Nested
group: Guides
---
This guide will show...
You're after the |
This is because those folders aren't real folders, the "top document" isn't actually a parent. It's just a happy accident of the tree implementation that it allows this to work. The "right" solution would be support for sub-documents, which is probably what I'll go for before merging this feature |
0.26.0-beta.3
Remaining WorkBesides updating the website docs, the remaining work is just nice to haves, and can wait if necessary
|
Fixed!
It doesn't make sense to include an
Fixed! Thanks again for the PR adding a bunch of translations. |
v0.26.0-beta.4This will likely be the last beta before the full 0.26 release, I don't plan on including any additional features to this release. Some docs will likely be updated tomorrow, the remaining throughout this week.
|
v0.26.0-beta.5Well, that didn't take long to prove me wrong... I realized I forgot a bug yesterday as I hadn't written it down, and found more when fixing that.
|
0.26.0 is out 🎉 |
TypeDoc 0.26 is now in beta! 🎉
Please try it out and report any issues here or in new issues:
The full release will be made on 2024-06-21.
This release includes support for TypeScript 5.5 in addition to two large features
External Markdown Pages
It has been a highly requested feature for TypeDoc to support including additional markdown pages beyond just the project's readme. In fact the original issue requesting them, #247, is the oldest issue still open. There have been a few external plugins over the years which added this, then broke with TypeDoc updates, but it's now coming to TypeDoc proper!
This feature falls into two parts:
Project level documents can be added with the
--projectDocuments
option. These documents will be added as children of the root reflection object, so are a good fit for guides on how to use the library and other top level pages that should be included in your docs.Reflection level documents can be added as children to declarations with the
@document
tag. These are intended for referencing lower level documents which are relevant when viewing documentation for that item. Note: "top level" declarations is a somewhat tricky term. The initial implementation of this feature only supportsThe markdown pages added may include YAML formatted frontmatter. TypeDoc will check the frontmatter for
title
,group
, andcategory
properties. Thetitle
property will set the name of the document used, whilegroup
andcategory
are treated like the@group
and@category
tags on a normal reflection.Note: This frontmatter must begin and end with
---
on lines by itself. TypeDoc's frontmatter extraction uses this to determine when the block ends.Example:
Localization Support
TypeDoc has always been an English project, without any real support for other languages. This version sets up the infrastructure to support changing rendered text and TypeDoc's log messages to other languages. See internationalization.md for details. Translation PRs are welcome!
Important Breaking Changes
const
interpreted as function typed via aninterface
declaration, yield unexpected comment summaries #2521.--media
,--includes
, and--stripYamlFrontmatter
options have been removed.Remaining Work
See the full changelog for additional details.
@document
on classes, interfaces, enums, functions, variableshtml: false
in markdown-it configurationThe text was updated successfully, but these errors were encountered: