diff --git a/build/Doxyfile.zh-cn b/doc/Doxyfile.zh-cn.in similarity index 99% rename from build/Doxyfile.zh-cn rename to doc/Doxyfile.zh-cn.in index 64b6893..26cd103 100644 --- a/build/Doxyfile.zh-cn +++ b/doc/Doxyfile.zh-cn.in @@ -764,9 +764,9 @@ WARN_LOGFILE = # spaces. # Note: If this tag is empty the current directory is searched. -INPUT = ./include/rapidjson/rapidjson.h \ +INPUT = ./readme.zh-cn.md \ + ./include/rapidjson/rapidjson.h \ ./include/ \ - ./readme.zh-cn.md \ ./doc/features.zh-cn.md \ ./doc/tutorial.zh-cn.md \ ./doc/stream.zh-cn.md \ @@ -920,7 +920,7 @@ FILTER_SOURCE_PATTERNS = # (index.html). This can be useful if you have a project on for instance GitHub # and want to reuse the introduction page also for the doxygen output. -USE_MDFILE_AS_MAINPAGE = ./readme.zh-cn.md +USE_MDFILE_AS_MAINPAGE = readme.zh-cn.md #--------------------------------------------------------------------------- # Configuration options related to source browsing diff --git a/travis-doxygen.sh b/travis-doxygen.sh index 0e715a7..ad80536 100755 --- a/travis-doxygen.sh +++ b/travis-doxygen.sh @@ -57,6 +57,7 @@ doxygen_run() { cd "${TRAVIS_BUILD_DIR}"; doxygen ${TRAVIS_BUILD_DIR}/build/doc/Doxyfile; + doxygen ${TRAVIS_BUILD_DIR}/build/doc/Doxyfile.zh-cn; } gh_pages_prepare()