Skip to content

Commit

Permalink
Fix formatting of docs/CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Dec 16, 2024
1 parent ea0ce37 commit 3006581
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ if( DOXYGEN_FOUND )
)
FetchContent_MakeAvailable( doxygen-extra doxygen-awesome doxygen-cppreference )

file(READ ${CMAKE_SOURCE_DIR}/README.md HOME_MD)
string(REGEX REPLACE "<h1 align=\"center\">([^<]+)<\\/h1>" "# \\1" HOME_MD "${HOME_MD}")
string(REGEX REPLACE "\n<!-- navbar -->(.+)<!-- navbar -->\n" "" HOME_MD "${HOME_MD}")
file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/Home.md "${HOME_MD}")
file( READ ${CMAKE_SOURCE_DIR}/README.md HOME_MD )
string( REGEX REPLACE "<h1 align=\"center\">([^<]+)<\\/h1>" "# \\1" HOME_MD "${HOME_MD}" )
string( REGEX REPLACE "\n<!-- navbar -->(.+)<!-- navbar -->\n" "" HOME_MD "${HOME_MD}" )
file( WRITE ${CMAKE_CURRENT_BINARY_DIR}/Home.md "${HOME_MD}" )

# set input and output files
set( DOXYGEN_IN ${CMAKE_CURRENT_SOURCE_DIR}/Doxyfile.in )
Expand Down

0 comments on commit 3006581

Please sign in to comment.