aboutsummaryrefslogtreecommitdiff
path: root/doc/index.rst
diff options
context:
space:
mode:
authorVictor Zverovich <victor.zverovich@gmail.com>2014-06-21 08:50:48 -0700
committerVictor Zverovich <victor.zverovich@gmail.com>2014-06-21 08:50:48 -0700
commit680d88de689c4df0b19227ad7fff24d6be235588 (patch)
tree2658860c9b54b4a941ad907f80c614389615d58b /doc/index.rst
parentb1bbc909190c5f0258c3625ec9bc00fdf2c95331 (diff)
downloadfmtlib-680d88de689c4df0b19227ad7fff24d6be235588.tar.gz
Add Usage section.
Diffstat (limited to 'doc/index.rst')
-rw-r--r--doc/index.rst16
1 files changed, 16 insertions, 0 deletions
diff --git a/doc/index.rst b/doc/index.rst
index 2fd2ed76..811887f7 100644
--- a/doc/index.rst
+++ b/doc/index.rst
@@ -2,6 +2,22 @@
.. _string-formatting-api:
+Usage
+-----
+
+To use the C++ Format library, add ``format.h`` and ``format.cc`` from
+one of the `release archives <https://github.com/cppformat/cppformat/releases>`__
+or the `Git repository <https://github.com/cppformat/cppformat>`__ to your project.
+
+If you are using Visual Studio with precompiled headers, you might need to add
+the line
+
+::
+
+ #include "stdafx.h"
+
+before other includes in ``format.cc``.
+
C++ Format Library API
----------------------