diff --git a/previews/PR120/assets/themes/documenter-dark.css b/previews/PR120/assets/themes/documenter-dark.css index 5a64259..65e34e4 100644 --- a/previews/PR120/assets/themes/documenter-dark.css +++ b/previews/PR120/assets/themes/documenter-dark.css @@ -1128,7 +1128,7 @@ html.theme--documenter-dark { color: #1dd2af; } html.theme--documenter-dark code { background-color: rgba(255, 255, 255, 0.05); - color: #e74c3c; + color: #ececec; font-size: 0.875em; font-weight: normal; padding: 0.1em; } @@ -7277,8 +7277,12 @@ html.theme--documenter-dark { position: absolute; right: 0.625rem; bottom: 0.5rem; } + html.theme--documenter-dark .docstring > section > a.docs-sourcelink:focus { + opacity: 1 !important; } html.theme--documenter-dark .docstring:hover > section > a.docs-sourcelink { opacity: 0.2; } + html.theme--documenter-dark .docstring:focus-within > section > a.docs-sourcelink { + opacity: 0.2; } html.theme--documenter-dark .docstring > section:hover a.docs-sourcelink { opacity: 1; } html.theme--documenter-dark .documenter-example-output { @@ -7338,6 +7342,8 @@ html.theme--documenter-dark { html.theme--documenter-dark html { -moz-osx-font-smoothing: auto; -webkit-font-smoothing: auto; } + html.theme--documenter-dark li.no-marker { + list-style: none; } html.theme--documenter-dark #documenter .docs-main > article { overflow-wrap: break-word; } html.theme--documenter-dark #documenter .docs-main > article .math-container { diff --git a/previews/PR120/assets/themes/documenter-light.css b/previews/PR120/assets/themes/documenter-light.css index 3ce8010..14f6a0e 100644 --- a/previews/PR120/assets/themes/documenter-light.css +++ b/previews/PR120/assets/themes/documenter-light.css @@ -808,10 +808,10 @@ a.has-text-danger:hover, a.has-text-danger:focus { background-color: #4a4a4a !important; } .has-text-grey { - color: #7a7a7a !important; } + color: #6b6b6b !important; } .has-background-grey { - background-color: #7a7a7a !important; } + background-color: #6b6b6b !important; } .has-text-grey-light { color: #b5b5b5 !important; } @@ -1954,7 +1954,7 @@ a.box:active { .button.is-static { background-color: whitesmoke; border-color: #dbdbdb; - color: #7a7a7a; + color: #6b6b6b; box-shadow: none; pointer-events: none; } .button.is-rounded, #documenter .docs-sidebar form.docs-search > input.button { @@ -2862,7 +2862,7 @@ a.tag:hover, .docstring > section > a.docs-sourcelink:hover { background-color: whitesmoke; border-color: whitesmoke; box-shadow: none; - color: #7a7a7a; } + color: #6b6b6b; } .input[disabled]::-moz-placeholder, #documenter .docs-sidebar form.docs-search > input[disabled]::-moz-placeholder, .textarea[disabled]::-moz-placeholder, .select select[disabled]::-moz-placeholder, fieldset[disabled] .input::-moz-placeholder, fieldset[disabled] #documenter .docs-sidebar form.docs-search > input::-moz-placeholder, @@ -2870,7 +2870,7 @@ a.tag:hover, .docstring > section > a.docs-sourcelink:hover { fieldset[disabled] .textarea::-moz-placeholder, fieldset[disabled] .select select::-moz-placeholder, .select fieldset[disabled] select::-moz-placeholder { - color: rgba(122, 122, 122, 0.3); } + color: rgba(107, 107, 107, 0.3); } .input[disabled]::-webkit-input-placeholder, #documenter .docs-sidebar form.docs-search > input[disabled]::-webkit-input-placeholder, .textarea[disabled]::-webkit-input-placeholder, .select select[disabled]::-webkit-input-placeholder, fieldset[disabled] .input::-webkit-input-placeholder, fieldset[disabled] #documenter .docs-sidebar form.docs-search > input::-webkit-input-placeholder, @@ -2878,7 +2878,7 @@ a.tag:hover, .docstring > section > a.docs-sourcelink:hover { fieldset[disabled] .textarea::-webkit-input-placeholder, fieldset[disabled] .select select::-webkit-input-placeholder, .select fieldset[disabled] select::-webkit-input-placeholder { - color: rgba(122, 122, 122, 0.3); } + color: rgba(107, 107, 107, 0.3); } .input[disabled]:-moz-placeholder, #documenter .docs-sidebar form.docs-search > input[disabled]:-moz-placeholder, .textarea[disabled]:-moz-placeholder, .select select[disabled]:-moz-placeholder, fieldset[disabled] .input:-moz-placeholder, fieldset[disabled] #documenter .docs-sidebar form.docs-search > input:-moz-placeholder, @@ -2886,7 +2886,7 @@ a.tag:hover, .docstring > section > a.docs-sourcelink:hover { fieldset[disabled] .textarea:-moz-placeholder, fieldset[disabled] .select select:-moz-placeholder, .select fieldset[disabled] select:-moz-placeholder { - color: rgba(122, 122, 122, 0.3); } + color: rgba(107, 107, 107, 0.3); } .input[disabled]:-ms-input-placeholder, #documenter .docs-sidebar form.docs-search > input[disabled]:-ms-input-placeholder, .textarea[disabled]:-ms-input-placeholder, .select select[disabled]:-ms-input-placeholder, fieldset[disabled] .input:-ms-input-placeholder, fieldset[disabled] #documenter .docs-sidebar form.docs-search > input:-ms-input-placeholder, @@ -2894,7 +2894,7 @@ a.tag:hover, .docstring > section > a.docs-sourcelink:hover { fieldset[disabled] .textarea:-ms-input-placeholder, fieldset[disabled] .select select:-ms-input-placeholder, .select fieldset[disabled] select:-ms-input-placeholder { - color: rgba(122, 122, 122, 0.3); } + color: rgba(107, 107, 107, 0.3); } .input, #documenter .docs-sidebar form.docs-search > input, .textarea { box-shadow: inset 0 1px 2px rgba(10, 10, 10, 0.1); @@ -2994,7 +2994,7 @@ a.tag:hover, .docstring > section > a.docs-sourcelink:hover { .checkbox[disabled], .radio[disabled], fieldset[disabled] .checkbox, fieldset[disabled] .radio { - color: #7a7a7a; + color: #6b6b6b; cursor: not-allowed; } .radio + .radio { @@ -3122,7 +3122,7 @@ a.tag:hover, .docstring > section > a.docs-sourcelink:hover { .select.is-large { font-size: 1.5rem; } .select.is-disabled::after { - border-color: #7a7a7a; } + border-color: #6b6b6b; } .select.is-fullwidth { width: 100%; } .select.is-fullwidth select { @@ -3630,7 +3630,7 @@ a.tag:hover, .docstring > section > a.docs-sourcelink:hover { .control.has-icons-left .input:focus ~ .icon, .control.has-icons-left #documenter .docs-sidebar form.docs-search > input:focus ~ .icon, #documenter .docs-sidebar .control.has-icons-left form.docs-search > input:focus ~ .icon, .control.has-icons-left .select:focus ~ .icon, .control.has-icons-right .input:focus ~ .icon, .control.has-icons-right #documenter .docs-sidebar form.docs-search > input:focus ~ .icon, #documenter .docs-sidebar .control.has-icons-right form.docs-search > input:focus ~ .icon, .control.has-icons-right .select:focus ~ .icon { - color: #7a7a7a; } + color: #6b6b6b; } .control.has-icons-left .input.is-small ~ .icon, .control.has-icons-left #documenter .docs-sidebar form.docs-search > input ~ .icon, #documenter .docs-sidebar .control.has-icons-left form.docs-search > input ~ .icon, .control.has-icons-left .select.is-small ~ .icon, .control.has-icons-left #documenter .docs-sidebar form.docs-search > input.select ~ .icon, @@ -4021,7 +4021,7 @@ a.list-item { padding-left: 0.75em; } .menu-label { - color: #7a7a7a; + color: #6b6b6b; font-size: 0.75em; letter-spacing: 0.1em; text-transform: uppercase; } @@ -5130,7 +5130,7 @@ a.navbar-item, background-color: #dbdbdb; border-color: #dbdbdb; box-shadow: none; - color: #7a7a7a; + color: #6b6b6b; opacity: 0.5; } .pagination-previous, @@ -5267,7 +5267,7 @@ label.panel-block { text-align: center; vertical-align: top; width: 1em; - color: #7a7a7a; + color: #6b6b6b; margin-right: 0.75em; } .panel-icon .fa { font-size: inherit; @@ -7234,8 +7234,12 @@ h1:hover .docs-heading-anchor-permalink, h2:hover .docs-heading-anchor-permalink position: absolute; right: 0.625rem; bottom: 0.5rem; } + .docstring > section > a.docs-sourcelink:focus { + opacity: 1 !important; } .docstring:hover > section > a.docs-sourcelink { opacity: 0.2; } + .docstring:focus-within > section > a.docs-sourcelink { + opacity: 0.2; } .docstring > section:hover a.docs-sourcelink { opacity: 1; } @@ -7311,6 +7315,9 @@ html { -moz-osx-font-smoothing: auto; -webkit-font-smoothing: auto; } +li.no-marker { + list-style: none; } + /* This file contain the overall layout. * * The main container is
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 version 0.27.5 on Monday 18 October 2021. Using Julia version 1.6.3.