Permalink
Browse files

[docs] Build the loader documentation

  • Loading branch information...
anjakefala committed Dec 21, 2017
1 parent c5a80cc commit 48e9f428a675c29a2ada8e37070230fb616e0018
Showing with 14 additions and 1 deletion.
  1. +13 −0 mkwww.sh
  2. +1 −1 www/docs.md
  3. 0 www/howto/dev/{loader.md → loaders.md}
View
@@ -11,6 +11,7 @@ BUILDWWW=$BUILD/www
MAN=$VD/visidata/man
TEST=$WWW/test
DESIGN=$WWW/design
HOWTODEV=$WWW/howto/dev
NEWS=$WWW/news
VIDEOS=$WWW/videos
HELP=$WWW/help
@@ -23,6 +24,7 @@ mkdir -p $BUILDWWW/man
mkdir -p $BUILDWWW/test
mkdir -p $BUILDWWW/docs
mkdir -p $BUILDWWW/design
mkdir -p $BUILDWWW/howto/dev
mkdir -p $BUILDWWW/about
mkdir -p $BUILDWWW/contributing
mkdir -p $BUILDWWW/help
@@ -115,6 +117,17 @@ for postpath in `find $DESIGN -name '*.md'`; do
rm -f $posthtml.body
done
# Build /howto/dev
for postpath in `find $HOWTODEV -name '*.md'`; do
post=${postpath##$HOWTODEV/}
postname=${post%.md}
mkdir -p $BUILDWWW/howto/dev/$postname
posthtml=$BUILDWWW/howto/dev/$postname/index
pandoc -r markdown -w html -o $posthtml.body $postpath
$VD/strformat.py body=$posthtml.body title=$postname head="" < $WWW/template.html > $posthtml.html
rm -f $posthtml.body
done
# Build /news
mkdir -p $BUILDWWW/news
$NEWS/mknews.py $NEWS/news.tsv > $BUILD/news.body
View
@@ -16,4 +16,4 @@ Creating a loader for a new data source is easy and usually takes only an hour o
Currently, VisiData supports [tsv, csv, json, html, sqlite, hdf5, xlsx, xls, shp, and mbtiles file formats. We would love to find devs interested in creating interfaces for all other data sources.
* [How to build a loader](/howto/loaders)
* [How to build a loader](/howto/dev/loaders)
File renamed without changes.

0 comments on commit 48e9f42

Please sign in to comment.