Commit graph

9 commits

Author SHA1 Message Date
albert-github
bc1af18088 Making example configurations consistent
Makeing the example configuration files more consistent and easier maintainable by introducing a base configuration file with the common settings
2022-08-13 18:57:10 +02:00
albert-github
41d6c6e265 Setting HTML_COLORSTYLE for examples
The HTML_COLORSTYLE is set to the same style (i.e. LIGHT)  as the documentation.
For the chm output it is essential that this is LIGHT or DARK
2022-08-13 10:40:35 +02:00
albert-github
8d45cd1895 Doxygen's own documentation doesn't build with recent LaTeX version
Due to a recent change in the new distribution of LaTeX in the handling of the "input" commands we get the error like:
```
Appendix D.
(../html/examples/group/latex/refman_doc.tex (../html/examples/group/latex//gro
up__group1.tex) [243]
! I can't write on file `../html/examples/group/latex//group__group2.aux'.
\@include ...mmediate \openout \@partaux "#1.aux"
                                                  \immediate \write \@partau...
l.3 \include{group__group2}

Please type another output file name
! Emergency stop.
\@include ...mmediate \openout \@partaux "#1.aux"
                                                  \immediate \write \@partau...
l.3 \include{group__group2}

*** (job aborted, file error in nonstop mode)
```

The problem is that now an intermediate file is written to `../html/examples/group/latex//group__group2.aux` that was written in the older distributions as `./group__group2.aux`, so in the current directory.
Writing to sub directories of the current directory is possible but it is not allowed (unless special, dangerous, options are used) to write to directories outside tgese directories.
(see also: https://tex.stackexchange.com/questions/575120/problem-writing-aux-file)

This fix writes the examples in subdirectories in the latex directory and not under the, parallel, html directory. This means also that there is a cleaner and clearer distinction between the html and latex output.
2020-12-19 13:03:47 +01:00
albert-github
32a358aa71 Present all warnings of first documentation sub-task when it fails
This is a follow-up on pull request #8199 (Have build of doxygen documentation fail on warnings.) and #8197 (issue #8023 Add option to exit with non-zero exit code on warnings even if WARN_AS_ERROR is OFF).
These were 2 independent situation, but as with #8197 incor[porated into doxygen it is no possible to extend #8199 to fail but at present all warnings of the first (sub-)task that fails.
2020-12-04 11:04:15 +01:00
albert-github
8160d8479b Have build of doxygen documentation fail on warnings.
Currently when running doxygen to create its documentation no error is given when a warning is generated, so the warning might go unnoticed.
By setting `WARN_AS_ERROR = YES` the generation will stop and when build on CI systems a build also fails
2020-11-24 11:05:55 +01:00
albert-github
5e11f885ee Add examples to LaTeX / PDF doxygen manual
Add the examples a shown in the HTML / CHM documentation also to the LaTeX / PDF documentation.

- doc/*.doc
  added latexonly part referencing the example in the appendix

- doc/Doxyfile
  silence the generation of the manual

- doc/doxygen_manual.tex
  add the examples as appendices to the manual, by means of the subinputfrom command the parts included by refman_doc are taken from the specified directory

- examples/*.cfg
  adjusted configuration files ("Doxyfile") to generate LaTeX output

- examples/*.h and examples/*.cpp
  make names unique so no conflicts occur when adding all the examples

- examples/CMakeLists.txt
  add generation of the file to be included (see strip_example.py), adjust dependencies and add the refman_doc.tex as output target

- examples/input_test.cpp
  file added (adjusted copy of example_test.cpp) to overcome name clashes (example_test.cpp would have been included twice)

- examples/strip_example.py
  we are only interested in the documentation files as included in the different examples, so we get those commands. The preamble will be handled by the doxygen_manual.tex and we have already an index in the doxygen_manual.tex so we don't need a separate one from each example.

The module / diagram documentation is dependent on the presence of 'dot', this is reflected in the docblocks.doc, CMakeLists.txt and doxygen_manual.tex
2015-09-05 18:42:15 +02:00
Dimitri van Heesch
e775357ae7 Added cmake rules to build the examples that are also part of the manual 2015-06-13 13:18:49 +02:00
Dimitri van Heesch
c37c862667 Release-1.7.1 2010-06-25 11:31:51 +00:00
Dimitri van Heesch
bedb860230 Release-1.4.4-20050806 2005-08-06 11:48:27 +00:00