Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r73426 - sandbox/tools/quick_auto_dox_index/libs/quick_auto_dox_index/doc
From: pbristow_at_[hidden]
Date: 2011-07-29 05:24:03


Author: pbristow
Date: 2011-07-29 05:24:02 EDT (Fri, 29 Jul 2011)
New Revision: 73426
URL: http://svn.boost.org/trac/boost/changeset/73426

Log:
Corrections to use [pre around examples so unexpected chars are not flagged.
Still get

Computing chunks...
Element xrefsect in namespace '' encountered in para, but no template matches.
Element xreftitle in namespace '' encountered in xrefsect, but no template matches.
Element xrefdescription in namespace '' encountered in xrefsect, but no template matches.

at the end?
Text files modified:
   sandbox/tools/quick_auto_dox_index/libs/quick_auto_dox_index/doc/quick_auto_dox_index.qbk | 60 ++++++++++++++++++++++++---------------
   1 files changed, 37 insertions(+), 23 deletions(-)

Modified: sandbox/tools/quick_auto_dox_index/libs/quick_auto_dox_index/doc/quick_auto_dox_index.qbk
==============================================================================
--- sandbox/tools/quick_auto_dox_index/libs/quick_auto_dox_index/doc/quick_auto_dox_index.qbk (original)
+++ sandbox/tools/quick_auto_dox_index/libs/quick_auto_dox_index/doc/quick_auto_dox_index.qbk 2011-07-29 05:24:02 EDT (Fri, 29 Jul 2011)
@@ -520,8 +520,10 @@
 
 To ensure SVG admonitions are used for pdf:
 
+[pre
   <format>pdf:<xsl:param>admon.graphics.extension=".svg"
   <format>pdf:<xsl:param>admon.graphics.path=$(nav-images)/
+]
 
 To set the location of your images folder, usually /doc\/html\/ (not /doc/html\/images\/):
 
@@ -562,7 +564,7 @@
 
 The location of the callout icons can be specified in your jamfile.v2 with
 [pre
- #<xsl:param>callout.graphics.path=../../images/callouts//
+ #<xsl:param>callout.graphics.path=../../images/callouts/
 ] [/pre]
 
 The png icons themselves are at `/boost_1_46_0/tools/quickbook/doc/html/images/callouts`
@@ -595,17 +597,18 @@
 for example: [@doc/html/boostbook.css].
 
 * You can 'read' environment variables, and use to copy a 'master' boostbook.css thus:
-
+[pre
   path-constant boost-root : [ modules.peek : BOOST ] ;
   install css-install : $(boost-root)/doc/src/boostbook.css : <location>html ;
+]
 
 * You can 'read' and display the location of other environment variables:
-
+[pre
   local boost_sandbox = [ os.environ BOOST_SANDBOX ] ;
   ECHO "os.environ boost-sandbox = " $(boost_sandbox) ; # Upper case for the value of environment variable(s).
 
   os.environ boost-sandbox = i:\boost-sandbox
-
+]
 * To set (or change) MS environment variables, per user or globally, use
 Control Panel, System, Advanced System settings, Advanced tab, Environment variables.
 For examples, you could set BOOST_ROOT as `I:/boost_1_46_0/`.
@@ -618,9 +621,9 @@
 * You should be able to refer to files relative to XSL parameter boost-root
 [@boost:/boost/units/detail/utility.hpp] should make it relative to xsl parameter boost.root.
 in the `jamfile.v2`.
-
+[pre
   <xsl:param>boost.root=$(BOOST_ROOT)
-
+]
 [@http://www.boost.org/boost.png Boost logo] \# xsl parameter boost.root, for example `I:/boost_1_46_0/boost.png`
 
 [endsect] [/section:windows Suggestions when using Windows]
@@ -636,9 +639,15 @@
 
 # The Windows Doxygen GUI frontend doxywizard will get you off to a (prematurely?) quick start,
 but you will soon find you need to use the 'Expert' options,
-and then perhaps to hand edit the `doxyfile`
-(annoyingly untyped so may need to set mime-type manually to commit to SVN)
-where all the very many options are stored.
+and then perhaps to hand edit the `doxyfile` where all the very many options are stored.
+
+# It is useful to (re-)name the doxyfile from the default.
+This annoyingly untyped so you would need to set mime-type manually to commit to SVN.
+It also means that you cannot pin the doxyfile to the Windows 7 Doxywizard taskbar icon.
+If you are maintaining more than one library this is a nuisance. It is also more convenient
+to have a separate name for each doxyfile,
+or you will have to wait for the tooltip to know doxyfile which is which.
+So this template example uses the name `quickdox_doxyfile.txt`.
 
 # It is worth getting a Doxygen-style index working well because the display is,
 for some purposes, more friendly and compact that the automatically produced 'Reference'
@@ -777,19 +786,18 @@
 [note The path has to be relative to the destination directory.]
 
 # To add multiple stylesheets, you can provide a list, [*space separated]
-
+[pre
    <xsl:param>html.stylesheet="./html/boostbook.css ./html/my_style_preferences.css"
-
+]
 
 # To limit the width of text to 80 character width,
 you could add to a stylesheet (perhaps a second stylesheet)
-
+[pre
     html
     {
         max-width: 80em;
     }
-
-
+]
 
 [endsect] [/section:boostbook BoostBook]
 
@@ -884,6 +892,7 @@
 
 [section:doxygen_macros How Doxygen parses and displays macros]
 
+[pre
     <doxygen:param>ENABLE_PREPROCESSING=YES # YES (default) evaluates conditional compilation statements (like #if) and evaluates macro definitions, but it does not perform macro expansion.
     <doxygen:param>MACRO_EXPANSION=YES # YES will expand all macro names in the source code (default = NO).
     <doxygen:param>EXPAND_ONLY_PREDEF=YES # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
@@ -916,20 +925,20 @@
       "list_impl=list" \\ # Replace text.
       "
     # BOOST_PREVENT_MACRO_SUBSTITUTION, will not be replaced by ,
- # BOOST_STATIC_CONSTANT will be replaced by "static x const y",
- # BOOST_DEDUCED_TYPENAME will be replaced by "typename",
- # BOOST_CONSTEXPR will be replaced by "constexpr".
+ # BOOST_STATIC_CONSTANT will be replaced by ['static x const y],
+ # BOOST_DEDUCED_TYPENAME will be replaced by ['typename],
+ # BOOST_CONSTEXPR will be replaced by ['constexpr].
 
- # The syntax hoops to jump through are 'interesting' for more than one PREDEFINED item,
+ # The syntax hoops to jump through are ['interesting] for more than one PREDEFINED item,
     # and to permit spaces within definitions (use double quotes).
- # Don't forget that every double quote needs a preceeding \trip character!
+ # Do not forget that every double quote needs a preceeding \trip character!
     # and that each trailing continuation \ needs a preceeding \trip character too!
     # And finally that if more than one item is included (as here) the whole is
- # enclosed in "PREDEFINED=... ", but without any leading \. Go figure...
+ # enclosed in PREDEFINED=... , but without any leading \. Go figure...
 
     # A grep for PREDEFINED= in jamfiles will reveal even more complex examples.
     # Boost Libraries with useful examples are: Accumulators, Interprocess, MPI, Random, Units, Expressive.
-
+] [/pre]
 
 * If there's a 1-to-1 correspondence between the macro uses and the user-visible entities that they create,
 then you can just have Doxygen expand the macros to something that looks sane in the documentation.
@@ -941,7 +950,11 @@
 [@http://www.stack.nl/~dimitri/doxygen/commands.html#cmdc typewriter font]
 (by convention, used for code and prefixed by the ['backwards single tick] in Quickbook),
 but backslash is used for \\pre, \\post \\returns etc that become part of the output text.
-So a C++/Doxygen comment example might be `\\\ \param n @c number of things \returns number of unique types of thing.`
+So a C++/Doxygen comment example might be
+
+[pre
+ \\\ \param n @c number of things \returns number of unique types of thing].
+]
 
 [endsect] [/section:doxygen_macros How Doxygen parses and displays macros]
 
@@ -1032,7 +1045,7 @@
 
 You need to install the RenderX XEP program at a location of your choice,
 and enter the address in your user-config.jam. An example (at `C:\users\paul\`) is
-
+[pre
   # Copyright (C) Vladimir Prus 2003. Permission to copy, use, modify, sell and
   # distribute this software is granted provided this copyright notice appears in
   # all copies. This software is provided "as is" without express or implied
@@ -1124,6 +1137,7 @@
   # for example to I:\boost_1_46_0\tools\build\v2 ...
   # Or bjam build will fail complaing of missing `auto-index.jam`.
   # This requirement will go away when autoindex is accepted as a Boost library.
+] [/pre]
 
 [caution All lines about FOP options in the jamfile are essential, even when using RenderX.]
 


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk