diff --git a/doc/index.rst b/doc/index.rst index d95db1a8..c66257f7 100644 --- a/doc/index.rst +++ b/doc/index.rst @@ -2,25 +2,9 @@ C++ Format ########## -***** -Usage -***** - -To use the C++ Format library, add ``format.h`` and ``format.cc`` from -a `release archive `_ -or the `Git repository `_ to your project. - -If you are using Visual C++ with precompiled headers, you might need to add -the line - -:: - - #include "stdafx.h" - -before other includes in ``format.cc``. - .. toctree:: :maxdepth: 2 + usage reference syntax diff --git a/doc/usage.rst b/doc/usage.rst new file mode 100644 index 00000000..8a2b3037 --- /dev/null +++ b/doc/usage.rst @@ -0,0 +1,18 @@ +.. highlight:: c++ + +***** +Usage +***** + +To use the C++ Format library, add ``format.h`` and ``format.cc`` from +a `release archive `_ +or the `Git repository `_ to your project. + +If you are using Visual C++ with precompiled headers, you might need to add +the line + +:: + + #include "stdafx.h" + +before other includes in ``format.cc``.