From 47fc5095f8f636566ebdc1b5aec5c59672055602 Mon Sep 17 00:00:00 2001 From: Anas Nashif Date: Fri, 25 Jan 2019 23:01:00 -0500 Subject: [PATCH] doc: move version API to kernel Move this last doxygen API to the kernel section. Signed-off-by: Anas Nashif --- doc/api/index.rst | 1 - doc/api/kernel_api.rst | 30 ------------------------------ doc/kernel/kernel.rst | 1 + doc/kernel/other/version.rst | 13 +++++++++++++ 4 files changed, 14 insertions(+), 31 deletions(-) delete mode 100644 doc/api/kernel_api.rst create mode 100644 doc/kernel/other/version.rst diff --git a/doc/api/index.rst b/doc/api/index.rst index c85d7b40f71ccb..819de47d43ad9a 100644 --- a/doc/api/index.rst +++ b/doc/api/index.rst @@ -13,7 +13,6 @@ The Zephyr APIs are used the same way on all SoCs and boards. .. toctree:: :maxdepth: 2 - kernel_api.rst bluetooth.rst networking.rst file_system diff --git a/doc/api/kernel_api.rst b/doc/api/kernel_api.rst deleted file mode 100644 index 19df89b3829a25..00000000000000 --- a/doc/api/kernel_api.rst +++ /dev/null @@ -1,30 +0,0 @@ -.. _kernel_apis: - -Kernel APIs -########### - -This section contains APIs for the kernel's core services, -as described in the :ref:`kernel`. - -.. important:: - Unless otherwise noted these APIs can be used by threads, but not by ISRs. - -.. contents:: - :depth: 1 - :local: - :backlinks: top - -.. comment - not documenting - .. doxygengroup:: kernel_apis - - - -Kernel Version -************** -Kernel version handling and APIs related to kernel version being used. - -.. doxygengroup:: version_apis - :project: Zephyr - :content-only: - diff --git a/doc/kernel/kernel.rst b/doc/kernel/kernel.rst index 9af814ff05325f..f9c0854d9fd9d4 100644 --- a/doc/kernel/kernel.rst +++ b/doc/kernel/kernel.rst @@ -47,3 +47,4 @@ include: fitness wearables, smart watches, and IoT wireless gateways. other/float.rst other/ring_buffers.rst other/cxx_support.rst + other/version.rst diff --git a/doc/kernel/other/version.rst b/doc/kernel/other/version.rst new file mode 100644 index 00000000000000..34fcf81470b459 --- /dev/null +++ b/doc/kernel/other/version.rst @@ -0,0 +1,13 @@ +.. _version: + +Version +####### + +Kernel version handling and APIs related to kernel version being used. + +API Reference +************** + +.. doxygengroup:: version_apis + :project: Zephyr + :content-only: