Closed EitanTal closed 4 years ago
Hi @EitanTal, thank you for your feedback. You're right, the README.md
definitely needed an overhaul.
(Config) How do I define the path for doxyfile?
Until now it was actually not possible to explicitly specify the configuration file to use.
The "correct" file is searched for relative to the currently opened file (as the README.md
hinted at.)
However, with version 1.6.0
it is now also possible to override this behavior and specify doxygen_runner.configuration_file_override
.
(Config) How do I define the path for the result index.html?
This has to be specified in the Doxyfile
under OUTPUT_DIRECTORY
.
I considered an override option here as well, but that would require copying the configuration file, modifying OUTPUT_DIRECTORY
and then generating the result, which I think is way to error-
Also, the view command does nothing when I try to launch it. I suppose this is because the path to the resulting index.html is not defined.
Yes, the view command only works once the documentation is successfully generated.
Could you please try again with the latest update?
I can generate & override, but the view command still doesn't work. (Nothing happens)
I followed the instructions and successfully defined the path to doxyfile. The readme didn't mention that the insertion is done in settings.json.
I can generate & override, but the view command still doesn't work. (Nothing happens)
Nice, that generating works for you now! It is strange, though, there should be an error message when viewing the result fails.
Could you please open the developer tools and filter the console log for vscode-doxygen-runner
?
Are there any error messages? Maybe you could also attach the log file here?
I followed the instructions and successfully defined the path to doxyfile. The readme didn't mention that the insertion is done in settings.json.
Well, you could also set the option the settings GUI, did that not show up for you?
I was unaware that I can edit the extension settings from the GUI.
Ah, I think I see the problem: Do you have
OUTPUT_DIRECTORY = C:\RemMon\sw\FirmwareRepo\doc\doxygen\
in your Doxyfile?
In that case, could you please try the latest version (>=1.7.1)? This should also support absolute paths in that place.
Ok, now viewing it works! Nice job!
however, I now get an error when I try to generate, and I didn't get this error before: (Introduced in 1.7.1. Switching back to 1.7.0 made this problem go away)
I have doxygen installed here:
Directory of C:\Program Files\doxygen\bin
02-Jul-20 08:57 AM <DIR> .
02-Jul-20 08:57 AM <DIR> ..
13-Apr-20 11:08 AM 18,201,088 doxygen.exe
13-Apr-20 11:08 AM 1,530,368 doxyindexer.exe
13-Apr-20 11:08 AM 1,185,792 doxysearch.cgi.exe
13-Apr-20 10:51 AM 8,477,184 doxywizard.exe
01-Aug-17 08:16 AM 44,775,936 libclang.dll
5 File(s) 74,170,368 bytes
2 Dir(s) 44,359,966,720 bytes free
Nice, thank you for testing again!
After some debugging I assume that the error was due to doxygen
being run in your OUTPUT_DIRECTORY
which might not have existed.
With version 1.7.2 this should hopefully not be the case anymore, could you please try again? I also added some debug logging in case it still doesn't work.
Confirmed! Generating & viewing works! Closing issue.
The readme.md does not provide instructions on how to use and configure this extension.
Please provide details:
Also, the view command does nothing when I try to launch it. I suppose this is because the path to the resulting index.html is not defined.