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 ...@@ -2,5 +2,5 @@ add_custom_command(OUTPUT html/index.html
COMMAND doxygen COMMAND doxygen
COMMAND rm -rf html COMMAND rm -rf html
COMMAND ../sphinx/sphinx-build.py -b html . 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) add_custom_target(doc DEPENDS html/index.html)
...@@ -41,7 +41,7 @@ Write API ...@@ -41,7 +41,7 @@ Write API
.. doxygenfunction:: fmt::hexu .. doxygenfunction:: fmt::hexu
.. doxygenfunction:: fmt::pad .. doxygenfunction:: fmt::pad(int, unsigned, Char)
.. _formatstrings: .. _formatstrings:
......
...@@ -665,8 +665,9 @@ IntFormatSpec<int, TypeSpec<'X'> > hexu(int value); ...@@ -665,8 +665,9 @@ IntFormatSpec<int, TypeSpec<'X'> > hexu(int value);
**Example**:: **Example**::
std::string s = str(Writer() << pad(hex(0xcafe), 8, '0')); Writer out;
// s == "0000cafe" out << pad(hex(0xcafe), 8, '0');
// out.str() == "0000cafe"
\endrst \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