mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-09-17 08:01:27 +00:00
- Changed to centered, fixed-width layout, it results in shorter line lengths which reads more easily. - Moved support files to separate support directory. - Removed blank lines at end of multi-parameter method prototypes.
22 lines
747 B
Bash
Executable File
22 lines
747 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# NOTE: The working directory should be the main capp directory when this script is run
|
|
#
|
|
# $1 Cappuccino documentation directory
|
|
|
|
# Do this if you want to use the utility functions
|
|
source "$1"/support/processor_setup.sh
|
|
|
|
markdown=`which markdown`
|
|
|
|
if [ -n "$markdown" ]; then
|
|
processor_msg "Markdown main page..."
|
|
"$markdown" README.markdown > "$1"/README.html
|
|
else
|
|
processor_msg "markdown binary is not installed, documentation cannot be generated." "red"
|
|
echo "On Mac OS X, install brew with the following command line:"
|
|
echo ' ruby -e "$(curl -fsSL https://gist.github.com/raw/323731/install_homebrew.rb)"'
|
|
echo "Then use 'brew install markdown' from the command line to install markdown."
|
|
exit 1
|
|
fi
|