[Lldb-commits] [PATCH] D70514: [Docs] Generate the LLDB man page with Sphinx

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Wed Nov 20 15:02:00 PST 2019


JDevlieghere created this revision.
JDevlieghere added reviewers: labath, mgorny, aprantl, ted.
Herald added a subscriber: abidh.
Herald added a project: LLDB.
JDevlieghere added a comment.

Here's what the output looks like: https://reviews.llvm.org/P8170

  $ ninja docs-lldb-man
  [1/1] Generating man Sphinx documentation for lldb into "/Volumes/Jonas/llvm/build-ra/tools/lldb/docs/man"
  $ nroff -man  /Volumes/Jonas/llvm/build-ra/tools/lldb/docs/man/LLDB.1 | col -bx


This patch replaces the existing out-of-date man page for lldb and
replaces it with an RST file from which sphinx generates the actual
troff file. This is similar to how man pages are generated for the rest
of the LLVM utilities.

The man page is generated by building the `docs-lldb-man` target.


Repository:
  rLLDB LLDB

https://reviews.llvm.org/D70514

Files:
  lldb/docs/CMakeLists.txt
  lldb/docs/conf.py
  lldb/docs/lldb.1
  lldb/docs/man/lldb.rst

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D70514.230340.patch
Type: text/x-patch
Size: 12635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20191120/3769dee4/attachment.bin>


More information about the lldb-commits mailing list