diff --git a/dev/assets/search.js b/dev/assets/search.js index 42a273f..c32d2f1 100644 --- a/dev/assets/search.js +++ b/dev/assets/search.js @@ -46,7 +46,7 @@ $(document).ready(function() { }) // list below is the lunr 2.1.3 list minus the intersect with names(Base) - // (all, any, get, in, is, which) and (do, else, for, let, where, while, with) + // (all, any, get, in, is, only, which) and (do, else, for, let, where, while, with) // ideally we'd just filter the original list but it's not available as a variable lunr.stopWordFilter = lunr.generateStopWordFilter([ 'a', @@ -112,7 +112,6 @@ $(document).ready(function() { 'off', 'often', 'on', - 'only', 'or', 'other', 'our', diff --git a/dev/assets/themes/documenter-dark.css b/dev/assets/themes/documenter-dark.css index 5592429..1c370f2 100644 --- a/dev/assets/themes/documenter-dark.css +++ b/dev/assets/themes/documenter-dark.css @@ -7401,6 +7401,7 @@ html.theme--documenter-dark { padding: 0; flex: 0 0 18rem; z-index: 5; + font-size: 15px; position: fixed; left: -18rem; width: 18rem; @@ -7442,7 +7443,6 @@ html.theme--documenter-dark { html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu { flex-grow: 1; user-select: none; - font-size: 15px; border-top: 1px solid #5e6d6f; padding-bottom: 1.5rem; /* Managing collapsible submenus */ } @@ -7482,16 +7482,21 @@ html.theme--documenter-dark { display: block; padding: 0.5rem 0.5rem; } html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu .tocitem, html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu .tocitem:hover { - color: #fff; } + color: #fff; + background: #282f2f; } html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu a.tocitem:hover, html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu label.tocitem:hover { + color: #fff; background-color: #32393a; } html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu li.is-active { - border-top: 1px solid #718385; + border-top: 1px solid #5e6d6f; border-bottom: 1px solid #5e6d6f; background-color: #1f2424; } - html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu li.is-active > .tocitem, html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu li.is-active > .tocitem:hover { + html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu li.is-active .tocitem, html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu li.is-active .tocitem:hover { background-color: #1f2424; color: #fff; } + html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu li.is-active ul.internal .tocitem:hover { + background-color: #32393a; + color: #fff; } html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu > li.is-active:first-child { border-top: none; } html.theme--documenter-dark #documenter .docs-sidebar ul.docs-menu ul.internal { diff --git a/dev/assets/themes/documenter-light.css b/dev/assets/themes/documenter-light.css index ffcf462..bfb4e9d 100644 --- a/dev/assets/themes/documenter-light.css +++ b/dev/assets/themes/documenter-light.css @@ -7383,6 +7383,7 @@ html { padding: 0; flex: 0 0 18rem; z-index: 5; + font-size: 1rem; position: fixed; left: -18rem; width: 18rem; @@ -7424,7 +7425,6 @@ html { #documenter .docs-sidebar ul.docs-menu { flex-grow: 1; user-select: none; - font-size: 1rem; border-top: 1px solid #dbdbdb; padding-bottom: 1.5rem; /* Managing collapsible submenus */ } @@ -7464,16 +7464,21 @@ html { display: block; padding: 0.5rem 0.5rem; } #documenter .docs-sidebar ul.docs-menu .tocitem, #documenter .docs-sidebar ul.docs-menu .tocitem:hover { - color: #0a0a0a; } + color: #0a0a0a; + background: whitesmoke; } #documenter .docs-sidebar ul.docs-menu a.tocitem:hover, #documenter .docs-sidebar ul.docs-menu label.tocitem:hover { + color: #0a0a0a; background-color: #ebebeb; } #documenter .docs-sidebar ul.docs-menu li.is-active { - border-top: 1px solid #c7c7c7; + border-top: 1px solid #dbdbdb; border-bottom: 1px solid #dbdbdb; background-color: white; } - #documenter .docs-sidebar ul.docs-menu li.is-active > .tocitem, #documenter .docs-sidebar ul.docs-menu li.is-active > .tocitem:hover { + #documenter .docs-sidebar ul.docs-menu li.is-active .tocitem, #documenter .docs-sidebar ul.docs-menu li.is-active .tocitem:hover { background-color: white; color: #0a0a0a; } + #documenter .docs-sidebar ul.docs-menu li.is-active ul.internal .tocitem:hover { + background-color: #ebebeb; + color: #0a0a0a; } #documenter .docs-sidebar ul.docs-menu > li.is-active:first-child { border-top: none; } #documenter .docs-sidebar ul.docs-menu ul.internal { diff --git a/dev/customprocessing/index.html b/dev/customprocessing/index.html index 64cd18e..257f752 100644 --- a/dev/customprocessing/index.html +++ b/dev/customprocessing/index.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 4 March 2020. Using Julia version 1.3.1.