Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ bazel-*
cmake-build-*/
_*/
.idea/
doc/html/
15 changes: 15 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ addons:
- bazel
- cmake3
- curl
- doxygen
- g++-4.8
- gcc-4.8
- git
Expand Down Expand Up @@ -72,6 +73,20 @@ script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then pip install --user cpp-coveralls && coveralls --root .. --build-root . -E ".*/3rdparty/.*" -E ".*/_.*" -E ".*/tests/.*" -E ".*/benchmarks/.*"; fi
- popd

- pushd .
- cd doc
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; doxygen && touch html/.nojekyll; fi
- popd

deploy:
provider: pages
local-dir: doc/html
skip-cleanup: true
github-token: $GITHUB_TOKEN
on:
branch: master
condition: "$TRAVIS_OS_NAME" == "linux"

# addons:
# coverity_scan:
# project:
Expand Down
12 changes: 12 additions & 0 deletions doc/Doxyfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
PROJECT_NAME = "Prometheus Client Library for Modern C++"

EXCLUDE_PATTERNS = */detail/*
EXCLUDE_SYMBOLS = prometheus::detail::*
FILE_PATTERNS = *.h *.cc
GENERATE_LATEX = NO
GRAPHICAL_HIERARCHY = NO
INPUT = ../core/include ../core/src ../pull/include ../pull/src ../push/include ../push/src
RECURSIVE = YES
SHOW_FILES = NO
SHOW_INCLUDE_FILES = NO
SHOW_USED_FILES = NO