fix zh-cn Doxygen generation for Travis CI
This commit is contained in:
parent
9b63f39cd5
commit
b688580cb3
@ -8,11 +8,13 @@ ELSE()
|
|||||||
list(APPEND MARKDOWN_DOC ${CMAKE_SOURCE_DIR}/readme.md)
|
list(APPEND MARKDOWN_DOC ${CMAKE_SOURCE_DIR}/readme.md)
|
||||||
|
|
||||||
CONFIGURE_FILE(Doxyfile.in Doxyfile @ONLY)
|
CONFIGURE_FILE(Doxyfile.in Doxyfile @ONLY)
|
||||||
|
CONFIGURE_FILE(Doxyfile.zh-cn.in Doxyfile.zh-cn @ONLY)
|
||||||
|
|
||||||
add_custom_command(OUTPUT html
|
add_custom_command(OUTPUT html
|
||||||
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
||||||
|
COMMAND ${DOXYGEN_EXECUTABLE} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile.zh-cn
|
||||||
COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/html
|
COMMAND ${CMAKE_COMMAND} -E touch ${CMAKE_CURRENT_BINARY_DIR}/html
|
||||||
DEPENDS ${MARKDOWN_DOC} ${SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile
|
DEPENDS ${MARKDOWN_DOC} ${SOURCES} ${CMAKE_CURRENT_BINARY_DIR}/Doxyfile*
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -58,7 +58,7 @@ PROJECT_LOGO =
|
|||||||
# entered, it will be relative to the location where doxygen was started. If
|
# entered, it will be relative to the location where doxygen was started. If
|
||||||
# left blank the current directory will be used.
|
# left blank the current directory will be used.
|
||||||
|
|
||||||
OUTPUT_DIRECTORY = ./doc
|
OUTPUT_DIRECTORY = @CMAKE_CURRENT_BINARY_DIR@
|
||||||
|
|
||||||
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
|
# If the CREATE_SUBDIRS tag is set to YES, then doxygen will create 4096 sub-
|
||||||
# directories (in 2 levels) under the output directory of each output format and
|
# directories (in 2 levels) under the output directory of each output format and
|
||||||
|
@ -1,10 +1,12 @@
|
|||||||

|

|
||||||
## A fast JSON parser/generator for C++ with both SAX/DOM style API
|
## A fast JSON parser/generator for C++ with both SAX/DOM style API
|
||||||
|
|
||||||
Copyright (c) 2011-2014 Milo Yip (miloyip@gmail.com)
|
Copyright (c) 2011-2015 Milo Yip (miloyip@gmail.com)
|
||||||
|
|
||||||
* [RapidJSON GitHub](https://github.com/miloyip/rapidjson/)
|
* [RapidJSON GitHub](https://github.com/miloyip/rapidjson/)
|
||||||
* [RapidJSON Documentation](http://miloyip.github.io/rapidjson/)
|
* [RapidJSON Documentation](http://miloyip.github.io/rapidjson/)
|
||||||
|
* [English](http://miloyip.github.io/rapidjson/)
|
||||||
|
* [Chinese](http://miloyip.github.io/rapidjson/zh-cn/)
|
||||||
|
|
||||||
## Build status
|
## Build status
|
||||||
|
|
||||||
|
@ -1,10 +1,11 @@
|
|||||||

|

|
||||||
|
|
||||||
Copyright (c) 2011-2014 Milo Yip (miloyip@gmail.com)
|
Copyright (c) 2011-2015 Milo Yip (miloyip@gmail.com)
|
||||||
|
|
||||||
[RapidJSON GitHub](https://github.com/miloyip/rapidjson/)
|
* [RapidJSON GitHub](https://github.com/miloyip/rapidjson/)
|
||||||
|
* [RapidJSON 文档](http://miloyip.github.io/rapidjson/zh-cn/)
|
||||||
[RapidJSON 文档](http://miloyip.github.io/rapidjson/)
|
* [中国](http://miloyip.github.io/rapidjson/zh-cn/)
|
||||||
|
* [English](http://miloyip.github.io/rapidjson/)
|
||||||
|
|
||||||
## 简介
|
## 简介
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user