test/doc
2015-05-20 13:33:15 +02:00
..
adv_scenarios Merge branch 'doc_new_organization' into develop 2015-05-20 09:44:35 +02:00
closing_chapters Merge branch 'doc_new_organization' into develop 2015-05-20 09:44:35 +02:00
doxygen remove executable bit 2015-02-11 14:22:13 -05:00
examples lexicographic comparison 2015-05-19 15:48:33 +02:00
html remove executable bit 2015-02-11 14:22:13 -05:00
prod_use removing a level of TOC by removing "Users guide" from the parent 2015-05-19 17:08:15 +02:00
runtime_configuration Moving the runtime parameters to the reference section 2015-05-20 10:55:15 +02:00
snippet Changing the examples to use BOOST_TEST 2015-05-11 18:08:44 +02:00
test_organization Merge branch 'doc_new_organization' into develop 2015-05-20 09:44:35 +02:00
test_output Merge branch 'doc_new_organization' into develop 2015-05-20 09:44:35 +02:00
testing_tools bitwise in ref 2015-05-20 13:33:15 +02:00
tutorials links / warnings 2015-05-04 01:25:17 +02:00
adv_scenarios.qbk Merge branch 'doc_new_organization' into develop 2015-05-20 09:44:35 +02:00
examples.qbk Renaming the dataset example files 2015-05-11 18:08:45 +02:00
introduction.qbk removing a level of TOC by removing "Users guide" from the parent 2015-05-19 17:08:15 +02:00
Jamfile.v2 Making the TOC more concise 2015-05-19 17:18:41 +02:00
README.txt Updated README 2015-01-09 10:50:10 +01:00
test.qbk Moving the runtime parameters to the reference section 2015-05-20 10:55:15 +02:00
usage_recommandations.qbk Some cleanup over the snippet files 2015-02-03 02:10:30 +01:00
usage_variants.qbk Merge branch 'doc_new_organization' into develop 2015-05-20 09:44:35 +02:00
users_guide.qbk Moving the reference of the testing tools to the end 2015-05-19 17:19:16 +02:00

This folder contains the documentation for the Boost.Test library. 
Any contribution or submission to the library should be accompanied by the corresponding documentation. 

The format of the documentation uses [http://www.boost.org/tools/quickbook/index.html Quickbook]. 

How to build the documentation
==============================


Install Doxygen
---------------
Part of the documentation needs [http://www.doxygen.org Doxygen]. Download and install it. `doxygen` should be accessible from the terminal.

Download Docbook
----------------
Quickbook needs docbook to be installed. Download and untar the docbook archives:

* Docbook XSL that can be found here: 
* Docbook XML that can be found here:

These two archives are supposed to be untarred to `$docbook_xsl_directory` and `$docbook_xml_directory` respectively. 


Download xsltproc
-----------------
This program is needed by docbook, in order to be able to transform XMLs into HTMLs.
`xsltproc` should be accessible from the command line. 


Construct bjam
--------------

Simply by typing in a terminal:
``
> cd $boost_root
> ./bootstrap.[sh|bat]

``

Build the documentation
-----------------------

``
> cd $boost_root/libs/test/doc
> ../../../b2 -sDOCBOOK_XSL_DIR=$docbook_xsl_directory -sDOCBOOK_DTD_DIR=$docbook_xml_directory
``


Recommendations
---------------

- Documentation is part of the "definition of done". A feature does not exist until it is implemented, tested, documented and reviewed. 
- It is highly recommended that each of your pull request comes with an updated documentation. Not doing so put this work on the shoulders
  of the maintainers and as a result, it would be likely that the pull request is not addressed in a timely manner.
- Please also update the changelog for referencing your contribution
- Every file should come with a copyright notice on the very beginning