mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-24 03:17:53 +00:00
Move Usage section to a separate file
This commit is contained in:
parent
2b17d47372
commit
32392597aa
@ -2,25 +2,9 @@
|
||||
C++ Format
|
||||
##########
|
||||
|
||||
*****
|
||||
Usage
|
||||
*****
|
||||
|
||||
To use the C++ Format library, add ``format.h`` and ``format.cc`` from
|
||||
a `release archive <https://github.com/cppformat/cppformat/releases/latest>`_
|
||||
or the `Git repository <https://github.com/cppformat/cppformat>`_ 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
|
||||
|
18
doc/usage.rst
Normal file
18
doc/usage.rst
Normal file
@ -0,0 +1,18 @@
|
||||
.. highlight:: c++
|
||||
|
||||
*****
|
||||
Usage
|
||||
*****
|
||||
|
||||
To use the C++ Format library, add ``format.h`` and ``format.cc`` from
|
||||
a `release archive <https://github.com/cppformat/cppformat/releases/latest>`_
|
||||
or the `Git repository <https://github.com/cppformat/cppformat>`_ 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``.
|
Loading…
Reference in New Issue
Block a user