-
-
Notifications
You must be signed in to change notification settings - Fork 323
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
Initial logic for Sphinx build of API docs - replacing epydoc #3641
Conversation
cfd6519
to
9e61bf3
Compare
First cut includes a Makefile as generated by Sphinx plumbling, needs to be wired into sconscripts instead. A few regular scons files are updated to address build errors/warnings. Signed-off-by: Mats Wichmann <mats@linux.com>
Signed-off-by: Mats Wichmann <mats@linux.com>
autoclasstoc enabled, but not particularly used yet. Signed-off-by: Mats Wichmann <mats@linux.com>
Signed-off-by: Mats Wichmann <mats@linux.com>
Signed-off-by: Mats Wichmann <mats@linux.com>
Opinion time - when special members are included in the docs, the output isn't really readable, it's too cluttered. Don't seem to be able to get the autoclasstoc stuff working, which was supposed to help with that. Signed-off-by: Mats Wichmann <mats@linux.com>
Split this patchset so it contains only the Sphinx-build configuration itself, and not any docstring changes suggested by running Sphinx. Signed-off-by: Mats Wichmann <mats@linux.com>
6c92a77
to
261f1d1
Compare
Re: docstring style. Didn't we discuss using Googles style? |
RE: "++" modules, can we get Sphinx to ignore them? |
in a way... by not looking deeper in Tools, they do get ignored, but I can't call them out by name to be ignored for the same reason they cause trouble if processed. |
Yes, and that's what I've been using recently. |
I think if you add a blurb to the wiki page and assuming I can just do |
General setup for Sphinx build - config, style, etc.
A few regular scons files are updated to address build errors/warnings.
TODO:
build/doc/API
Specific errors:
aixc++, c++, g++, hpc++, sgic++, sunc++
index.rst:9: WARNING: toctree contains reference to nonexisting document 'SCons.Tool.packaging.'
WARNING: autodoc: failed to determine Null(0x7F706BF19210) to be documented.the following exception was raised: cannot unpack non-iterable Null object
(SCons' Null is a hack - no checkers like it either)Fixes #3604 #3121
Signed-off-by: Mats Wichmann mats@linux.com
Contributor Checklist:
src/CHANGES.txt
(and read theREADME.txt
in that directory)