Fix docs.

This commit is contained in:
Victor Zverovich 2014-05-13 07:39:18 -07:00
parent 089e54a09b
commit 891da2f474
3 changed files with 5 additions and 4 deletions

View File

@ -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)

View File

@ -41,7 +41,7 @@ Write API
.. doxygenfunction:: fmt::hexu
.. doxygenfunction:: fmt::pad
.. doxygenfunction:: fmt::pad(int, unsigned, Char)
.. _formatstrings:

View File

@ -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
*/