Commit Graph

325 Commits

Author SHA1 Message Date
Daniel James
d2b0125d71 Truncate macro ids, as for other symbols 2017-10-30 16:52:52 +00:00
Daniel James
34ad10b7dc Better consistent macro ids 2017-10-29 12:52:54 +00:00
Daniel James
ce2f9fd8ac Tweak some of the consistent ids in boostbook
They use '.' as a separator which results in paths like
'as_fe_id-1/3/2/6/2/7/1/1/1.html'.
2017-10-29 12:45:11 +00:00
Daniel James
02619b765d Fix fast-elements
In the last commit I changed it to store in fast-elements with the wrong id.
Unfortunately this can't be picked up in testing, as the fallback still works
correctly. Although it didn't make any notable difference to the build time,
so maybe the fast-elements mechanism isn't needed?
2017-10-29 12:10:59 +00:00
Daniel James
1b8441c17c Use object.id in boostbook to docbook conversion
Will generate more consistent ids if generate.consistent.ids is set to 1.
2017-10-25 01:14:54 +01:00
Daniel James
f87d471d5c Write out class for quickbook blurb elements 2017-10-12 01:37:29 +01:00
Steven Watanabe
33ce2b8cb2 Try harder to avoid generating unstable filenames like any_cast_idp758556752.html. Functions with the same name only conflict if they're in the same scope. 2017-07-22 19:05:04 -06:00
jzmaddock
f72f6a54aa Change to develop versions of images. 2017-07-05 18:12:23 +01:00
jzmaddock
fb09e4e2bc Change default image (online) location.
I get HTTP 303 errors when retrieving images from the old location (browser is fine, but Java chokes while building the PDF's).  I couldn't find a git location that didn't also give 303 errors, so this seems to be the next best alternative.
2017-07-03 19:27:40 +01:00
Daniel James
4f3894fcfb Alternative 'Fullbleed' navbar.border option. 2016-11-01 09:58:17 +00:00
Daniel James
f39931d170 Convert header style from xsl:if to xsl:choose.
Should make it easier to add alternatives.
2016-11-01 09:58:17 +00:00
Daniel James
f1aef5c98e Fix the <pre> block workaround in doxygen2boostbook.xsl
It turns out the '\code' blocks don't have this problem, so an easier
fix would be just to use them. But now I've implemented the workaround,
might as well leave it in, in case anyone wants to use <pre> blocks in
the future.
2016-01-13 19:38:46 +00:00
Daniel James
30911053b5 Convert the complicated doxygen preformatted tags.
Reported here:

http://lists.boost.org/boost-docs/2016/01/5335.php

Can currently see the error here:

http://www.boost.org/doc/libs/1_60_0/doc/html/boost/container/small_vector_base.html
2016-01-10 14:46:14 +00:00
Steven Watanabe
b42efe92e4 Handle <ndash/> generated by doxygen. 2015-03-31 16:13:31 -06:00
jzmaddock
c1828eda90 Update fo.xsl
Remove stray text on end of line.
Fixes PDF doc build.
Aside: this whole Q&A set block could probably be removed now given that it appears to be a workaround for the ancient FOP-0.2.
2014-08-13 18:55:00 +01:00
Paul A. Bristow
90c06c4483 Added left, right, center, justify items to cater for role text alignment as for color needed for PDF.
[SVN r86784]
2013-11-22 09:35:22 +00:00
Daniel James
37b65b9320 Use language attribute in doxygen2boostbook.
It would be better to preserve doxygen's syntax highlighting, but I'll leave
that for later.

[SVN r86510]
2013-10-28 22:35:44 +00:00
Daniel James
2a7b62e58d Add support for language='c++'.
The implementation is a bit odd, but I was trying to match the existing
templates.

[SVN r86509]
2013-10-28 22:35:16 +00:00
Daniel James
5c02634c70 Revert change to function.
Will implement using language attribute instead.

[SVN r86508]
2013-10-28 22:34:35 +00:00
Daniel James
248ccf3ca4 Use syntax highlighting for function reference.
This appears to have removed the computeroutput tags from function links in
the hash documentation. I'm not sure if the solution is to retain them in
annotation mode or to be smarted about syntax highlighting programlisting.

[SVN r86505]
2013-10-28 20:15:14 +00:00
Daniel James
885ed7e8c7 Support noexcept with a conditional.
Turns out Doxygen doesn't like BOOST_NOEXCEPT_IF. Text parsing in XSL is an
almighty pain, it might be better to just combine whatever follows the
arguments in argsstring with the values from the attributes.

[SVN r86285]
2013-10-13 11:10:38 +00:00
Daniel James
9e391505c4 Parse brackets in argsstring.
This may seem like overkill, but it's going to be needed for handling
parameters to noexcept. Doesn't handle escapes because that my sanity is
already stretched far enough.

[SVN r86284]
2013-10-13 11:10:01 +00:00
Daniel James
a7dd45375d Use specifiers attribute for virtual and explicit.
[SVN r86279]
2013-10-12 23:54:37 +00:00
Daniel James
e20b8195e1 Fix support for const, volatile, and pure virtual.
[SVN r86278]
2013-10-12 23:53:59 +00:00
Daniel James
78ba0b7b6e Add noexcept and constexpr to doxygen to boostbook coversion.
Should really add proper support to boostbook for `=delete`, `=default` and
noexcept, but I'm not feeling that keen right now. I'm not sure I did the right
thing with `BOOST_CONSTEXPR_OR_CONST`.

[SVN r86277]
2013-10-12 20:11:47 +00:00
Daniel James
9eb8e0a68b Less verbose handling of qualifiers.
[SVN r86276]
2013-10-12 20:11:16 +00:00
Daniel James
0702b53d10 Avoid confusing arguments with quialifiers from argsstring.
[SVN r86275]
2013-10-12 20:10:53 +00:00
Daniel James
807c6f0c71 Factor out method and function attributes.
Not all attributes apply to all methods and functions, but hopefully they should
never appear when inappropriate.

[SVN r86274]
2013-10-12 20:10:22 +00:00
Daniel James
ac51c2dcfc Try to make last-revsion a little more robust.
Don't display anything for empty '$Date$' variables, and just display the value
for normal, non version control values.

[SVN r86273]
2013-10-12 20:09:53 +00:00
Daniel James
8d4f56a3b8 Remove unused date handling code from html-help.
[SVN r86272]
2013-10-12 20:09:32 +00:00
Daniel James
e3d710413a Add newlines to doxygen2boostbook output.
Hopefully this won't break anything, and will make it much easier to read the
intermediate files.

[SVN r86271]
2013-10-12 20:09:10 +00:00
Daniel James
84603bfb06 Fix virtual methods in doxygen2boostbook.
[SVN r86270]
2013-10-12 20:08:37 +00:00
Daniel James
4e0ce03c6e Add assignment return to doxygen2boostbook. Refs #9241.
[SVN r86252]
2013-10-12 02:10:24 +00:00
Paul A. Bristow
a45ae11e03 Additions to implement colors from Quickbook 1.6.
But align feature (done in boostbook.css for html) is still not implemented.

[SVN r86229]
2013-10-10 15:40:07 +00:00
Robert Kawulak
fae9c57743 [BoostBook] Added support for SVN fixed-length $Date$ keyword.
[SVN r85021]
2013-07-13 12:44:17 +00:00
Daniel James
0d12037b77 Use US-ASCII for single page html.
Same as chunked html. We use ASCII because using UTF-8 can go wrong when a
server is set up to specify another encoding (this does happen). `xsltproc`
will encode all non-ASCII characters as html entities, so nothing will be lost.

[SVN r84560]
2013-05-30 19:02:30 +00:00
Daniel James
92e5116901 Make adding section's id to their class optional.
[SVN r84559]
2013-05-30 19:02:14 +00:00
Daniel James
8333508c17 Normalise space in section class.
Cleans up the output a tad bit when there's no role.

[SVN r84554]
2013-05-30 08:29:12 +00:00
Daniel James
25840691ee Add some C++11 keywords to syntax highlighter.
Quickbook's highlight includes the alternative operator representations (`and`,
and_eq` etc.). They should possibly be added as well.

[SVN r84553]
2013-05-30 08:28:56 +00:00
John Maddock
1371bab260 Add option to permit single depth TOC at chapter level, while maintaining multi-depth TOC at subsequent levels.
This is primarily for the Math lib docs.

[SVN r84270]
2013-05-13 16:51:41 +00:00
Daniel James
ceb83870c1 Fix doxygen parameter 'formuladir' so that it doesn't need a trailing slash.
Would be nice to fix all uses of directories in a similar manner, but XSL is a
pain.

[SVN r84168]
2013-05-06 11:27:43 +00:00
Rene Rivera
29690b73b0 Reflect the role section and simplesect values in the resulting HTML. So that we can style based on types of sections and simplesects. Also add an option to style the labels of sections.. Currently only allowing for removing the parent labels.
[SVN r84082]
2013-04-29 05:12:16 +00:00
Andrey Semashev
dae5ae0ab7 Added support for defaulted and deleted functions in the generated docs. Doxygen 1.8.2 or later needed to generate proper XML for this stylesheet.
[SVN r83872]
2013-04-13 16:04:14 +00:00
Daniel James
a2f08d47e5 Boostbook: Convert more for-each tags to copy-of.
[SVN r83016]
2013-02-19 19:15:18 +00:00
Daniel James
e33a468009 Boostbook: Simpler method for copying chapter attributes. Refs #7899.
I'm not sure if this will fix the issue, but it's worth a try.

[SVN r82863]
2013-02-14 00:58:09 +00:00
Daniel James
7853cc1d04 Boostbook: Fix for libxslt 1.27.0.
libxslt now seems to think that $uppercase-letters and $lowercase-letters are
undefined at this point. I'm not sure if it's right, or if this is a regression
in libxslt, but it's easy enough to get working, and while it isn't ideal, it
isn't too problematic.

[SVN r81386]
2012-11-17 10:30:37 +00:00
Daniel James
dfc72f6d44 Boostbook: Fix methodname for operator().
[SVN r79657]
2012-07-22 07:17:55 +00:00
Steven Watanabe
058bacfdcd Handle \param in macros.
[SVN r79192]
2012-06-30 20:25:09 +00:00
Steven Watanabe
d7dcdd15be Correctly identify constructors/destructors of class template specializations.
[SVN r78602]
2012-05-24 19:38:51 +00:00
Steven Watanabe
8944b68ade Don't lose elements directly under the <programlisting> when highlighting jam code.
[SVN r77779]
2012-04-05 13:51:24 +00:00