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:
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