04ace57589
* Add roctx doc
* Add roctx doxyfile input
* Update links and toc
* Build doxysphinx for both doxygen files
* Update scripts
* Generate roctx doxygen files
* Change doxygen path
to allow for 2 doxyfiles
* Make doxygen dir for script
* Call make _doxygen dir with p flag
* Create _doxygen dir in workfllow
* Create doc dirs for doxygen
* Run update docs as sudo
* Fix typo in mkdir command
* Include graphviz for dot
* Install dot for docs CI
* Install dot as sudo due to permission denied
* Install doxygen via sudo
* Install doxysphinx
* Add postcheckout step to RTD to config and gen doxygen docs
* On RTD, update doxygen after creating env
* update docs.yml
* update docs.yml
* fixing build-docs-from-source
* Fixing build docs from source
* update docs.yml
* trying to fix readthedocs
* trying to fix readthedocs
* update docs.yml
* improve mainpage documentation
* update docs
* clang-format fix
---------
Co-authored-by: Sam Wu <22262939+samjwu@users.noreply.github.com>
Co-authored-by: Madsen, Jonathan <Jonathan.Madsen@amd.com>
[ROCm/rocprofiler-sdk commit: 73e7f8cfb1]
23 Zeilen
863 B
CMake
23 Zeilen
863 B
CMake
if(NOT DEFINED SOURCE_DIR)
|
|
message(FATAL_ERROR "Please define SOURCE_DIR")
|
|
endif()
|
|
|
|
get_filename_component(SOURCE_DIR "${SOURCE_DIR}" ABSOLUTE)
|
|
|
|
find_program(DOT_EXECUTABLE NAMES dot)
|
|
|
|
if(NOT DOT_EXECUTABLE)
|
|
message(FATAL_ERROR "Please install dot and/or specify DOT_EXECUTABLE")
|
|
endif()
|
|
|
|
file(READ "${SOURCE_DIR}/VERSION" FULL_VERSION_STRING LIMIT_COUNT 1)
|
|
string(REGEX REPLACE "(\n|\r)" "" FULL_VERSION_STRING "${FULL_VERSION_STRING}")
|
|
string(REGEX REPLACE "([0-9]+)\\.([0-9]+)\\.([0-9]+)(.*)" "\\1.\\2.\\3"
|
|
ROCPROFILER_VERSION "${FULL_VERSION_STRING}")
|
|
|
|
configure_file(${SOURCE_DIR}/source/docs/rocprofiler-sdk.dox.in
|
|
${SOURCE_DIR}/source/docs/rocprofiler-sdk.dox @ONLY)
|
|
|
|
configure_file(${SOURCE_DIR}/source/docs/rocprofiler-sdk-roctx.dox.in
|
|
${SOURCE_DIR}/source/docs/rocprofiler-sdk-roctx.dox @ONLY)
|