From 7454e9047eaa10bf8e57fd9dbd0cf000480b0c99 Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 6 Jan 2020 13:31:38 +0000 Subject: [PATCH] Ensure only one sphinx module:: directive exists * Others using automodule:: must have :noindex:. * I'm unclear when this is required - travis hit an error on this but I couldn't reproduce it locally, but it seems harmless. --- docs/python_api/renderdoc/enums_data.rst | 3 +++ docs/python_api/renderdoc/main_ifaces.rst | 2 +- docs/python_api/renderdoc/pipelines/d3d11.rst | 1 + docs/python_api/renderdoc/pipelines/d3d12.rst | 1 + docs/python_api/renderdoc/pipelines/gl.rst | 1 + docs/python_api/renderdoc/pipelines/vulkan.rst | 1 + 6 files changed, 8 insertions(+), 1 deletion(-) diff --git a/docs/python_api/renderdoc/enums_data.rst b/docs/python_api/renderdoc/enums_data.rst index ae81a43ea..1006ce904 100644 --- a/docs/python_api/renderdoc/enums_data.rst +++ b/docs/python_api/renderdoc/enums_data.rst @@ -1,7 +1,10 @@ Enums and Data Structures ========================= +.. currentmodule:: renderdoc + .. automodule:: renderdoc + :noindex: :members: :undoc-members: :imported-members: diff --git a/docs/python_api/renderdoc/main_ifaces.rst b/docs/python_api/renderdoc/main_ifaces.rst index 27ceaa96a..bf46dfb85 100644 --- a/docs/python_api/renderdoc/main_ifaces.rst +++ b/docs/python_api/renderdoc/main_ifaces.rst @@ -3,7 +3,7 @@ Primary Interfaces .. contents:: -.. module:: renderdoc +.. currentmodule:: renderdoc ReplayController ---------------- diff --git a/docs/python_api/renderdoc/pipelines/d3d11.rst b/docs/python_api/renderdoc/pipelines/d3d11.rst index 1ecfbf9ba..4ef1f735f 100644 --- a/docs/python_api/renderdoc/pipelines/d3d11.rst +++ b/docs/python_api/renderdoc/pipelines/d3d11.rst @@ -8,6 +8,7 @@ D3D11 Pipeline State :undoc-members: .. automodule:: renderdoc + :noindex: :members: :undoc-members: :imported-members: diff --git a/docs/python_api/renderdoc/pipelines/d3d12.rst b/docs/python_api/renderdoc/pipelines/d3d12.rst index 7de3727e0..38ff1c87a 100644 --- a/docs/python_api/renderdoc/pipelines/d3d12.rst +++ b/docs/python_api/renderdoc/pipelines/d3d12.rst @@ -8,6 +8,7 @@ D3D12 Pipeline State :undoc-members: .. automodule:: renderdoc + :noindex: :members: :undoc-members: :imported-members: diff --git a/docs/python_api/renderdoc/pipelines/gl.rst b/docs/python_api/renderdoc/pipelines/gl.rst index db37d9a5c..d227cb6d1 100644 --- a/docs/python_api/renderdoc/pipelines/gl.rst +++ b/docs/python_api/renderdoc/pipelines/gl.rst @@ -8,6 +8,7 @@ OpenGL Pipeline State :undoc-members: .. automodule:: renderdoc + :noindex: :members: :undoc-members: :imported-members: diff --git a/docs/python_api/renderdoc/pipelines/vulkan.rst b/docs/python_api/renderdoc/pipelines/vulkan.rst index 77e88f1a4..17c82bb64 100644 --- a/docs/python_api/renderdoc/pipelines/vulkan.rst +++ b/docs/python_api/renderdoc/pipelines/vulkan.rst @@ -8,6 +8,7 @@ Vulkan Pipeline State :undoc-members: .. automodule:: renderdoc + :noindex: :members: :undoc-members: :imported-members: