From 71650a1d1d98641eb653f6ea525602d8d751c86f Mon Sep 17 00:00:00 2001 From: Eric Schulte Date: Wed, 19 Jan 2011 20:35:39 -0700 Subject: [PATCH] doc: adding documentation of the :mkdirp tangling header argument * doc/org.texi (mkdirp): Documentation of the :mkdirp header argument --- doc/org.texi | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/org.texi b/doc/org.texi index c494f38e0..d37e3a2e7 100644 --- a/doc/org.texi +++ b/doc/org.texi @@ -11699,6 +11699,8 @@ The following header arguments are defined: directory for code block execution * exports:: Export code and/or results * tangle:: Toggle tangling and specify file name +* mkdirp:: Toggle creation of parent directories of target + files during tangling * comments:: Toggle insertion of comments in tangled code files * no-expand:: Turn off variable assignment and noweb @@ -12093,7 +12095,7 @@ Both the code and results are included in the exported file. E.g., Nothing is included in the exported file. E.g., @code{:exports none}. @end itemize -@node tangle, comments, exports, Specific header arguments +@node tangle, mkdirp, exports, Specific header arguments @subsubsection @code{:tangle} The @code{:tangle} header argument specifies whether or not the code @@ -12113,7 +12115,14 @@ as a file basename to which the block will be exported. E.g., @code{:tangle basename}. @end itemize -@node comments, no-expand, tangle, Specific header arguments +@node mkdirp, comments, tangle, Specific header arguments +@subsubsection @code{:mkdirp} + +The @code{:mkdirp} header argument can be used to create parent directories +of tangled files when missing. This can be set to @code{yes} to enable +directory creation or to @code{no} to inhibit directory creation. + +@node comments, no-expand, mkdirp, Specific header arguments @subsubsection @code{:comments} By default code blocks are tangled to source-code files without any insertion of comments beyond those which may already exist in the body of the code -- 2.11.4.GIT