Commit Graph
35 Commits
Author SHA1 Message Date
Olaf Bergmann 877e8d01d7 Updated Doxyfile.in to version 1.9.1 2021-03-17 18:57:40 +01:00
Jon Shallow 12fd8a25f7 Update general copyrights to 2021
Update main copyright statements to 2021.
2021-01-04 10:37:05 +00:00
Olaf Bergmann c7c416b8a0 Doxyfile.in: updated to version 1.8.20
The Doxyfile template has been updated to version 1.8.20 to get of
warnings due to deprecated features that were still referenced.
2020-10-14 14:41:40 +02:00
Jon Shallow 15f9cf568a coap_openssl.c: OpenSSL < 1.1.1 fails to build with --disable-tcp
Missing COAP_DISABLE_TCP wrapper in OpenSSL 1.1.0 - 1.1.1 specific code

doc/main.md:

Update Copyright year.

include/coap2/coap_tcp_internal.h:

Update documentation for the internal TCP functions

src/coap_session.c
src/coap_tinydtls.c

Delete trailing space
2020-02-04 10:30:16 +00:00
Olaf Bergmann d52c26642e doc/main.md: Small fixes in documentation main page
* Updated copyright year.
* Use EN_US for consistency.
2019-11-05 14:07:00 +01:00
Jon Shallow 3574d0c8b0 Order the doxygen Modules and Manual Pages listings alphabetically
doc/Doxyfile.in:

SORT_GOUPNAME = YES to sort Modules

doc/Makefile.am:

Sort the MAN_FILES list.  coap(7) first and examples last.
2019-08-09 17:40:28 +02:00
Carsten Schoenert 637a09cfbd spelling: fix bandwith -> bandwidth 2018-11-24 13:58:44 +01:00
Olaf Bergmann 97919c5c64 doc/Makefile.am: add main.md to EXTRA_DIST 2018-10-25 11:05:33 +02:00
Jon Shallow ca17e3ab55 Update to patches to make doc/ builds work out of tree
configure.ac:
remove reference to doc/build_man_files.sh as it is no longer used

doc/Makefile.am:
Correct BASE definition to be that of the filename without any suffix so
Doxygen can properly @ref the file
Remove usage of 'cat'
Tidy up debug comments and indentation
Make sure cp overwrites destination files if they exist
Support building doc/ if asciidoc (a2x) is not available (the nam pages will
not get generated and included though.
2018-10-18 14:09:59 +02:00
Carsten Schoenert eeab614fd1 doc/Makefile.am: put script functionality into Makefile
Remove the dependency on the script build_man_files.sh and place all the
magic into dedicated Makefile targets.
2018-10-18 13:43:49 +02:00
Carsten Schoenert 9de598ac4f doc/Doxyfile.in: adjust paths to top_builddir
If we work out of tree some files are build in top_builddir and not in
top_souredir.
Also fix up the used libcoap API versin by using a global variable here.
2018-10-18 13:43:48 +02:00
Jon Shallow f8bdac31db Update doc build to support out of path builds
Use a new template doc/build_man_files.sh.in to include @top_srcdir@/doc
@top_srcdir@/man as appropropriate.

Update doc/Doxyfile.in in a similar way (and coap/ to coap2/)

Makefile.am autogen.sh configure.ac taught about doc/build_man_files.sh.in

Update doc/Makefile.am to include $(top_srcdir) and $(top_builddir)
2018-10-18 13:41:58 +02:00
Olaf Bergmann 92dd8281ad Doxyfile.in: read API from include/coap@LIBCOAP_API_VERSION@ 2018-10-04 13:09:54 +02:00
Jon Shallow 8238f628b9 Include man pages into Doxygen. Add landing page for Doxygen
Added in a new landing page for Main Page
 doc/main.md (new)

Enabled Tree View of whats available
Disable Related Pages TAB as it fills up with the man pages
 - updated doc/Doxyfile.in

Get a2x to also generate html man pages which are then included.  These
html files are updated to correct the lowercasing of NAME and SYNOPSIS.
The SEE ALSO references to other man pages are made hyper links.
 - done by doc/build_man_files.sh (new)

Created a new TAB Manual Pages
Created a new TAB Depricated Items
 - done by modifing DoxygenLayout.xml file using doc/build_man_files.sh

Updated .gitignore to ignore additional files and autogen.sh to clean them up

man/coap*txt.in updated to display as expected in Doxygen.

This only updates documentation

.gitignore
Makefile.am
autogen.sh
doc/Doxyfile.in
doc/Makefile.am
doc/build_man_files.sh (New)
doc/main.md            (New)
include/coap/debug.h
include/coap/encode.h
include/coap/option.h
include/coap/pdu.h
include/coap/prng.h
man/Makefile.am
man/coap.txt.in
man/coap_attribute.txt.in
man/coap_context.txt.in
man/coap_encryption.txt.in
man/coap_handler.txt.in
man/coap_logging.txt.in
man/coap_observe.txt.in
man/coap_pdu_setup.txt.in
man/coap_recovery.txt.in
man/coap_resource.txt.in
man/coap_session.txt.in
man/coap_tls_library.txt.in
2018-09-24 16:46:42 +01:00
Olaf Bergmann 5cc5273867 Doxyfile.in: decrease verbosity of doxygen output
To avoid cluttering the build output with lots of doxygen messages
the QUIET parameter now has been set to YES.
2017-11-03 13:36:24 +01:00
Carsten Schoenert 18f2309759 make: enable out of tree build
The build environment was lacking the possibility to get libcoap
buildable out of tree, simply checkable by the running 'make distcheck'.
Without this fix the users are impossible to build libcoap in a own
folder that's independed from the source containing folder. Typical use
case would be:

  $ mkdir libcoap-build && cd libcoap-build
  $ /path/to/libcoap-source/configure \
      --srcdir=/path/to/libcoap-source \
      --prefix=/somethere/to-install

This commit enables the out of tree build by adding and changing some
needed variables.
2016-10-26 10:46:50 +02:00
Carsten Schoenert c909bf8020 doc/Makefile.am: remove *.md5 files after installation
Doxygen creates various hashfiles (*.md5) to check which files needs to
be re created if the input files has been changed. The user don't need
those hashfiles so let's remove these from final install target.
2016-04-26 08:29:42 +02:00
Carsten Schoenert 5f6ae26e2c doc/Doxygen.in: Do not use FreeSans as dot fontname
The FreeSans font isn't shipped by doxygen anymore so we can not asumme
that the font is available on the system of the user.
Just let doxygen pick up a usable font by itself.
2015-06-02 20:41:37 +02:00
Carsten Schoenert a78bd8c876 doc/Makefile.am: respect DESTDIR variable
The old behavior didn't allow a additonal setting of the DESTDIR
variable. This is a serious problem while building within a chroot for
example. Also the implementation of the stamp file was triggering
multiple builds in some cirumstances. This handling is reverted with the
remove of the old stamp file handling.
2015-06-02 20:41:37 +02:00
Carsten Schoenert 531c5da5da Doxyfile.in: adding some excludes for lwip related files
Due changes to the *.c and *.h files (added for the lwip support) we have
to exclude files that are not related to the library.
2015-04-14 15:53:27 +02:00
Carsten Schoenert 3b87d7dc8f doxygen: include extra information about extra CFLAGS 2015-04-10 21:09:27 +02:00
Carsten Schoenert 6d4e85d813 doxygen: switch to svg graphics
With this change doxygen will create SVG graphics (instead of png) which
are zoomable due these are vector graphics.

Suggested-by: Bill Bennet <william.bennett@netcommwireless.com>
2015-04-10 21:08:41 +02:00
Carsten Schoenert 236135f7e7 doxygen: change the behaviour for caller graphics
This commit is based on a suggestion from Bill Bennet.
With this change doxygen is also creating a call and caller dependency
graphic for global functions. This is helpful for understanding the mode
of action inside the libcoap.

Suggested-by: Bill Bennet <william.bennett@netcommwireless.com>
2015-04-10 21:08:33 +02:00
Carsten Schoenert b1ed21e458 doc/Makefile.am: fix up broken 'make dist'
The make target for creating the distribution tarball (make dist) was
broken some commits ago within the changes in the doc/ subdirectory. The
reason for this is that simple Doxygen has to be runs ones before the
automatism can pick up the files. automake uses dist_pkgdist_DATA as
trigger. So we have to use that variable.

Changing up the makefile template so the call for 'dist_pkgdist_DATA'
*and* 'all-local' is calling 'doxfile.stamp' so fist Doxygen is running.

By doing this also clean up a little bit and prepare the build for be
able to run out of the tree.
2015-03-22 14:35:13 +01:00
Carsten Schoenert 700753e1d2 configure.ac: adding check for dot binary
Doxygen supports the creation of DOT graphics, but this depends on the
existence of the 'dot' binary on the build host. Adding a check for dot
and disable the support within the Doxygen file for DOT graphics if dot
can't be found.
2015-03-03 19:21:43 +01:00
Carsten Schoenert e68e506f45 doc/Doxyfile.in: update to recent version compatibility
Update to doxygen 1.8.x, also enable creation of DOT graphics.
2015-03-03 19:21:43 +01:00
Carsten Schoenert 80d74208ce adding the doc/ folder to the build environment
To install the doxygen output, which is generated within doc/html/,
adding the needed checks for the doxygen binary to configure.ac and also
adding the needed doc/Makefile.am file.

Finally tuning doc/Doxyfile.in to let the autotools write the needed
informations into this file while generating the finally created
doc/Doxyfile.
2015-03-03 19:21:43 +01:00
Olaf Bergmann 1c6bb84ada turned on JAVADOC_AUTOBRIEF 2011-06-02 02:41:48 +02:00
Olaf Bergmann 3dabbf8dc7 fixed doxygen configuration to show more output 2011-05-24 21:55:04 +02:00
Olaf Bergmann 34336bf2d7 fixed typo in target clean 2010-10-19 17:13:55 +02:00
Olaf Bergmann c24f0d2436 fixed target dist 2010-10-18 17:20:05 +02:00
Olaf Bergmann 94cc2c4f42 added license information and general project information 2010-10-18 14:53:04 +02:00
Olaf Bergmann f59c185317 added configure.in and Doxyfile template 2010-10-18 14:15:12 +02:00
Olaf Bergmann 1a403845ca Made libcoap configurable
* moved Makefiles to Makefile.in
* test for tools, headers, libs and compiler features
* generate config.h which is included by coap.h
2010-10-18 12:09:51 +02:00
Olaf Bergmann 820fca42dd target for building documentation does not work yet 2010-07-23 18:19:08 +02:00