From 8b39396a9ba94ca1f0664b9cdd2829d20ea4afaf Mon Sep 17 00:00:00 2001 From: Avik Pal Date: Fri, 20 Sep 2024 15:53:38 -0400 Subject: [PATCH] docs: add the code to the docs --- docs/src/code_example.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/src/code_example.md b/docs/src/code_example.md index 89e11d0..a150e37 100644 --- a/docs/src/code_example.md +++ b/docs/src/code_example.md @@ -207,4 +207,12 @@ Supported meta tags: - `CollapsedDocStrings`: works similar to Documenter.jl. If provided, the docstrings in that page will be collapsed by default. Defaults to `false`. See the [Internal API](@ref internal_api) page for how the docstrings are displayed when this - is set to `true`. + is set to `true`. Example usage: + +**Input** + +```` +```@meta +CollapsedDocStrings = true +``` +````