From f5b5e85d0aac21ba418c72af4afc5648a6f9131e Mon Sep 17 00:00:00 2001 From: zeptodoctor <44736852+zeptodoctor@users.noreply.github.com> Date: Wed, 9 Oct 2019 10:03:04 +0000 Subject: [PATCH] build based on bd11c9d --- dev/customprocessing.html | 2 +- dev/documenter.html | 2 +- dev/fileformat.html | 2 +- dev/generated/example.html | 86 +++++++++--------- dev/generated/example.ipynb | 168 ++++++++++++++++++------------------ dev/generated/name.html | 2 +- dev/index.html | 2 +- dev/outputformats.html | 4 +- dev/pipeline.html | 2 +- dev/search.html | 2 +- dev/search_index.js | 2 +- 11 files changed, 137 insertions(+), 137 deletions(-) diff --git a/dev/customprocessing.html b/dev/customprocessing.html index 2b31ae1..306678f 100644 --- a/dev/customprocessing.html +++ b/dev/customprocessing.html @@ -26,4 +26,4 @@ include("file2.jl")
Let's say we have saved this fi end return str end
(of course replace included with your respective files)
Finally, you simply pass this function to e.g. Literate.markdown as
Literate.markdown("examples.jl", "path/to/save/markdown";
- name = "markdown_file_name", preprocess = replace_includes)and you will see that in the final output file (here markdown_file_name.md) the include statements are replaced with the actual code to be included!
This approach is used for generating the examples in the documentation of the TimeseriesPrediction.jl package. The example files, included together in the stexamples.jl file, are processed by literate via this make.jl file to generate the markdown and code cells of the documentation.
Settings
This document was generated with Documenter.jl on Wednesday 9 October 2019. Using Julia version 1.2.0.