From 7aa09372c532fa694aabe8ced6859a5ee01e9248 Mon Sep 17 00:00:00 2001 From: Jukka Aho Date: Sun, 5 Jul 2015 23:54:26 +0300 Subject: [PATCH] notebooks status badge --- README.rst | 2 ++ docs/_static/notebooks-status.svg | 1 + docs/build_notebooks.jl | 4 ++-- 3 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 docs/_static/notebooks-status.svg diff --git a/README.rst b/README.rst index a878c36..bf467c9 100644 --- a/README.rst +++ b/README.rst @@ -17,6 +17,8 @@ The JuliaFEM project develops open-source software for reliable, scalable, distr .. image:: https://coveralls.io/repos/JuliaFEM/JuliaFEM.jl/badge.svg?branch=master :target: https://coveralls.io/r/JuliaFEM/JuliaFEM.jl?branch=master +.. image:: http://juliafem.kapsi.fi/_static/notebooks-status.svg + :target: http://juliafem.kapsi.fi/tutorials/index.html Documentation: http://www.juliaFEM.org diff --git a/docs/_static/notebooks-status.svg b/docs/_static/notebooks-status.svg new file mode 100644 index 0000000..6d6ddc1 --- /dev/null +++ b/docs/_static/notebooks-status.svg @@ -0,0 +1 @@ +NotebooksNotebooksunknownunknown \ No newline at end of file diff --git a/docs/build_notebooks.jl b/docs/build_notebooks.jl index eae25dc..3c0eeee 100644 --- a/docs/build_notebooks.jl +++ b/docs/build_notebooks.jl @@ -174,13 +174,13 @@ function write_rst_table(rows) end -function main(;filename="tutorials/notebooks.rst") +function main() results = run_notebooks() rows = makerows(results) table = write_rst_table(rows) println(table) cd(dirname(@__FILE__)) do - open(filename, "w") do fid + open("tutorials/notebooks.rst", "w") do fid write(fid, table) end end