readme.txt 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. ===========================================================================
  2. Copyright (c) 2007-2011 Barend Gehrels, Amsterdam, the Netherlands.
  3. Copyright (c) 2008-2011 Bruno Lalande, Paris, France.
  4. Copyright (c) 2009-2011 Mateusz Loskot, London, UK
  5. Use, modification and distribution is subject to the Boost Software License,
  6. Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  7. http://www.boost.org/LICENSE_1_0.txt)
  8. ============================================================================
  9. Procedure to create documentation using Doxygen, QuickBook and doxygen_xml2qbk
  10. Note that doxygen_xml2qbk is a tool currently (slightly) specific to Boost.Geometry,
  11. and that it translates from Doxygen-XML output to Quickbook (without xslt)
  12. 1) install Doxygen
  13. 2) install QuickBook using http://www.boost.org/doc/libs/release/doc/html/quickbook/install.html
  14. 3) run b2 in src/docutils/tools/doxygen_xml2qbk to build doxygen_xml2qbk executable
  15. 4) put binary in your PATH, e.g. in /usr/local/bin/doxygen_xml2qbk
  16. 5) execute python file "make_qbk.py" (calling doxygen, doxygen_xml2qbk, bjam)
  17. Folders in this folder:
  18. concept: manually written documentation QBK files, on concept
  19. doxy: folders and files needed for doxygen input and output
  20. html: contains generated HTML files
  21. other: older documentation (subject to update or deletion)
  22. ref: manually written documentation QBK files, included from .hpp files
  23. reference: generated documentation QBK files (by doxygen_xml2qbk)
  24. [note: this book cannot be called "generated" or something like that,
  25. because it is used in the final URL and we want to have "reference" in it]
  26. src: examples used in documentation and tools (doxygen_xml2qbk)
  27. Per new algorithm (e.g. foo), one should add:
  28. 1) in file boost/geometry/algorithms/foo.hpp, include a "\ingroup foo" in the doxygen comments
  29. 2) in file doc/doxy/doxygen_input/groups/groups.hpp, define the group "foo"
  30. 3) in file doc/make_qbk.py, include the algorithm "foo"
  31. 4) in file doc/reference.qbk, include the foo.qbk ([include generated/foo.qbk])
  32. 5) in file doc/quickref.xml, include a section on foo conform other sections
  33. 6) in file doc/src/docutils/tools/support_status/support_status.cpp include the algorithm (3 places) (optionally)
  34. 7) in file doc/reference/foo.qbk (to be created), include the support status and write other text, and include examples (optionally)
  35. 8) in file doc/imports.qbk, include the example foo.cpp (if any)
  36. 9) create file doc/src/examples/algorithm/foo.cpp (optional)