Closed favna closed 3 months ago
Thanks - have a fix and it will go into the next release.
Should be fixed in typedoc-plugin-markdown@4.2.4 .
Alas it appears that this is not yet fully fixed. I am definitely on the right version:
But the generated markdown only has doc comments for the author
field and none of the others:
---
editUrl: false
next: true
prev: true
title: DiscordMessage
---
## Extends
- `LitElement`
## Implements
- [`LightTheme`](/api/interfaces/lighttheme/)
## Constructors
### new DiscordMessage()
> **new DiscordMessage**(): [`DiscordMessage`](/api/classes/discordmessage/)
#### Returns
[`DiscordMessage`](/api/classes/discordmessage/)
#### Inherited from
`LitElement.constructor`
## Accessors
### author
The message author's username.
#### Default Value
\```ts
'User'
\```
***
### avatar
***
### bot
***
### compactMode
***
### dismissMessageClicked
***
### edited
***
### ephemeral
***
### hasThread
***
### highlight
***
### lightTheme
#### Implementation of
[`LightTheme`](/api/interfaces/lighttheme/).[`lightTheme`](/api/interfaces/lighttheme/#lighttheme)
***
### messageBodyOnly
***
### noBackground
***
### op
***
### profile
***
### roleColor
***
### roleIcon
***
### roleName
***
### server
***
### timestamp
***
### twentyFour
***
### verified
I have updated the bugreport/starlight-typedoc-other-descriptions
with the latest dependencies where the issue can still be reproduced.
@favna apologies. It really should be fixed in 4.2.5:
Confirmed! Tyvm!!
What package is the bug related to?
typedoc-plugin-markdown
Describe the issue
For the project https://github.com/skyra-project/discord-components I use
public accessor
because that's how Lit Element works when using TC39 decorators. When parsing this with regular typedoc (config below) the accessor still do get put into the "other" category just like typedoc-plugin-markdown does, however unlike typedoc-plugin-markdown, regular typedoc still retains descriptions.Relevant code: https://github.com/skyra-project/discord-components/blob/e34e27efff4d1fb3d41def616bed017d97964d34/packages/core/src/components/discord-audio-attachment/DiscordAudioAttachment.ts#L124-L169
From the HTML generated by Typedoc:
From the HTML generated by starlight-typedoc (which uses typedoc-plugin-markdown):
To Reproduce
git switch bugreport/starlight-typedoc-other-descriptions
to switch to a branch with some files prepared for this bug reportyarn install --immutable
yarn build
yarn bug:starlight
yarn bug:typedoc
, this will build with regular typedoc and start an HTTP server on port 8090TypeDoc configuration
Expected behavior
The tsdoc comments from accessors (other category symbols) aren't dropped
System Info