Commit 891da2f4 authored by Victor Zverovich's avatar Victor Zverovich

Fix docs.

parent 089e54a0
......@@ -2,5 +2,5 @@ add_custom_command(OUTPUT html/index.html
COMMAND doxygen
COMMAND rm -rf html
COMMAND ../sphinx/sphinx-build.py -b html . html
DEPENDS Doxyfile conf.py index.rst _templates/layout.html)
DEPENDS ../format.h Doxyfile conf.py index.rst _templates/layout.html)
add_custom_target(doc DEPENDS html/index.html)
......@@ -41,7 +41,7 @@ Write API
.. doxygenfunction:: fmt::hexu
.. doxygenfunction:: fmt::pad
.. doxygenfunction:: fmt::pad(int, unsigned, Char)
.. _formatstrings:
......
......@@ -665,8 +665,9 @@ IntFormatSpec<int, TypeSpec<'X'> > hexu(int value);
**Example**::
std::string s = str(Writer() << pad(hex(0xcafe), 8, '0'));
// s == "0000cafe"
Writer out;
out << pad(hex(0xcafe), 8, '0');
// out.str() == "0000cafe"
\endrst
*/
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment