From 32392597aae693870b06b9fe20d959877f2223d0 Mon Sep 17 00:00:00 2001 From: Victor Zverovich Date: Thu, 16 Oct 2014 07:12:43 -0700 Subject: [PATCH] Move Usage section to a separate file --- doc/index.rst | 18 +----------------- doc/usage.rst | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+), 17 deletions(-) create mode 100644 doc/usage.rst 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``.