BUILD_DOCS.sh 1.2 KB

12345678910111213141516171819202122
  1. #!/bin/sh
  2. # Copyright (C) 2009 The Trustees of Indiana University.
  3. # Copyright (C) 2010 Daniel Trebbien.
  4. # Use, modification and distribution is subject to the Boost Software
  5. # License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at
  6. # http://www.boost.org/LICENSE_1_0.txt)
  7. # Authors: Jeremiah Willcock, Daniel Trebbien, Andrew Lumsdaine
  8. for i in read_graphml read_graphviz write_graphml; do
  9. rst2html.py -gdt --link-stylesheet --traceback --trim-footnote-reference-space --footnote-references=superscript --stylesheet=../../../rst.css $i.rst > $i.html
  10. done
  11. # Also see grid_graph_export_png.sh for figure conversions
  12. # Stoer-Wagner images from Daniel Trebbien
  13. fdp -s -n -Tgif -ostoer_wagner_imgs/digraph1.gif stoer_wagner_imgs/digraph1.dot
  14. fdp -s -n -Tgif -ostoer_wagner_imgs/digraph1-min-cut.gif stoer_wagner_imgs/digraph1-min-cut.dot
  15. fdp -s -n -Tgif -ostoer_wagner_imgs/stoer_wagner-example.gif stoer_wagner_imgs/stoer_wagner-example.dot
  16. fdp -s -n -Tgif -ostoer_wagner_imgs/stoer_wagner-example-c1.gif stoer_wagner_imgs/stoer_wagner-example-c1.dot
  17. fdp -s -n -Tgif -ostoer_wagner_imgs/stoer_wagner-example-min-cut.gif stoer_wagner_imgs/stoer_wagner-example-min-cut.dot
  18. dot -Tgif -ostoer_wagner_imgs/stoer_wagner.cpp.gif stoer_wagner_imgs/stoer_wagner.cpp.dot