コード例 #1
0
        public override docScript compose(docScript script = null)
        {
            if (templateNeedle.isNullOrEmpty())
            {
                script.AppendFile(includeFilePath, filename, isDataTemplate);
            }
            else
            {
                script.AppendFileTemplated(includeFilePath, templateNeedle, filename, isDataTemplate, false);
            }
            if (!caption.isNullOrEmpty())
            {
                script.AppendHeading(caption, 4);

                script.AppendLine(description);

                script.AppendLink(filename, filename, description, appendLinkType.link);
            }

            return(script);
        }