From ad0bd6c8ebe4d59ed8052a1a9a746473ae9fb09a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julius=20H=C3=A4rtl?= Date: Wed, 25 Oct 2017 13:28:21 +0200 Subject: [PATCH] Do not build API reference for pdf documentation --- developer_manual/api.rst | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/developer_manual/api.rst b/developer_manual/api.rst index 658be997c..632f0a0bc 100644 --- a/developer_manual/api.rst +++ b/developer_manual/api.rst @@ -1,23 +1,25 @@ -API Documentation -================= +.. only:: html + + API Documentation + ================= -PHP public API --------------- -.. toctree:: - :maxdepth: 1 + PHP public API + -------------- + .. toctree:: + :maxdepth: 1 - /OCP namespace + /OCP namespace -PHP class reference -------------------- + PHP class reference + ------------------- -Please note that only APIs in \OCP namespace are considered to be public. The -following documentation is just for reference: + Please note that only APIs in \OCP namespace are considered to be public. The + following documentation is just for reference: -.. toctree:: - :maxdepth: 1 + .. toctree:: + :maxdepth: 1 - / namespace - /OC namespace + / namespace + /OC namespace