Changes between Version 19 and Version 20 of DocsTranslationsProject


Ignore:
Timestamp:
Jun 26, 2007, 1:49:26 PM (15 years ago)
Author:
Matias Capeletto
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DocsTranslationsProject

    v19 v20  
    6666# (See accompanying file LICENSE_1_0.txt or copy at
    6767# http://www.boost.org/LICENSE_1_0.txt)
    68 
    6968
    7069# Quickbook
     
    151150[/
    152151    Boost.LibrayName
    153     Copyright (c) 2006-2007 Matias Capeletto
     152    Copyright (c)  Year author name
    154153
    155154    Distributed under the Boost Software License, Version 1.0.
     
    207206    [[Br]] Quickbook allows us to import code chuncks, instead of harcoding them in the qbk source.
    208207    This allow as to be sure that every code example will be in sync and with out typos.
    209     [[Br]] Example:
    210     {{{
    211 
    212     }}}
    213     [[Br]] Use it qbk source:
    214208    [[Br]] Example:
    215209    {{{
     
    248242
    249243    }}}
     244    [[Br]] Use it qbk source:
     245    [[Br]] Example:
     246    {{{
     247[/
     248    Boost.LibrayName
     249    Copyright (c) Year author name
     250
     251    Distributed under the Boost Software License, Version 1.0.
     252    (See accompanying file LICENSE_1_0.txt or copy at
     253    http://www.boost.org/LICENSE_1_0.txt)
     254]
     255
     256[/ QuickBook Document version 1.4 ]
     257
     258[/ Section specifics code ]
     259
     260[import ../example/doc/example_name.cpp]
     261
     262[/ Sections ]
     263
     264[section Larger section]
     265
     266[section Introduction]
     267
     268A few lines.
     269We can easily use the imported code:
     270
     271[DocCodeFunctionName]
     272
     273And then the main function
     274
     275[DocCodeExampleName]
     276
     277That is it!
     278
     279[endsect]
     280
     281[include larger_section/subsection_name.qbk]
     282
     283[endsect]
     284
     285    }}}
    250286  * '''example/doc/Jamfile.v2'''
    251287    [[Br]] Testsuite for the doc examples.
     
    253289    {{{
    254290
     291# Boost.LibraryName
     292#
     293# Copyright (c) Years author name, author name
     294#
     295# Distributed under the Boost Software License, Version 1.0.
     296# (See accompanying file LICENSE_1_0.txt or copy at
     297# http://www.boost.org/LICENSE_1_0.txt)
     298
     299import testing ;
     300
     301test-suite "doc_code"
     302    :
     303    [ compile       compilable_example.cpp      ]
     304    [ run           runable_example.cpp         ]
     305    [ compile-fail  compile_fail_example.cpp    ]
     306    ;
    255307   
    256308    }}}
     
    263315    [[Br]] Example:
    264316    {{{
     317
     318
    265319
    266320    }}}