Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

asciidoc customization #95

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 9 additions & 1 deletion doc/Jamfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,15 @@

import asciidoctor ;

html mp11.html : mp11.adoc ;
path-constant boostlook : ../../../tools/boostlook ;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@grafikrobot Is this still correct with the modular build or should it be something like:

require-b2 5.0.1 ;
import-search /boost/tools/boostlook ;

I'm not sure how the modular changes affected the doc builds.

Copy link
Member

@grafikrobot grafikrobot Sep 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mborland yes. Except.. That boostlook doesn't have a b2 project to refer to. So it wouldn't work at this time. Which is why I created this PR boostorg/boostlook#11


html mp11.html : mp11.adoc
: <asciidoctor-attribute>stylesheet=$(boostlook)/boostlook.css
<flags>"-r $(boostlook)/boostlook.rb"
<dependency>$(boostlook)/boostlook.css
<dependency>$(boostlook)/boostlook.rb
<dependency>mp11-docinfo-footer.html
;

html simple_cxx11_metaprogramming.html :
article/simple_cxx11_metaprogramming.adoc ;
Expand Down
4 changes: 2 additions & 2 deletions doc/mp11-docinfo-footer.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<style>

/*
*:not(pre)>code { background: none; color: #600000; }
:not(pre):not([class^=L])>code { background: none; color: #600000; }
table tr.even, table tr.alt, table tr:nth-of-type(even) { background: none; }

*/
</style>
Loading