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 2b41b38
Show file tree
Hide file tree
Showing 5 changed files with 79 additions and 2,247 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/Documentation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: julia-actions/setup-julia@latest
with:
version: '1.6'
version: '1.7'
- name: Install dependencies
env:
PYTHON: ""
Expand Down
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
Loading

0 comments on commit 2b41b38

Please sign in to comment.