parent
c8d53d2348
commit
047a5b7c04
@ -0,0 +1,11 @@
|
||||
#!/bin/sh
|
||||
|
||||
export EXAMPLE=$1
|
||||
export EXNAME=`echo ${EXAMPLE} |cut -c 3-`
|
||||
cd examples; \
|
||||
install -d dirname ${EXAMPLE}
|
||||
echo "# ${EXNAME}\n\`\`\` c++\n" > ${EXAMPLE}.md
|
||||
cat ../../examples/${EXAMPLE} >> ${EXAMPLE}.md
|
||||
echo "\n\`\`\`" >> ${EXAMPLE}.md
|
||||
|
||||
|
@ -0,0 +1 @@
|
||||
examples/
|
Loading…
Reference in new issue