document generation system updates

This commit is contained in:
Jukka Aho
2015-07-04 23:51:58 +03:00
parent 2e4a92735c
commit 06499ab8d0
4 changed files with 17 additions and 4 deletions
+3 -3
View File
@@ -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:
View File
+1 -1
View File
@@ -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))
+13
View File
@@ -0,0 +1,13 @@
JuliaFEM
========
.. include:: ../readme.rst
Contents:
.. toctree::
:maxdepth: 2
readme
api/index