Skip to content
Merged
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
6 changes: 5 additions & 1 deletion doc/decimal-playbook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,9 @@ output:
dir: html
ui:
bundle:
url: https://github.com/boostorg/website-v2-docs/releases/download/ui-master/ui-bundle.zip
url: https://gitlab.com/antora/antora-ui-default/-/jobs/artifacts/HEAD/raw/build/ui-bundle.zip?job=bundle-stable
output_dir: decimal/_
supplemental_files: ./supplemental-ui
antora:
extensions:
- '@antora/lunr-extension'
11 changes: 8 additions & 3 deletions doc/modules/ROOT/pages/examples.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,9 @@ Scientific Format with Specified Precision and Padding:
We can make one final change to our `<format>` example where instead of using `std::cout`, we use pass:[C++23's] `<print>`.
This example can be found in the `examples/` folder as https://github.com/cppalliance/decimal/blob/develop/examples/print.cpp[print.cpp].


.`<print>` Example
====
[source, c++]
----
#include <boost/decimal.hpp>
Expand All @@ -280,8 +283,10 @@ int main()
}
----

Expected Output:
----
.Expected Output:
....
03.140e+00
03.141e+00
----
....
====

139 changes: 114 additions & 25 deletions doc/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions doc/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,8 @@
"@antora/cli": "3.1.14",
"@antora/site-generator": "3.1.14",
"antora": "3.1.14"
},
"dependencies": {
"@antora/lunr-extension": "^1.0.0-alpha.12"
}
}
Loading