983afe3373
- Add xo_format_is_numeric() with improved logic to decide if format
strings are numeric, so json output quotes them
- Convert docs to sphinx/rst
- update tests
Includes fix for PR 221676:
27d3021cc3 (diff-5a0d468963477f7daedb8308c219dd80)
PR: 221676
MFC after: 5 days
31 lines
1.2 KiB
ReStructuredText
31 lines
1.2 KiB
ReStructuredText
.. index:: xohtml
|
|
|
|
.. _xohtml:
|
|
|
|
xohtml
|
|
======
|
|
|
|
`xohtml` is a tool for turning the output of libxo-enabled commands into
|
|
html files suitable for display in modern HTML web browsers. It can
|
|
be used to test and debug HTML output, as well as to make the user
|
|
ache to escape the world of '70s terminal devices.
|
|
|
|
`xohtml` is given a command, either on the command line or via the "-c"
|
|
option. If not command is given, standard input is used. The
|
|
command's output is wrapped in HTML tags, with references to
|
|
supporting CSS and Javascript files, and written to standard output or
|
|
the file given in the "-f" option. The "-b" option can be used to
|
|
provide an alternative base path for the support files:
|
|
|
|
============== ===================================================
|
|
Option Meaning
|
|
============== ===================================================
|
|
-b <base> Base path for finding css/javascript files
|
|
-c <command> Command to execute
|
|
-f <file> Output file name
|
|
============== ===================================================
|
|
|
|
The "-c" option takes a full command with arguments, including
|
|
any libxo options needed to generate html (`--libxo=html`). This
|
|
value must be quoted if it consists of multiple tokens.
|