Improve docs

This commit is contained in:
Victor Zverovich 2024-06-09 11:17:32 -07:00
parent 8de3e87da1
commit e6d4f927cc
2 changed files with 4 additions and 3 deletions

View File

@ -451,6 +451,7 @@ function(add_doc_target)
COMMAND
${CMAKE_COMMAND} -E env PYTHONPATH=${CMAKE_CURRENT_SOURCE_DIR}/support
${MKDOCS} build -f ${CMAKE_CURRENT_SOURCE_DIR}/support/mkdocs.yml
--site-dir ${CMAKE_CURRENT_BINARY_DIR}/site
--no-directory-urls
SOURCES ${sources})

View File

@ -84,9 +84,9 @@ hide:
<h2>Fast compilation</h2>
<p>
The library makes extensive use of <b>type erasure</b> to achieve fast
compilation. <code>fmt/base.h</code> provides a subset
of the API with <b>minimal include dependencies</b> and enough functionality
to replace all uses of <code>*printf</code>.
compilation. <a href="api/#base-api"><code>fmt/base.h</code></a> provides a
subset of the API with <b>minimal include dependencies</b> and enough
functionality to replace all uses of <code>*printf</code>.
</p>
<p>
Code using {fmt} is usually several times faster to compile than the