mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Remove generation of PDF API documentation
The gain going from a single header file to a single PDF isn't worth the complexity of the system required to make that conversion, especially when it comes to CI systems.
This commit is contained in:
@@ -516,14 +516,3 @@ add_custom_command(TARGET api-tests POST_BUILD
|
||||
COMMAND ${CMAKE_COMMAND} -E copy_directory
|
||||
${SOURCE_DIR}
|
||||
$<TARGET_FILE_DIR:api-tests>)
|
||||
|
||||
find_package(Doxygen)
|
||||
find_package(LATEX)
|
||||
|
||||
IF (DOXYGEN_FOUND AND LATEX_FOUND)
|
||||
# Run Doxygen and LaTeX to generate readme
|
||||
add_custom_command(TARGET loot_api POST_BUILD
|
||||
COMMAND ${DOXYGEN_EXECUTABLE} Doxyfile
|
||||
COMMAND "${CMAKE_SOURCE_DIR}/docs/latex/make.bat"
|
||||
WORKING_DIRECTORY "${CMAKE_SOURCE_DIR}/docs")
|
||||
ENDIF ()
|
||||
|
||||
-2403
File diff suppressed because it is too large
Load Diff
@@ -158,10 +158,6 @@ function createApiArchive(rootPath, binaryPath, tempPath, destPath) {
|
||||
|
||||
// Docs.
|
||||
fs.mkdirsSync(path.join(tempPath, 'docs'));
|
||||
fs.copySync(
|
||||
path.join(rootPath, 'docs', 'latex', 'refman.pdf'),
|
||||
path.join(tempPath, 'docs', 'readme.pdf')
|
||||
);
|
||||
fs.copySync(
|
||||
path.join(rootPath, 'docs', 'licenses'),
|
||||
path.join(tempPath, 'docs', 'licenses')
|
||||
|
||||
Reference in New Issue
Block a user