|
| 1 | +project redis/doc ; |
| 2 | + |
| 3 | +import doxygen ; |
| 4 | +import path ; |
| 5 | +import sequence ; |
| 6 | + |
| 7 | +# All paths must be absolute to work well with the Doxygen rules. |
| 8 | +path-constant this_dir : . ; |
| 9 | +path-constant include_dir : ../include ; |
| 10 | +path-constant examples_dir : ../examples ; |
| 11 | +path-constant readme : ../README.md ; |
| 12 | +path-constant layout_file : DoxygenLayout.xml ; |
| 13 | + |
| 14 | +local stylesheet_files = [ path.glob $(this_dir) : *.css ] ; |
| 15 | +local includes = [ path.glob-tree $(include_dir) : *.hpp *.cpp ] ; |
| 16 | +local examples = [ path.glob-tree $(examples_dir) : *.hpp *.cpp ] ; |
| 17 | + |
| 18 | +# If passed directly, several HTML_EXTRA_STYLESHEET tags are generated, |
| 19 | +# which is not correct. |
| 20 | +local stylesheet_arg = [ sequence.join $(stylesheet_files) : " " ] ; |
| 21 | + |
| 22 | +doxygen autodoc.html |
| 23 | + : |
| 24 | + $(includes) $(examples) $(readme) |
| 25 | + : |
| 26 | + <doxygen:param>PROJECT_NAME=boost_redis |
| 27 | + <doxygen:param>PROJECT_NUMBER="1.4.2" |
| 28 | + <doxygen:param>PROJECT_BRIEF="A redis client library" |
| 29 | + <doxygen:param>BUILTIN_STL_SUPPORT=YES |
| 30 | + <doxygen:param>INLINE_SIMPLE_STRUCTS=YES |
| 31 | + <doxygen:param>HIDE_UNDOC_MEMBERS=YES |
| 32 | + <doxygen:param>HIDE_UNDOC_CLASSES=YES |
| 33 | + <doxygen:param>SHOW_HEADERFILE=YES |
| 34 | + <doxygen:param>SORT_BRIEF_DOCS=YES |
| 35 | + <doxygen:param>SORT_MEMBERS_CTORS_1ST=YES |
| 36 | + <doxygen:param>SHOW_FILES=NO |
| 37 | + <doxygen:param>SHOW_NAMESPACES=NO |
| 38 | + <doxygen:param>LAYOUT_FILE=$(layout_file) |
| 39 | + <doxygen:param>WARN_IF_INCOMPLETE_DOC=YES |
| 40 | + <doxygen:param>FILE_PATTERNS="*.hpp *.cpp" |
| 41 | + <doxygen:param>EXCLUDE_SYMBOLS=std |
| 42 | + <doxygen:param>USE_MDFILE_AS_MAINPAGE=$(readme) |
| 43 | + <doxygen:param>SOURCE_BROWSER=YES |
| 44 | + <doxygen:param>"HTML_EXTRA_STYLESHEET=$(stylesheet_arg)" |
| 45 | + <doxygen:param>HTML_TIMESTAMP=YES |
| 46 | + <doxygen:param>GENERATE_TREEVIEW=YES |
| 47 | + <doxygen:param>FULL_SIDEBAR=NO |
| 48 | + <doxygen:param>ENUM_VALUES_PER_LINE=0 |
| 49 | + <doxygen:param>OBFUSCATE_EMAILS=YES |
| 50 | + <doxygen:param>USE_MATHJAX=YES |
| 51 | + <doxygen:param>MATHJAX_VERSION=MathJax_2 |
| 52 | + <doxygen:param>MATHJAX_RELPATH="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/" |
| 53 | + <doxygen:param>GENERATE_LATEX=NO |
| 54 | + <doxygen:param>MACRO_EXPANSION=YES |
| 55 | + <doxygen:param>HAVE_DOT=NO |
| 56 | + <doxygen:param>CLASS_GRAPH=NO |
| 57 | + <doxygen:param>DIRECTORY_GRAPH=NO |
| 58 | + ; |
| 59 | + |
| 60 | +# These are used to inform the build system of the |
| 61 | +# means to build the integrated and stand-alone docs. |
| 62 | + |
| 63 | +alias boostdoc ; |
| 64 | +explicit boostdoc ; |
| 65 | + |
| 66 | +alias boostrelease : autodoc.html ; |
| 67 | +explicit boostrelease ; |
0 commit comments