Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2007-08-08 19:31:50


on Wed Aug 08 2007, Beman Dawes <bdawes-AT-acm.org> wrote:

> Stjepan Rajko wrote:
>> On 8/7/07, Beman Dawes <bdawes_at_[hidden]> wrote:
>>> [...]
>>>
>>> Done. See http://svn.boost.org/trac/boost/wiki/ImprovingPractices
>>>
>>> The links within the page don't work because I couldn't figure out how
>>> to do anchors like <a name="#foo">foo</a>. If anyone knows how, please
>>> let me know:-) The docs seem to keep it a secret.
>>>
>>
>> Good question :-) The only "pretty" way I can find of defining an
>> anchor is by using a heading:
>>
>> ==== Release-ready ====
>>
>> (then you can link to it as #Release-ready). If you want to specify
>> an ID explicitly (e.g., to make it lowercase as you link to them in
>> the wiki page):
>>
>> ==== Release-ready ==== #release-ready
>>
>> If you don't want to use headings for your definitions, you can resort to:
>>
>> {{{
>> #!html
>> <a name="release-ready" />
>> }}}
>>
>> That's all I could figure out.
>
> Thanks. Darren Garvey kindly went through the page and made the changes.

Internal links are easy when you write restructuredtext blocks.

  {{{
  #!rst

  jump to `an internal link`_.

  .. _an internal link:

  whatever
  }}}

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com
The Astoria Seminar ==> http://www.astoriaseminar.com

Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk