-
Notifications
You must be signed in to change notification settings - Fork 204
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
Multi-line description truncated in summary #85
Comments
@neothemachine Thanks for this issue! And for now, I do not have plan to support |
I think the android docs actually use the first sentence, not the first line. Why should I violate a given max line length (let's say 80 chars) just because my first description sentence is 100 chars? It is natural to break it to two lines in that case. Please rethink it. I realize it is not a bug but a feature request. |
Oh, sorry, I was mistake. /**
* This is awesome function
* and this is super cool function.
*/
function foo(){} Currently, summary of this case is If this is your request, I will adopt the request. |
Exactly, but be careful with the details. It may happen that the dot at the end of the sentence is missing. So you also need to cut off if there's a blank line coming or some tags start. All the examples below should work as you would expect: /**
* Ideally, this is all in one line.
*/
function foo(){} /**
* Ideally, this is all in one line, but sometimes it is just
* a bit longer.
*/
function foo(){} /**
* Ideally, this is all in one line, but sometimes it is just
* a bit longer
*
* Here comes more detailed descriptions. Note I forgot the
* dot above.
*/
function foo(){} /**
* Ideally, this is all in one line, but sometimes it is just
* a bit longer
* @return {string}
*/
function foo(){} |
Thank you. Please wait a moment. I try to fix it. |
👍 |
@neothemachine @jdfreder I published v0.3.1 that fixed this issue. |
When I write a description sentence in two lines esdoc just uses the first line in the summary which is really odd. It should use everything until a blank line or
@something
comes.The text was updated successfully, but these errors were encountered: