Commit graph

10 commits

Author SHA1 Message Date
Marti Bolivar 50ee2097b3 Doxygen hacks and fixups.
- Shut Doxygen up in various places
- Fix some genuine docs bugs
- Ignore sources we're not responsible for

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-06-28 17:29:43 -04:00
Marti Bolivar 3fa7a509c4 Doxyfile: Add to PREDEFINED to cover libmaple_types.h.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-05-31 17:24:17 -04:00
Marti Bolivar 123f0549e0 Doxygen: add the Evil Mangler.
Whenever Doxygen is running on a series header, make it run an awk
script, the Evil Mangler, that pretends the file is enclosed in an
appropriate namespace declaration for the series target.

Doxygen chokes if two structs have the same name. This is a problem
for the series headers, which commonly have data structures with the
same name.  However, if those structs are in different namespaces,
Doxygen has no problems.  We obviously can't use namespaces in C
headers, so use FILTER_PATTERNS to trick Doxygen into thinking they're
there.

Ugly, but I can't think of a better way to handle this.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-05-10 15:48:48 -04:00
Marti Bolivar aa9db0f9cf Doxyfile: Disable TYPEDEF_HIDES_STRUCT to work around Breathe issues.
This works around a problem we're having getting the XML for the
series headers into a form that we can work with in leaflabs-docs.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-05-10 13:20:03 -04:00
Marti Bolivar 2544e8f212 Change __DOXYGEN_PREDEFINED_HACK to __DOXYGEN__.
avr-gcc does it this way. Seems ok to me.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-05-09 15:09:52 -04:00
Marti Bolivar 6d07ac5ec3 Shut up, doxygen.
Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-05-09 15:00:45 -04:00
Marti Bolivar 86ad3d57f2 Doxyfile: Allow group documentation.
This change allows us to document several members of a group with one
Doxygen comment. It's not clear how well this will work out in practice.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-05-03 14:09:05 -04:00
Marti Bolivar cc6d21ac9f Doxyfile: add __DOXYGEN_PREDEFINED_HACK to PREDEFINED.
Doxygen refuses to trust us when we \def something that it doesn't
notice as a #define.  To work around this, we put
__DOXYGEN_PREDEFINED_HACK into our Doxyfile's PREDEFINED, so that
documentation may be inserted for #defines which we know will exist.
2011-08-22 23:29:59 -04:00
Marti Bolivar f4fb5c166e Fix Doxyfile. 2011-08-03 20:14:09 -04:00
Marti Bolivar f36a1d9849 Remove reST documentation, attendant updates.
The documentation covers topics not specifically relevant to libmaple,
so it doesn't make sense for it to be part of the libmaple source
distribution.

Delete the docs/ tree, and prepare libmaple for use with the new
leaflabs-docs repo, which will contain the docs from now on.

* README: update to reflect this change

* support/doxygen/Doxyfile: This is the old docs/Doxyfile

* Makefile: Add a doxygen target

* wirish/comm/HardwareSerial.h: fix reference to docs/.  The comment
  informing maintainers that the HardwareSerial interface is
  documented by hand refers to the docs/ tree, which no longer exists.
  Update it to refer to the separate leaflabs-docs repository.

* support/scripts/copy-to-ide: No longer build the documentation
2011-06-11 20:05:33 -04:00