mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-26 19:30:08 +08:00
04b7c941e9
2002-03-27 Phil Edwards <pme@gcc.gnu.org> * docs/doxygen/Intro.3: Date tweak. * docs/doxygen/TODO: Update. * docs/doxygen/doxygroups.cc: Point to tables.html. * docs/doxygen/mainpage.html: Date tweak. * docs/doxygen/run_doxygen: Version tweak. Copy tables.html over. * docs/doxygen/tables.html: Fill in the blanks. * docs/doxygen/user.cfg.in (ALIASES): Remove maint and endmaint. * include/bits/stl_algo.h: Likewise; use expanded form. * include/bits/stl_alloc.h: Likewise. * include/bits/stl_construct.h: Likewise. * include/bits/stl_deque.h: Likewise. * include/bits/stl_iterator_base_types.h: Likewise. * include/bits/stl_list.h: Likewise. * include/bits/stl_relops.h: Likewise. * include/bits/stl_tempbuf.h: Likewise. * include/bits/stl_vector.h: Likewise. * include/std/std_memory.h: Likewise. * include/bits/stl_deque.h: Point into tables.html and add @ingroup. * include/bits/stl_list.h: Likewise. * include/bits/stl_vector.h: Likewise. From-SVN: r51471
66 lines
2.7 KiB
Plaintext
66 lines
2.7 KiB
Plaintext
|
|
The approach I've been using for a given header is to recursively do each
|
|
of the "bits" headers which make up the standard header. So, e.g., while
|
|
there are four headers making up <algorithm>, three of them were already
|
|
documented in the course of doing other headers.
|
|
|
|
"Untouched" means I've deliberately skipped it for various reasons, or
|
|
haven't gotten to it yet. It /will/ be done (by somebody, eventually.)
|
|
|
|
If you document an area and need to skip (for whatever reason) a non-trivial
|
|
entity (i.e., one that should be documented), go ahead and add the comment
|
|
markup, and use the homegrown @doctodo tag. See include/bits/stl_iterator.h
|
|
for examples of this. Doing so will at least cause doxygen to consider the
|
|
entitiy as documented and include it in the output. It will also add the
|
|
entity to the generated TODO page.
|
|
|
|
|
|
Area Still needs to be doxygen-documented
|
|
-----------------------------------------------------------
|
|
|
|
c17 FINISHED (Nothing in Clause 17 "exists" in terms of code.)
|
|
c18 <limits>, Note A
|
|
c19 Note A
|
|
c20 Note A
|
|
c21 Untouched, Note B
|
|
c22 Untouched
|
|
c23 See doxygroups.cc and Note B.
|
|
c24 stl_iterator.h (__normal_iterator, other small TODO bits)
|
|
stream iterators
|
|
c25 stl_algo.h (lots of stuff)
|
|
c26 <complex>, <valarray>, stl_numeric.h[26.4], Note A
|
|
c27 Untouched
|
|
|
|
backward/* Not scanned by doxygen. Should it be? Doubtful.
|
|
|
|
ext/* Some of the SGI algorithm/functional extensions.
|
|
All of rope/hashing/slist need docs.
|
|
|
|
__gnu_cxx Tricky. Right now ext/* are in this namespace.
|
|
|
|
-----------------------------------------------------------
|
|
|
|
NOTES:
|
|
|
|
A) So far I have not tried to document any of the <c*> headers. So entities
|
|
such as atexit() are undocumented throughout the library. Since we usually
|
|
do not have the C code (to which the doxygen comments would be attached),
|
|
this would need to be done in entirely separate files, a la doxygroups.cc.
|
|
|
|
B) Huge chunks of containers and strings are described in common "Tables"
|
|
in the standard. These are pseudo-duplicated in tables.html. We can
|
|
use doxygen hooks like @pre and @see to reference the tables. Then the
|
|
individual classes do like the standard does, and only document members for
|
|
which additional info is available.
|
|
|
|
|
|
STYLE:
|
|
stl_deque.h, stl_pair.h, and stl_algobase.h have good examples of what I've
|
|
been using for class, namespace-scope, and function documentation, respectively.
|
|
These should serve as starting points. /Please/ maintain the inter-word and
|
|
inter-sentence spacing, as this might be generated and/or scanned in the
|
|
future.
|
|
|
|
|
|
vim:ts=4:et:
|