Skip to content

Commit 1c773fd

Browse files
authored
Update make.jl
1 parent 8312888 commit 1c773fd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/make.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ end
1818
DocMeta.setdocmeta!(QuantumToolbox, :DocTestSetup, doctest_setup; recursive = true)
1919

2020
# some options for `makedocs`
21-
const DRAFT = get(ENV, "DRAFT", false) == true # set `true` to disable cell evaluation
22-
const DOCTEST = get(ENV, "DOCTEST", true) == false # set `false` to skip doc tests
21+
const DRAFT = get(ENV, "DRAFT", false) == "true" # `DRAFT = true` disables cell evaluation
22+
const DOCTEST = get(ENV, "DOCTEST", true) != "false" # `DOCTEST = false` skips doc tests
2323

2424
# generate bibliography
2525
bib = CitationBibliography(

0 commit comments

Comments
 (0)