Skip to content

Commit c1edd70

Browse files
committed
ci
1 parent 2ac1ff4 commit c1edd70

5 files changed

Lines changed: 9 additions & 4 deletions

File tree

doc/build_antora.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,5 @@ npm ci
2424
echo "Building docs in custom dir..."
2525
PATH="$(pwd)/node_modules/.bin:${PATH}"
2626
export PATH
27-
npx antora --clean --fetch "$PLAYBOOK" --stacktrace --log-level all
27+
npx antora --clean --fetch "$PLAYBOOK" --stacktrace --log-level info
2828
echo "Done"

doc/modules/ROOT/nav.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,7 @@
2222
// ** xref:examples/file-router.adoc[]
2323
// ** xref:examples/router.adoc[]
2424
// ** xref:examples/sanitize.adoc[]
25-
* xref:reference.adoc[Reference]
25+
* Tutorials
26+
** xref:hello_world.adoc[Hello World]
2627
// * xref:HelpCard.adoc[]
28+
* xref:reference:boost/openmethod.adoc[Reference]
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
:exampledir: ../example
12

23
## Hello World
34

@@ -6,7 +7,7 @@ functions:
67

78
[source,c++]
89
----
9-
include::{exampledir}/virtual_func.cpp[tag=code]
10+
include::example$example/virtual_func.cpp[tag=code]
1011
----
1112

1213
We are going to rewrite this using open-methods.

doc/modules/ROOT/pages/index.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
# Introduction
1212

1313
Open-methods are similar to virtual functions, but they are not required to be
14-
members of a class. By being both free and virtual, they provide a solution to
14+
members of a class. By being both free and virtual, tdoc/hello_world.adochey provide a solution to
1515
the Expression Problem:
1616

1717
> Given a set of types, and a set of operations on these types, is it possible

doc/modules/ROOT/pages/reference.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
[width=100%]
1515

16+
cpp:boost::openmethod[boost::openmethod]
17+
1618
* Types
1719
1820
cpp:boost::openmethod::not_implemented_error[not_implemented_error]

0 commit comments

Comments
 (0)