Are there any when conditions I could use just for documentation. Aka:
when defined(docgen):
type
ABC = object
## this the fancy ABC object. Use it to track blah and stuff.
blah: int
else:
import common # this imports the REAL type ABC for shared use
import seesaw # brings in "seeSawAction"; that module also imports common
var x = ABC(blah: 4)
let bing = x.seesawAction()
Run
- advanced `nim doc` use JohnAD
- Re: advanced `nim doc` use juancarlospaco
- Re: advanced `nim doc` use JohnAD
- Re: advanced `nim doc` use JohnAD
- Re: advanced `nim doc` use JohnAD
- Re: advanced `nim doc` use mratsim
- Re: advanced `nim doc` use PMunch
