modify target for tool schema html builder to use pandoc

this is @jmchilton committing as @martenson...pssst
This commit is contained in:
Martin Cech
2016-09-21 13:41:25 -04:00
committed by GitHub
parent a8bc9d5d16
commit bb91a10a4c
+3 -3
View File
@@ -24,11 +24,11 @@ docs: ## generate Sphinx HTML documentation, including API docs
$(IN_VENV) $(MAKE) -C doc clean
$(IN_VENV) $(MAKE) -C doc html
docs-schema-ready: ## Build Github-flavored Markdown from Galaxy Tool XSD
docs-schema-ready: ## Build Github-flavored Markdown from Galaxy Tool XSD (expects libxml in environment)
python $(DOCS_DIR)/parse_gx_xsd.py > $(DOCS_DIR)/schema.md
docs-schema-html: docs-schema-ready ## Convert Galaxy Tool XSD Markdown docs into HTML
markdown $(DOCS_DIR)/schema.md > $(DOCS_DIR)/schema.html
docs-schema-html: docs-schema-ready ## Convert Galaxy Tool XSD Markdown docs into HTML (expects pandoc in environment)
pandoc $(DOCS_DIR)/schema.md -f markdown_github -s -o $(DOCS_DIR)/schema.html
open-docs-schema: docs-schema-html ## Open HTML generated from Galaxy Tool XSD.
$(OPEN_RESOURCE) $(DOCS_DIR)/schema.html