Well, hooray for redeployment-requiring CVEs, as I can [finally join the
forum](https://github.com/nim-lang/nimforum/commit/6c6552176a01c6104604ebf2ac43509bffa61d09).
;-)
That would work for my contrived example, but not as a solution for my larger
project, unfortunately. I've got my code spread out across multiple files,
which means the methods have to stay public.
> Can you please try choosenim update "#version-1-6"?
That worked, thanks.
You could do something like
when not defined(nimdoc):
proc internalOnly*() =
## A method that is "package private", but needs to be flagged as
## public so the rest of the module can access it. However, it
## should not show up in the docume
Hmm. That doesn't seem to solve this problem. The documentation generator is
running a full compile pass. So if I put code that is actually being used
behind a `when not defined(nimdoc)` clause, the doc generator fails to compile.
For example, trying to generate documentation for this:
Yep, like this:
when not defined(nimdoc):
# put your code here
Run
Is there any way to exclude some units of code from the generated docs? I’ve
got some modules and objects that need to be public so the rest of my module
can access them, but aren’t considered a public API. Package private, basically.
I’m fine with leaving them as public, but I would like to pre
We are happy to announce that all preparations for the Nim Devroom at FOSDEM
2022 are now complete and we are looking forward to 8 excellent talks with more
than 5 hours of Nim-related content. The conference is online this year and the
talks will stream live tomorrow on the FOSDEM website. This
I'm thinking of releasing it as Open Source, I just need to decide on the
license and also clean things up a bit. But I hope to release something this
year, preferably the 1st half of the year.
That is cool, I am also interested in this, and flutter is really nice for gui
work. @jasonfi, can you share what you have with us? (ui converted to json,
etc?) Sounds interesting, would like to try working with this.
Thank you sls1005!
11 matches
Mail list logo