Commit 6b39e900 authored by carlosgc@webkit.org's avatar carlosgc@webkit.org

[GTK] Fix gtk-doc warnings when generating DOM bindings API docs

https://bugs.webkit.org/show_bug.cgi?id=125302

Reviewed by Philippe Normand.

* gtk/generate-webkitdom-doc-files:
(WebKitDOMDocGeneratorSections.write_footer): Add a new section
containing a private subsection for WEBKIT_API, WEBKIT_DEPRECATED
and WEBKIT_DEPRECATED_FOR macros.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@160173 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 59999b90
2013-12-05 Carlos Garcia Campos <cgarcia@igalia.com>
[GTK] Fix gtk-doc warnings when generating DOM bindings API docs
https://bugs.webkit.org/show_bug.cgi?id=125302
Reviewed by Philippe Normand.
* gtk/generate-webkitdom-doc-files:
(WebKitDOMDocGeneratorSections.write_footer): Add a new section
containing a private subsection for WEBKIT_API, WEBKIT_DEPRECATED
and WEBKIT_DEPRECATED_FOR macros.
2013-12-05 Laszlo Vidacs <lac@inf.u-szeged.hu>
Fix cross compilation on x86
......
......@@ -188,6 +188,13 @@ class WebKitDOMDocGeneratorSections(WebKitDOMDocGenerator):
sys.stdout.write('webkit_dom_%s_get_type\n' % self._dom_class_decamelize(class_name).lower())
sys.stdout.write('</SECTION>\n\n')
def write_footer(self):
sys.stdout.write('<SECTION>\n')
sys.stdout.write('<FILE>webkitdomdefines</FILE>\n<TITLE>WebKitDOMDefines</TITLE>\n')
sys.stdout.write('<SUBSECTION Private>\n')
sys.stdout.write('WEBKIT_API\nWEBKIT_DEPRECATED\nWEBKIT_DEPRECATED_FOR\n')
sys.stdout.write('</SECTION>\n\n')
symbol_files = sys.stdin.read().strip('\n').split(' ')
if 'docs' in sys.argv[1:]:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment