diff --git a/.travis.yml b/.travis.yml index 45b15f1a6..722b8e4df 100644 --- a/.travis.yml +++ b/.travis.yml @@ -18,6 +18,7 @@ env: - GH_REPO_NAME: crow - DOXYFILE: $TRAVIS_BUILD_DIR/Doxyfile - GH_REPO_REF: github.com/mrozigor/crow.git + - THEME_REPO_REF: github.com/The-EDev/darxygen.git addons: apt: diff --git a/Doxyfile b/Doxyfile index 41559d5b7..cd9ecd90b 100644 --- a/Doxyfile +++ b/Doxyfile @@ -38,20 +38,20 @@ PROJECT_NAME = Crow # could be handy for archiving the generated documentation or if some version # control system is used. -PROJECT_NUMBER = +PROJECT_NUMBER = 0.1 # Using the PROJECT_BRIEF tag one can provide an optional one line description # for a project that appears at the top of each page and should give viewer a # quick idea about the purpose of the project. Keep the description short. -PROJECT_BRIEF = "C++ microframework for web" +PROJECT_BRIEF = "C++ microframework for the web" # With the PROJECT_LOGO tag one can specify a logo or an icon that is included # in the documentation. The maximum height of the logo should not exceed 55 # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy # the logo to the output directory. -PROJECT_LOGO = +PROJECT_LOGO = $(TRAVIS_BUILD_DIR)/logo55.png # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path # into which the generated documentation will be written. If a relative path is @@ -360,7 +360,7 @@ AUTOLINK_SUPPORT = YES # diagrams that involve STL classes more complete and accurate. # The default value is: NO. -BUILTIN_STL_SUPPORT = NO +BUILTIN_STL_SUPPORT = YES # If you use Microsoft's C++/CLI language, you should set this option to YES to # enable parsing support. @@ -880,7 +880,9 @@ RECURSIVE = YES # Note that relative paths are relative to the directory from which doxygen is # run. -EXCLUDE = ./include/rapidjson/msinttypes/ +EXCLUDE = ./include/rapidjson/msinttypes/ \ + include/crow/http_parser_merged.h \ + include/crow/TinySHA1.hpp # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or # directories that are symbolic links (a Unix file system feature) are excluded @@ -1145,7 +1147,7 @@ HTML_FILE_EXTENSION = .html # of the possible markers and block names see the documentation. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_HEADER = +HTML_HEADER = $(TRAVIS_BUILD_DIR)/darxygen/html_header.html # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each # generated HTML page. If the tag is left blank doxygen will generate a standard @@ -1155,7 +1157,7 @@ HTML_HEADER = # that doxygen normally uses. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_FOOTER = +HTML_FOOTER = $(TRAVIS_BUILD_DIR)/darxygen/html_footer.html # The HTML_STYLESHEET tag can be used to specify a user-defined cascading style # sheet that is used by each HTML page. It can be used to fine-tune the look of @@ -1180,7 +1182,8 @@ HTML_STYLESHEET = # list). For an example see the documentation. # This tag requires that the tag GENERATE_HTML is set to YES. -HTML_EXTRA_STYLESHEET = +HTML_EXTRA_STYLESHEET = $(TRAVIS_BUILD_DIR)/darxygen/custom.css \ + $(TRAVIS_BUILD_DIR)/darxygen/custom_dark_theme.css # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or # other source files which should be copied to the HTML output directory. Note diff --git a/generateDocumentationAndDeploy.sh b/generateDocumentationAndDeploy.sh index 015d19ff5..dd995e73b 100644 --- a/generateDocumentationAndDeploy.sh +++ b/generateDocumentationAndDeploy.sh @@ -45,6 +45,7 @@ cd code_docs # Get the current gh-pages branch git clone -b gh-pages https://git@$GH_REPO_REF +git clone https://$THEME_REPO_REF cd $GH_REPO_NAME ##### Configure git. diff --git a/logo55.png b/logo55.png new file mode 100644 index 000000000..73aa58410 Binary files /dev/null and b/logo55.png differ