mirror of
https://github.com/fmtlib/fmt.git
synced 2025-01-16 04:12:47 +00:00
Improve docs
This commit is contained in:
parent
8de3e87da1
commit
e6d4f927cc
@ -451,6 +451,7 @@ function(add_doc_target)
|
|||||||
COMMAND
|
COMMAND
|
||||||
${CMAKE_COMMAND} -E env PYTHONPATH=${CMAKE_CURRENT_SOURCE_DIR}/support
|
${CMAKE_COMMAND} -E env PYTHONPATH=${CMAKE_CURRENT_SOURCE_DIR}/support
|
||||||
${MKDOCS} build -f ${CMAKE_CURRENT_SOURCE_DIR}/support/mkdocs.yml
|
${MKDOCS} build -f ${CMAKE_CURRENT_SOURCE_DIR}/support/mkdocs.yml
|
||||||
|
--site-dir ${CMAKE_CURRENT_BINARY_DIR}/site
|
||||||
--no-directory-urls
|
--no-directory-urls
|
||||||
SOURCES ${sources})
|
SOURCES ${sources})
|
||||||
|
|
||||||
|
@ -84,9 +84,9 @@ hide:
|
|||||||
<h2>Fast compilation</h2>
|
<h2>Fast compilation</h2>
|
||||||
<p>
|
<p>
|
||||||
The library makes extensive use of <b>type erasure</b> to achieve fast
|
The library makes extensive use of <b>type erasure</b> to achieve fast
|
||||||
compilation. <code>fmt/base.h</code> provides a subset
|
compilation. <a href="api/#base-api"><code>fmt/base.h</code></a> provides a
|
||||||
of the API with <b>minimal include dependencies</b> and enough functionality
|
subset of the API with <b>minimal include dependencies</b> and enough
|
||||||
to replace all uses of <code>*printf</code>.
|
functionality to replace all uses of <code>*printf</code>.
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
Code using {fmt} is usually several times faster to compile than the
|
Code using {fmt} is usually several times faster to compile than the
|
||||||
|
Loading…
Reference in New Issue
Block a user