From 4643e4d99c34696788efa39269d03d2991dc54ed Mon Sep 17 00:00:00 2001 From: Benjamin Bach Date: Thu, 25 Aug 2022 00:18:23 +0200 Subject: [PATCH] Adds example code for visual regression testing --- docs/demo/api.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/demo/api.rst b/docs/demo/api.rst index 10e84fa94..dfd75fb05 100644 --- a/docs/demo/api.rst +++ b/docs/demo/api.rst @@ -13,6 +13,23 @@ API documentation and generated content :special-members: +.. regression test for https://github.com/readthedocs/sphinx_rtd_theme/issues/1052 + +Render API documentation that isn't automatically generated + +.. py:class:: pub + + Foo + foo + *Bar* + bar + ``Baz`` + baz + + .. py:method:: qux + + qux + C++ API =======