574 Commits

Author SHA1 Message Date
Evan Lenz
116c7b0f23 Disallow h7 headings in output (force-limit to h6)
fix #12
2022-02-05 12:45:22 -08:00
Glen Fernandes
87d1168f84 Merge branch 'develop' boost-1.73.0 boost-1.79.0.beta1 boost-1.79.0 boost-1.78.0.beta1 boost-1.78.0 boost-1.77.0.beta1 boost-1.77.0 boost-1.76.0.beta1 boost-1.76.0 boost-1.75.0.beta1 boost-1.75.0 boost-1.74.0.beta1 boost-1.74.0 2020-04-12 11:36:53 -04:00
Glen Fernandes
aa3d1d676c Switch encoding to UTF-8 2020-04-10 17:41:32 -04:00
Nikita Kniazev
2ba31e6c17 Added reference.xml auto-generation from dtdxml
This should have been an established process, but for some reason it was
edited manually after initial generation.

After the change `reference.xml` can be removed from the repository, but
I left it to show that the things are working fine and the difference from
an auto-generated one are simple divergences due to manual changing
(not updated `reference.xml` with added `<purpose>` elements in 38017203f69cec3aa5f402fe8306eb1deff67b9a). Also removed the date numbers
from `dtdxml` as they were never in `xml` and seems to have no actual use,
but brings a lot of noise to `xml` differences after added auto-generation.
2019-02-18 01:39:22 +03:00
Nikita Kniazev
6db0b9e93a dtd2boostbook.xsl: Added copyright to the output
Backport manual `reference.xml` edit 7484e56d455ef01a5f82590f7b02532158dc141d
2019-02-18 01:17:39 +03:00
Nikita Kniazev
c327b26a61 dtd2boostbook.xsl: Use chapter element instead of section
Backport manual `reference.xml` edit 895142ea8db9501e32c5ae69f38b5644997a0c50
2019-02-18 01:16:21 +03:00
Daniel James
c42075541b Option to add viewpost meta tag for mobile devices 2017-11-04 01:53:56 +00:00
Daniel James
2f9b23ea4d Merge branch 'develop' boost-1.73.0.beta1 boost-1.66.0 boost-1.72.0.beta1 boost-1.72.0 boost-1.71.0.beta1 boost-1.71.0 boost-1.70.0.beta1 boost-1.70.0 boost-1.69.0-beta1 boost-1.69.0 boost-1.68.0 boost-1.67.0 2017-11-03 20:35:37 +00:00
Daniel James
7d32695586 Test case for deeply nested macro
In this case the id is so long that there's nothing left of the macro name.
2017-10-30 17:09:29 +00:00
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
edb40425d3 Simple macro tests 2017-10-29 12:51:48 +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
c7208c85f7 Run tests with and without consistent ids 2017-10-29 12:40:07 +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
6740d35836 Run the doxygen tests on travis 2017-10-25 01:14:53 +01:00
Daniel James
56aab0081b Use sudo to fix 'pip install' in travis 2017-10-22 17:43:17 +01:00
Daniel James
413f3e016d Merge branch 'develop' 2017-10-22 16:07:30 +01:00
Daniel James
f87d471d5c Write out class for quickbook blurb elements 2017-10-12 01:37:29 +01:00
Daniel James
07f3d91a95 Try using pip to install lxml
Probably hitting this issue:

https://github.com/travis-ci/travis-ci/issues/8132
2017-09-10 23:57:06 +01:00
Daniel James
36f9c16af2 Regen test results for improved ids 2017-09-10 23:30:33 +01:00
Daniel James
79664e03ca Return error if any of the python tests fail 2017-09-10 23:29:38 +01:00
Daniel James
966d5c14ad Try to fix travis 2017-09-10 23:13:14 +01:00
Daniel James
abaafffe48 Merge branch 'develop' 2017-09-08 19:16:16 +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
Daniel James
330c8abf0e Merge pull request #8 from jzmaddock/patch-5
Change default image (online) location.
2017-07-05 19:08:59 +01: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
754c4df0fd Merge branch 'develop' boost-1.65.1 boost-1.63.0 boost-1.65.0 boost-1.64.0-beta2 boost-1.64.0-beta1 boost-1.64.0 2016-11-01 20:14:07 +00:00
Daniel
e08a377bc7 Install docbook packages on travis 2016-11-01 15:42:25 +00: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
308d3ec3ce Ignore some test/build files 2016-11-01 09:58:16 +00:00
Daniel James
9131e7c36a Requires xsltproc and lxml. 2016-05-27 08:41:15 +01:00
Daniel James
24506ac9f7 Whitespace change 2016-05-27 08:06:50 +01:00
Daniel James
8278d3d181 First attempt at using travis.
The boost build based test just builds something, it doesn't check the
result. So the python test is the only 'real' test.
2016-05-27 00:00:21 +01:00
Daniel James
02abc8c9a4 Truncate ids in tests even more.
Whatever version of xsltproc I'm not using generates even longer id
numbers, which means that the base id needs to be further truncated to
make space for them.
2016-05-26 23:14:30 +01:00
Daniel James
18c73d8f01 Merge branch 'develop' boost-1.62.0 boost-1.61.0 2016-03-21 21:38:38 +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
Vladimir Prus
6700d12201 Generate meta viewport element.
This improves layout on mobile devices. I had to remove declaration
for the 'rev' element as otherwise the 'meta' element would have
namespace declaration as well, for no reason. Possibly there's a
better solution.
2014-12-08 20:31:11 +03:00
Vladimir Prus
9ebd73f432 Make copyright footer generation simpler and more flexible.
The footer template has code to generate revision number,
which was never updated to git and therefore generates no text,
but still generates a somewhat complex table structure. This
commit removes code for version numbers, and makes output a simple
div.

I've also added a hook to use pick content of whatever paragraph
with role of 'copyright' the document has, since right now we
pick copyright only from 'bookinfo' element, and Docbook renders
bookinfo element right at the start, and for Boost.Build documentation
I want documentation to start with some hints how to start, not
with a copyright statement.
2014-12-08 10:37:56 +03:00
Daniel James
22c94baebb Merge branch 'develop' boost-1.60.0 boost-1.59.0 boost-1.58.0 boost-1.57.0 2014-08-16 21:42:10 +01:00
Daniel James
01882ea2a2 Merge pull request #5 from jzmaddock/patch-4
Update fo.xsl
2014-08-16 21:41:50 +01:00
Daniel James
0ee53a91bc Merge pull request #3 from jzmaddock/patch-2
Update Jamfile.v2
2014-08-13 20:04:14 +01: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
jzmaddock
e6e55e039f Update Jamfile.v2
There can be only one project named boost/doc and we have that already under /doc/
Change to something unique.
Fixes PDF doc build.
2014-08-13 18:51:53 +01:00
Daniel James
657ca5ad1c Merge branch 'develop' boost-1.56.0 2014-03-25 21:47:20 +00:00