Skip to content

Commit

Permalink
Genrate octave-api documentation for website
Browse files Browse the repository at this point in the history
  • Loading branch information
oheim committed Nov 13, 2015
1 parent 0353c7a commit 8fc3f95
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion client-api/Octave/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,13 @@ $(HTML_TARBALL): $(INSTALLED_PACKAGE)
--eval "end_try_catch;"
@$(OCTAVE) --no-gui --silent \
--eval "pkg load generate_html;" \
--eval "options = get_html_options ('octave-forge');" \
--eval "options = get_html_options ('octave');" \
--eval "options.overview_title = 'VIBes Client API for Octave';" \
--eval "options.css = '/sylesheets/style.css';" \
--eval "options.header = '<!DOCTYPE html><html><head><meta http-equiv=\"content-type\" content=\"text/html; charset=%charset\"/><title>VIBes Client API for Octave - %title</title><link rel=\"stylesheet\" href=\"%css\"/><style type=\"text/css\">h3.category {margin-top: 2em}</style></head><body><h1>%title</h1>';" \
--eval "options.footer = '</body></html>';" \
--eval "generate_package_html ('$(PACKAGE)', '$(HTML_DIR)', options)"
@mv "$(HTML_DIR)/$(PACKAGE)" "$(HTML_DIR)/octave-api"
@tar --create --auto-compress --file "$@" "$(HTML_DIR)"

md5: $(RELEASE_TARBALL) $(HTML_TARBALL)
Expand Down

0 comments on commit 8fc3f95

Please sign in to comment.