Conversation
|
|
Can we set a max length on the snippets? Some of them are very difficult to read on mobile. |
|
Do you mean running Prettier on the snippets with a shorter line length, or something? |
|
Yeah, that would be good if it is possible. |
|
Made that change. The JSDoc comments will need to be updated (and maintained) manually though |
sveltejs#4011 added @sveltejs/adapter-static . But sveltejs#4239 removed it. Then deploy process is failed. (Please see sveltejs#4244 (comment) for more details)
* add @sveltejs/adapter-static. #4011 added @sveltejs/adapter-static . But #4239 removed it. Then deploy process is failed. (Please see #4244 (comment) for more details) * workspace:^1.0.0-next.29 -> workspace:*

Follow-up to #4010. The idea here is to make types linkable throughout the docs — rather than the unreadable gibberish you get from automatic doc generators, this literally just copies the source
.d.tsinto the docs, extracts leading JSDoc comments, and crosslinks everything.So for example in the endpoint docs, the
RequestHandlertype becomes a link......that points here:
RequestHandler->RequestHandlerin the example above)Add more JSDoc comments explaining the various typesthis can happen in a follow-upRethinkfollow-up in RenameAppvsApp— maybe we rename the class?App#4030lspattributes, or have the tooltip actually link to them