2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-21 17:35:55 +01:00

doc: fix the empty apidocs

This commit is contained in:
Thomas Nagy 2022-05-17 23:01:30 +02:00
parent 6b820ba879
commit 5c90204a96
15 changed files with 21 additions and 7 deletions

View File

@ -2,4 +2,5 @@ Build
-----
.. automodule:: waflib.Build
:members:

View File

@ -2,4 +2,5 @@ ConfigSet
---------
.. automodule:: waflib.ConfigSet
:members:

View File

@ -2,4 +2,5 @@ Configure
---------
.. automodule:: waflib.Configure
:members:

View File

@ -2,4 +2,5 @@ Context
---------
.. automodule:: waflib.Context
:members:

View File

@ -2,4 +2,5 @@ Errors
------
.. automodule:: waflib.Errors
:members:

View File

@ -2,4 +2,5 @@ Logs
----
.. automodule:: waflib.Logs
:members:

View File

@ -2,4 +2,5 @@ Node
----
.. automodule:: waflib.Node
:members:

View File

@ -2,4 +2,5 @@ Options
-------
.. automodule:: waflib.Options
:members:

View File

@ -2,4 +2,5 @@ Runner
------
.. automodule:: waflib.Runner
:members:

View File

@ -2,4 +2,5 @@ Scripting
---------
.. automodule:: waflib.Scripting
:members:

View File

@ -2,4 +2,5 @@ Task
----
.. automodule:: waflib.Task
:members:

View File

@ -2,4 +2,5 @@ TaskGen
-------
.. automodule:: waflib.TaskGen
:members:

View File

@ -2,4 +2,5 @@ Utils
-----
.. automodule:: waflib.Utils
:members:

View File

@ -3,9 +3,5 @@
About this documentation
------------------------
These documents are generated from `reStructuredText`_ sources by `Sphinx`_, a
document processor specifically written for the Python documentation.
.. _reStructuredText: http://docutils.sf.net/rst.html
.. _Sphinx: http://sphinx.pocoo.org/
This is the automatically generated documentation for the Waf project.

View File

@ -21,6 +21,11 @@ sys.path.append(os.path.abspath('.'))
graphviz_output_format = 'svg'
html_theme_options = {
"body_min_width": "none",
"body_max_width": "none",
}
# monkey patch a few waf classes for documentation purposes!
#-----------------------------------------------------------
@ -207,7 +212,7 @@ for x in lst:
tool_to_features[x].append(feat)
txt = ""
txt += "%s\n%s\n\n.. automodule:: waflib.Tools.%s\n\n" % (x, "="*len(x), x)
txt += "%s\n%s\n\n.. automodule:: waflib.Tools.%s\n :members:\n\n" % (x, "="*len(x), x)
if x in tool_to_features:
txt += "Features defined in this module:"
for feat in sorted(list(set(tool_to_features[x]))):
@ -348,7 +353,7 @@ master_doc = 'index'
# General information about the project.
project = u'Waf'
copyright = u'2005-2018, Thomas Nagy'
copyright = u'2005-2022, Thomas Nagy'
# The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the