diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt index 848d2c979..d0efed82b 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -54,6 +54,8 @@ if (ENABLE_DOCS OR BUILD_DOCS_ONLY) set(DOXYGEN_IN ${PROJECT_SOURCE_DIR}/Doxyfile) set(DOXYGEN_OUT ${CMAKE_BINARY_DIR}/Doxyfile.out) configure_file(${DOXYGEN_IN} ${DOXYGEN_OUT} @ONLY) + # Copy disclaimer_footer.html to the build directory + configure_file(${PROJECT_SOURCE_DIR}/disclaimer_footer.html ${CMAKE_BINARY_DIR}/disclaimer_footer.html COPYONLY) add_custom_target(docs COMMAND ${DOXYGEN_EXECUTABLE} ${DOXYGEN_OUT} WORKING_DIRECTORY ${CMAKE_BINARY_DIR} diff --git a/cpp/Doxyfile b/cpp/Doxyfile index c7b3e6c1d..b95e49b6a 100644 --- a/cpp/Doxyfile +++ b/cpp/Doxyfile @@ -1184,7 +1184,7 @@ HTML_HEADER = # that doxygen normally uses. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_FOOTER = +HTML_FOOTER = disclaimer_footer.html # The HTML_STYLESHEET tag can be used to specify a user-defined cascading style # sheet that is used by each HTML page. It can be used to fine-tune the look of diff --git a/cpp/disclaimer_footer.html b/cpp/disclaimer_footer.html new file mode 100644 index 000000000..60fa6a402 --- /dev/null +++ b/cpp/disclaimer_footer.html @@ -0,0 +1,33 @@ + + + + diff --git a/pyspark/template/module.html.jinja2 b/pyspark/template/module.html.jinja2 index 83113a6e8..d88ac7a30 100644 --- a/pyspark/template/module.html.jinja2 +++ b/pyspark/template/module.html.jinja2 @@ -25,9 +25,15 @@ {% block module_contents %} {{ super() }} -