This is an automated email from the ASF dual-hosted git repository.

xyz pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-client-cpp.git


The following commit(s) were added to refs/heads/main by this push:
     new ac3033d  Doxygen supports darkmode toggle (#119)
ac3033d is described below

commit ac3033d21cb8833225743ecc97b67ff4cf339489
Author: tison <[email protected]>
AuthorDate: Tue Nov 15 14:09:44 2022 +0800

    Doxygen supports darkmode toggle (#119)
---
 Doxyfile | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/Doxyfile b/Doxyfile
index 145948c..6c8c36b 100644
--- a/Doxyfile
+++ b/Doxyfile
@@ -1204,6 +1204,23 @@ HTML_EXTRA_STYLESHEET  =
 
 HTML_EXTRA_FILES       =
 
+# The HTML_COLORSTYLE tag can be used to specify if the generated HTML output
+# should be rendered with a dark or light theme. Default setting AUTO_LIGHT
+# enables light output unless the user preference is dark output. Other options
+# are DARK to always use dark mode, LIGHT to always use light mode, AUTO_DARK 
to
+# default to dark mode unless the user prefers light mode, and TOGGLE to let 
the
+# user toggle between dark and light mode via a button.
+# Possible values are: LIGHT Always generate light output., DARK Always 
generate
+# dark output., AUTO_LIGHT Automatically set the mode according to the user
+# preference, use light mode if no preference is set (the default)., AUTO_DARK
+# Automatically set the mode according to the user preference, use dark mode if
+# no preference is set. and TOGGLE Allow to user to switch between light and
+# dark mode via a button..
+# The default value is: AUTO_LIGHT.
+# This tag requires that the tag GENERATE_HTML is set to YES.
+
+HTML_COLORSTYLE        = TOGGLE
+
 # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
 # will adjust the colors in the style sheet and background images according to
 # this color. Hue is specified as an angle on a colorwheel, see

Reply via email to