Skip to content

Commit b66f4e1

Browse files
jameskermodeclaude
andcommitted
Fix docs: use documenter=false for ETACE LAMMPS tutorial
The `execute=false` only affects Literate.jl but Documenter.jl still tries to execute @example blocks. Using `documenter=false` generates plain code blocks that are shown but not executed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b172ab2 commit b66f4e1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/make.jl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ Literate.markdown(_examples_src * "/etace_tutorial.jl",
3737
_tutorial_out; documenter = true)
3838

3939
# LAMMPS export tutorial lives in export/examples/
40-
# Use execute=false because this tutorial runs full model fitting (slow)
41-
# and requires packages not in docs environment (Unitful)
40+
# Use documenter=false to generate plain code blocks (not @example blocks)
41+
# because this tutorial runs full model fitting and requires Unitful
4242
_export_examples = joinpath(@__DIR__(), "..", "export", "examples")
4343
Literate.markdown(_export_examples * "/etace_lammps_tutorial.jl",
44-
_tutorial_out; documenter = true, execute = false)
44+
_tutorial_out; documenter = false)
4545

4646
# Literate.markdown(_tutorial_src * "/first_example_model.jl",
4747
# _tutorial_out; documenter = true)

0 commit comments

Comments
 (0)