Skip to content

Commit

Permalink
doc: added demo document changes section
Browse files Browse the repository at this point in the history
Added a brief section about how to demo Ceph documentation
changes. 

Signed-off-by: James McClune <[email protected]>
  • Loading branch information
falcon78921 authored Oct 28, 2018
1 parent 53e1daf commit b8317f5
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions doc/dev/generatedocs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ To build the Ceph documentation set, you must:
1. Clone the Ceph repository
2. Install the required tools
3. Build the documents
4. Demo the documents (Optional)

Clone the Ceph Repository
-------------------------
Expand Down Expand Up @@ -54,3 +55,16 @@ Once you build the documentation set, you may navigate to the source directory t

There should be an ``html`` directory and a ``man`` directory containing documentation
in HTML and manpage formats respectively.


Demo the Documents
-------------------

Once you build the documentation, as described above, you can demo the rendered documents
by running ``serve-doc``::

cd ceph
admin/serve-doc

This will serve the ``build-doc/output/html`` directory over port 8080 via
Python's ``SimpleHTTPServer`` module.

0 comments on commit b8317f5

Please sign in to comment.