Skip to content

Commit

Permalink
Merge pull request ceph#37599 from yuvalif/remove_doxyfile
Browse files Browse the repository at this point in the history
cmake: remove Doxyfile as doxygen run via make
  • Loading branch information
yuvalif authored Oct 13, 2020
2 parents c6e8fa3 + fe0bddb commit 426e6f5
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 26 deletions.
23 changes: 0 additions & 23 deletions Doxyfile

This file was deleted.

8 changes: 8 additions & 0 deletions doc/dev/documenting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,14 @@ functions should be grouped into logical categories. The `librados C
API`_ provides a complete example. It is pulled into Sphinx by
`librados.rst`_, which is rendered at :doc:`/rados/api/librados`.

To generate the doxygen documentation in HTML format use:

::

# make doxygen

HTML output will be under: ``build-doc/doxygen/html``

.. _`librados C API`: https://github.com/ceph/ceph/blob/master/src/include/rados/librados.h
.. _`librados.rst`: https://github.com/ceph/ceph/raw/master/doc/rados/api/librados.rst

Expand Down
15 changes: 12 additions & 3 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -893,12 +893,22 @@ if(DOXYGEN_FOUND)
set(DOXYGEN_FILE_PATTERNS *.cc *.c *.cpp *.C *.cxx *.c++ *.CC *.H *.h *.hh *.hpp)
set(DOXYGEN_SOURCE_BROWSER YES)
set(DOXYGEN_WARN_IF_UNDOCUMENTED NO)
set(DOXYGEN_CLANG_ASSISTED_PARSING YES)
set(DOXYGEN_CLANG_DATABASE_PATH .)
# enabling clang slows down doxygen significantly
set(DOXYGEN_CLANG_ASSISTED_PARSING NO)
set(DOXYGEN_CLANG_DATABASE_PATH "${PROJECT_BINARY_DIR}")
set(DOXYGEN_BUILTIN_STL_SUPPORT YES)
set(DOXYGEN_RECURSIVE YES)
set(DOXYGEN_QUIET YES)
set(DOXYGEN_GENERATE_LATEX NO)
set(DOXYGEN_GENERATE_XML NO)
set(DOXYGEN_GENERATE_HTML YES)
set(DOXYGEN_PROJECT_NAME Ceph)
set(DOXYGEN_OUTPUT_DIRECTORY "${PROJECT_SOURCE_DIR}/build-doc/doxygen")
set(DOXYGEN_STRIP_FROM_PATH "src/")
set(DOXYGEN_STRIP_FROM_INC_PATH "src/include")
set(DOXYGEN_JAVADOC_AUTOBRIEF YES)
set(DOXYGEN_HAVE_DOT NO)
set(DOXYGEN_VERBATIM_HEADERS YES)
doxygen_add_docs(doxygen
auth
client
Expand All @@ -919,7 +929,6 @@ if(DOXYGEN_FOUND)
libradosstriper
librbd
log
lua
mds
messages
mgr
Expand Down

0 comments on commit 426e6f5

Please sign in to comment.