#!/bin/bash
# dev/docs/rst - reStructuredText documentation generation support

set -e

lib_load 'dev/docs/color'
lib_load 'doc/rst'


######
# Common reStructuredText Support

docs_rst_to_html() {
	local rst=$1

	local css=$(docs_css_filename)
	[ -f "$css" ] || docs_gen_html_css

	local -a rst_html_css=( "" )
	rst_to_html "$rst" | head -n-2
}

View the Script Reference Index


Generated on Tue Apr 25 21:20:28 PDT 2017 by mcsh i7 v0.18.0.