summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
authorMasamichi Hosoda <trueroad@trueroad.jp>2019-02-10 21:22:50 +0900
committerAlbert Astals Cid <tsdgeos@yahoo.es>2019-02-10 16:32:26 +0000
commit9802b5fc05817a9a4db6a65b22411068767fb681 (patch)
treeeb584183d94ab68c889d86b0ad5637edd9a5c015 /cpp
parente5fee74cbb924bb6758fa7697c66571e50ec2f7d (diff)
cpp: docs: Fix doc generating from poppler-version.h.in
Doxygen generated document did not contain `poppler::version_string()`, `poppler::version_major()`, `poppler::version_minor()`, and `poppler::version_micro()`. These descriptions are written in `poppler-version.h.in` in source files and doxygen could not parse `poppler-version.h.in` because its extension is not mapped to any languages. This commit adds `*.in` to C++ in extension mapping. As a result, doxygen parses `poppler-version.h.in` as C++ file. So generated document becomes to contain `poppler::version_string()` etc.
Diffstat (limited to 'cpp')
-rw-r--r--cpp/Doxyfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/Doxyfile b/cpp/Doxyfile
index 0b36e360..0c3244bd 100644
--- a/cpp/Doxyfile
+++ b/cpp/Doxyfile
@@ -217,7 +217,7 @@ OPTIMIZE_OUTPUT_VHDL = NO
# (default is Fortran), use: inc=Fortran f=C. Note that for custom extensions
# you also need to set FILE_PATTERNS otherwise the files are not read by doxygen.
-EXTENSION_MAPPING =
+EXTENSION_MAPPING = in=C++
# If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
# to include (a tag file for) the STL sources as input, then you should