-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
exporting documentation to json does not work properly #8495
Comments
Btw you need a working 'nimsuggest' for your editor. ;-) |
I'm using sublimetext (as many others, not everyone is using vim or visual studio), but the nim sublimetext plugin NimLine has been broken since > 1 month, see nim-lang/NimLime#99 ; here I diagnose the root cause back to a nimsuggest bug: nim-lang/nimsuggest#83 Regardless of editor integration, there should be a cmd line way to search for symbol declarations (including types, enum values etc). Can nimsuggest be used for that purpose on cmd line? If so, this bug is not as important (maybe; there could be other use cases) |
I got nim jsondoc to work, but it doesn't really do what I thought it does. jsondoc seems kind of orphaned actually The other option is to maybe expand jsondoc to provide more data, similar to ctags? Though it seems like the compiler api / nimsuggest is a better / more dynamic solution that. |
Information like "needed to get theindex.json for tooling" does not belong in the title. |
--json2
doesn' work with ./koch web
(needed to get theindex.json for tooling)
generates /tmp/d30/docs/theindex.html instead of /tmp/d30/docs/theindex.json
I need theindex.json to allow tooling to search for symbols.
(none of the alternatives I tried work in a satisfactory way, eg: see #7419)
(opening the html in browser and search via cmd+F just isn't a good solution, I need regex; plus, opening in browser is slow especially on that file)
NOTE:
./koch doc --help
showsnimweb
documentation:--json2 build JSON of the documentation
but doesn't work as shown aboveThe text was updated successfully, but these errors were encountered: