Rename weave_include to include_weave

pull/80/head
Matti Pastell 2016-12-23 08:36:07 +02:00
parent b14cd13063
commit 89859c0898
1 changed files with 2 additions and 2 deletions

View File

@ -116,12 +116,12 @@ function weave(doc::AbstractString, doctype::AbstractString)
end
"""
weave_include(doc, informat=:auto)
include_weave(doc, informat=:auto)
Include code from Weave document calling `include_string` on
all code from doc. Code is run in the path of the include document.
"""
function weave_include(source, informat=:auto)
function include_weave(source, informat=:auto)
old_path = pwd()
doc = read_doc(source, informat)
cd(doc.path)