-
-
Notifications
You must be signed in to change notification settings - Fork 330
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
--doc
writes lua's documentation instead of given module's
#3002
Comments
Updated log files & additional notes. Sorry, was running with a slightly wrong command. Btw, it seems like almost any invalid command produces the same output without any indication of failure. |
The output file actually contains your When you search # filetype
---
# foo
```lua
function foo(x: number)
```
---
# function According to this reply: #2977 (comment), this is significantly noticeable after the heavy refactor in #2821, which changed the sorting of the exported docs.
|
Oh wow, I didn't notice that the documentation for the foo was generated. In the previous attempt when I provided the wrong path there were only built-in functions, so I gave up searching for it in the next one. Maybe it should fail or produce a warning when given the wrong path? |
I am unsure about the meaning of wrong path when executing the I guess at most the server can only verify the given directory exist? |
Yeah, no, I meant wrong as "doesn't exist". Btw I wonder why the invalid path doesn't cause panic at the moment and if is there a pcall on reading the folder for some reason. |
How are you using the lua-language-server?
Command Line
Which OS are you using?
Windows WSL
What is the issue affecting?
Other
Expected Behaviour
Producing documentation for the given module
Actual Behaviour
Producing documentation for lua's builtin functions
Reproduction steps
lua-language-server --doc=. --doc_out_path=.
Additional Notes
Tested on 3.13.5.
Log File
file_home_girvel_tmp_..log
service.log
The text was updated successfully, but these errors were encountered: