Documenting Code

SimonVD

New Member
Joined
Dec 22, 2019
Hello...

I'm learning documenting my code... and I think I stumbled upon a bug...

Cerberus X:
#Rem cerberusdoc Module MyMod
Documentation for MyMod goes here...
#End

Import "native/mymod_html5.js"
When I rebuild help, I see this error in the log:
[ERROR (pathToMyMod/MyMod/MyMod.cxs, line 5, char 8)] Expecting modpath

And apparently as a result of the error, Makedocs skips MyMod

Any suggestions?
 

Holzchopf

Moderator
3rd Party Module Dev
Joined
Jul 31, 2017
Location
Bern, Switzerland
You're right! :eek: The makedocs parser doesn't allow imports by file paths.

I won't be able to fix this until next year - so my suggestion for now would be: Use an external .cerberusdoc file. Pretty much all other modules do that, so you should find enough examples on how to ;-)
 
Top Bottom