From e6d4f927cc7465e43dba5ebc9ad0ad61f8cda9d6 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Sun, 9 Jun 2024 11:17:32 -0700 Subject: [PATCH] Improve docs --- CMakeLists.txt | 1 + doc/index.md | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index db6e1887..541af4ba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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}) diff --git a/doc/index.md b/doc/index.md index f0eff370..c1ab9aef 100644 --- a/doc/index.md +++ b/doc/index.md @@ -84,9 +84,9 @@ hide:

Fast compilation

The library makes extensive use of type erasure to achieve fast - compilation. fmt/base.h provides a subset - of the API with minimal include dependencies and enough functionality - to replace all uses of *printf. + compilation. fmt/base.h provides a + subset of the API with minimal include dependencies and enough + functionality to replace all uses of *printf.

Code using {fmt} is usually several times faster to compile than the