-
-
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
fix #16973 ; nim doc now shows correct, canonical import name in title #16999
Conversation
This fixes #16973. |
c453916
to
2167a37
Compare
Still a draft? |
yes, there's 1 remaining problem which has to do with theindex links; I have a fix in the pipeline... |
2167a37
to
903d6e5
Compare
@Araq this is ready now (and I have a PR that depends on this to fix nim-lang/RFCs#352) |
The modules in |
for reference:
the module title shows as the problem is that docutils is a nimble package, because of lib/packages/docutils/docutils.nimble IMO the fix here is to stop pretending it's a nimble package and remove lib/packages/docutils/docutils.nimble Alternatively, we can make it a proper nimble package that would be nimble-installed by note that the layout of some modules in nim repo should be improved to avoid scope pollution => #17544 |
… in title (nim-lang#16999) * nim doc now shows correct import name in title
fix #16973
refs #16970 (comment)
try it out locally with:
./koch --nim:bin/nim --localdocs:/tmp/d01 docs --doccmd:skip
(takes < 30 seconds)it all seems to work.
examples
future work
--docroot
the default now that this works (EDIT: now unrelated to this PR)