mirror of
https://github.com/JuliaFEM/JuliaFEM.jl.git
synced 2026-09-20 18:18:31 +00:00
document generation system updates
This commit is contained in:
@@ -29,11 +29,11 @@ build:
|
||||
|
||||
# create .md files from function docstrings
|
||||
apidoc:
|
||||
julia docs/build.jl
|
||||
julia docs/build_api.jl
|
||||
|
||||
# copy readme to correct place in docs root
|
||||
copyreadme:
|
||||
cp README.md docs/index.md
|
||||
#copyreadme:
|
||||
# cp README.md docs/index.md
|
||||
|
||||
# convert notebooks to md files
|
||||
convert_notebooks:
|
||||
|
||||
@@ -11,11 +11,11 @@ for ipynb in readdir("tutorials")
|
||||
println("Running notebook tutorials/$ipynb")
|
||||
try
|
||||
run(`runipy -o tutorials/$ipynb --kernel=julia-0.4 --port=34211`)
|
||||
runtime = toc()
|
||||
status = 0
|
||||
catch
|
||||
println("did not work")
|
||||
end
|
||||
runtime = toc()
|
||||
run(`ipython nbconvert tutorials/$ipynb --to rst --output=tutorials/$(ipynb[1:end-6])`)
|
||||
println("took $runtime seconds")
|
||||
push!(results, Dict("filename" => ipynb, "status" => status, "runtime" => runtime))
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
JuliaFEM
|
||||
========
|
||||
|
||||
.. include:: ../readme.rst
|
||||
|
||||
Contents:
|
||||
|
||||
.. toctree::
|
||||
:maxdepth: 2
|
||||
|
||||
readme
|
||||
api/index
|
||||
|
||||
Reference in New Issue
Block a user