diff options
author | Marius Vlad <marius.vlad@collabora.com> | 2019-06-14 13:25:40 +0300 |
---|---|---|
committer | Pekka Paalanen <pq@iki.fi> | 2019-06-25 14:05:54 +0000 |
commit | 57e2cc22d20f1d462ccc0b1c8237af01b506fa89 (patch) | |
tree | 96d53956ae8fcf885c00dc1beb96e28d9a34d574 /doc | |
parent | 9fdda7f5ebc8aba77b3227e1f43eeb15dfc2615c (diff) | |
download | weston-57e2cc22d20f1d462ccc0b1c8237af01b506fa89.tar.gz |
doc/sphinx: Add 'weston_compositor', 'weston_output' and 'weston_head' API
Demonstrates how to call/use the 'doxygen*' breathe directives. Make
use of previous patches that tag symbols using 'ingroup' doxygen
command.
Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/sphinx/toc/libweston/compositor.rst | 6 | ||||
-rw-r--r-- | doc/sphinx/toc/libweston/head.rst | 6 | ||||
-rw-r--r-- | doc/sphinx/toc/libweston/output.rst | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/doc/sphinx/toc/libweston/compositor.rst b/doc/sphinx/toc/libweston/compositor.rst index 6001201a..826b5620 100644 --- a/doc/sphinx/toc/libweston/compositor.rst +++ b/doc/sphinx/toc/libweston/compositor.rst @@ -5,3 +5,9 @@ Compositor aggregates all the other objects and maintains their state. You can create it using :func:`weston_compositor_create`, while for destroying it and releasing all the resources associated with it, you should use :func:`weston_compositor_destroy`. + +Compositor API +-------------- + +.. doxygengroup:: compositor + :content-only: diff --git a/doc/sphinx/toc/libweston/head.rst b/doc/sphinx/toc/libweston/head.rst index 61490f67..14686ffe 100644 --- a/doc/sphinx/toc/libweston/head.rst +++ b/doc/sphinx/toc/libweston/head.rst @@ -16,3 +16,9 @@ driving a :type:`weston_head`. :type:`weston_head` should be initialized using A :type:`weston_head` must be attached/detached from a :type:`weston_output`. To that purpose you can use :func:`weston_output_attach_head`, respectively :func:`weston_head_detach`. + +Head API +-------- + +.. doxygengroup:: head + :content-only: diff --git a/doc/sphinx/toc/libweston/output.rst b/doc/sphinx/toc/libweston/output.rst index f6fe96e9..a89132ae 100644 --- a/doc/sphinx/toc/libweston/output.rst +++ b/doc/sphinx/toc/libweston/output.rst @@ -8,3 +8,9 @@ already enabled. The reverse operation, :func:`weston_output_disable`, should be used when there's a need to reconfigure the output or it will be destroyed. + +Output API +---------- + +.. doxygengroup:: output + :content-only: |