Skip to content

Commit

Permalink
uncomment notebook build, remove built html file from tutorial source…
Browse files Browse the repository at this point in the history
…, no format comment moved down

Signed-off-by: Rachel Kurchin <[email protected]>
  • Loading branch information
rkurchin committed Feb 24, 2022
1 parent 97f6b6b commit dea0c7a
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 130 deletions.
9 changes: 2 additions & 7 deletions docs/make.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,15 @@ using Documenter, ChemistryFeaturization, PlutoStaticHTML

# this next bit is from https://github.com/rikhuijzer/PlutoStaticHTML.jl/blob/main/docs/make.jl
const NOTEBOOK_DIR = joinpath(pkgdir(ChemistryFeaturization), "docs", "src", "tutorial")
"""
write_notebook()
Write Pluto output to a HTML file.
This avoidings running via the Documenter.jl evaluation, which appears to just hang.
Probably similar cause as https://github.com/JuliaDocs/Documenter.jl/issues/1514.
"""

function write_notebooks()
hopts = HTMLOptions()
bopts = BuildOptions(NOTEBOOK_DIR; output_format = documenter_output)
parallel_build(bopts, hopts)
return nothing
end

# write_notebooks()
write_notebooks()

pages = Any[
"Overview"=>"index.md",
Expand Down
2 changes: 1 addition & 1 deletion docs/src/tutorial/atomgraphs.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! format: off
### A Pluto.jl notebook ###
# v0.17.7

Expand Down Expand Up @@ -45,6 +44,7 @@ This tutorial will demonstrate usage of ChemistryFeaturization.jl for a case tha
"

# ╔═╡ db3022ee-9241-4446-87ad-92c8359d1e31
#! format: off
TableOfContents()

# ╔═╡ 96095ce5-6edb-46f0-9884-397b318ed631
Expand Down
Loading

0 comments on commit dea0c7a

Please sign in to comment.