From 576ca2b6c9b1829bc54e651efe13bd83389df56d Mon Sep 17 00:00:00 2001 From: Shuhei Kadowaki Date: Sun, 17 May 2020 12:23:41 +0900 Subject: [PATCH] some doc fix: - update functions - only make examples in CI --- doc/make.jl | 2 +- doc/src/chunk_options.md | 4 ++-- doc/src/header.md | 1 + 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/doc/make.jl b/doc/make.jl index 252692a..281ee67 100644 --- a/doc/make.jl +++ b/doc/make.jl @@ -19,7 +19,7 @@ makedocs( ], ) -include("make_examples.jl") +get(ENV, "CI", false) && include("make_examples.jl") deploydocs( repo = "github.com/JunoLab/Weave.jl.git", diff --git a/doc/src/chunk_options.md b/doc/src/chunk_options.md index 3ea338d..73e1497 100644 --- a/doc/src/chunk_options.md +++ b/doc/src/chunk_options.md @@ -51,7 +51,7 @@ options: You can also set or change the default chunk options for a document either before weave using the `set_chunk_defaults` function. ```@docs -set_chunk_defaults +set_chunk_defaults! get_chunk_defaults -restore_chunk_defaults +restore_chunk_defaults! ``` diff --git a/doc/src/header.md b/doc/src/header.md index 1394c64..efc985e 100644 --- a/doc/src/header.md +++ b/doc/src/header.md @@ -84,6 +84,7 @@ options: See also: [`weave`](@ref) + ## Format Specific Options The header configurations can be format specific.