aboutsummaryrefslogtreecommitdiffstats
path: root/doc/cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-01-20 15:53:52 -0500
committerDavid Robillard <d@drobilla.net>2023-01-20 15:53:52 -0500
commit1f68d229aaa163d9cb42c7784d20a44463066af9 (patch)
tree0574d48c078ca90516d8dd6a3d773ec675303729 /doc/cpp
parent33d8d2f16109745dd2ea10d7cd800a7909b6300a (diff)
downloadpugl-1f68d229aaa163d9cb42c7784d20a44463066af9.tar.gz
pugl-1f68d229aaa163d9cb42c7784d20a44463066af9.tar.bz2
pugl-1f68d229aaa163d9cb42c7784d20a44463066af9.zip
Replace duplicated dox_to_sphinx script with sphinxygen dependency
Diffstat (limited to 'doc/cpp')
-rw-r--r--doc/cpp/Doxyfile.in16
-rw-r--r--doc/cpp/api/meson.build2
2 files changed, 14 insertions, 4 deletions
diff --git a/doc/cpp/Doxyfile.in b/doc/cpp/Doxyfile.in
index 78ee4c4..ffb2384 100644
--- a/doc/cpp/Doxyfile.in
+++ b/doc/cpp/Doxyfile.in
@@ -11,6 +11,7 @@ WARN_NO_PARAMDOC = NO
JAVADOC_AUTOBRIEF = YES
+FULL_PATH_NAMES = NO
CASE_SENSE_NAMES = YES
EXCLUDE_SYMBOLS = pugl::detail
EXTRACT_LOCAL_CLASSES = NO
@@ -34,9 +35,18 @@ PREDEFINED = PUGL_API \
PUGL_MALLOC_API= \
PUGL_MALLOC_FUNC=
-RECURSIVE = YES
+RECURSIVE = NO
STRIP_FROM_PATH = @PUGL_SRCDIR@
-INPUT = @PUGL_SRCDIR@/include \
- @PUGL_SRCDIR@/bindings/cpp/include
+INPUT = @PUGL_SRCDIR@/include/pugl/attributes.h \
+ @PUGL_SRCDIR@/include/pugl/pugl.h \
+ @PUGL_SRCDIR@/include/pugl/cairo.h \
+ @PUGL_SRCDIR@/include/pugl/gl.h \
+ @PUGL_SRCDIR@/include/pugl/stub.h \
+ @PUGL_SRCDIR@/include/pugl/vulkan.h \
+ @PUGL_SRCDIR@/bindings/cpp/include/pugl/pugl.hpp \
+ @PUGL_SRCDIR@/bindings/cpp/include/pugl/cairo.hpp \
+ @PUGL_SRCDIR@/bindings/cpp/include/pugl/gl.hpp \
+ @PUGL_SRCDIR@/bindings/cpp/include/pugl/stub.hpp \
+ @PUGL_SRCDIR@/bindings/cpp/include/pugl/vulkan.hpp
OUTPUT_DIRECTORY = @DOX_OUTPUT@
diff --git a/doc/cpp/api/meson.build b/doc/cpp/api/meson.build
index 5a77c29..9b2f7e6 100644
--- a/doc/cpp/api/meson.build
+++ b/doc/cpp/api/meson.build
@@ -3,7 +3,7 @@
cpp_pugl_rst = custom_target(
'C++ API ReST Documentation',
- command: [dox_to_sphinx, '-l', 'cpp', '-f', '@INPUT@', '@OUTDIR@'],
+ command: [sphinxygen, '-l', 'cpp', '-f', '@INPUT@', '@OUTDIR@'],
input: cpp_index_xml,
output: 'pugl.rst',
)