b01cbe12b3
Summary: This is a short update which should explain the primary entrypoint to query parsing and execution. Reviewers: mtomic, llugovic Reviewed By: mtomic Subscribers: pullbot Differential Revision: https://phabricator.memgraph.io/D1856
17 lines
465 B
Bash
Executable File
17 lines
465 B
Bash
Executable File
#!/bin/bash
|
|
|
|
script_dir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
|
|
|
mkdir -p $script_dir/html
|
|
|
|
for markdown_file in $(find $script_dir -name '*.md'); do
|
|
name=$(basename -s .md $markdown_file)
|
|
sed -e 's/.md/.html/' $markdown_file | \
|
|
pandoc -s -f markdown -t html -o $script_dir/html/$name.html
|
|
done
|
|
|
|
for dot_file in $(find $script_dir -name '*.dot'); do
|
|
name=$(basename -s .dot $dot_file)
|
|
dot -Tpng $dot_file -o $script_dir/html/$name.png
|
|
done
|