about summary refs log tree commit diff stats
path: root/tools
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-05-01 23:52:28 -0700
committerKartik Agaram <vc@akkartik.com>2021-05-01 23:52:28 -0700
commitf0e146fc7b947bae526657d8c858a95319abf204 (patch)
tree3886f4caa82a689df431b1342c85fa02dd138526 /tools
parentf3fe2ac1953118b1a93828c718eaa9bdb3397939 (diff)
downloadmu-f0e146fc7b947bae526657d8c858a95319abf204.tar.gz
.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/update_html45
1 files changed, 1 insertions, 44 deletions
diff --git a/tools/update_html b/tools/update_html
index c395f675..c1d2b70b 100755
--- a/tools/update_html
+++ b/tools/update_html
@@ -19,7 +19,7 @@ process() {
 URL_BASE='https://github.com/akkartik/mu/blob/main'
 
 convert_html() {
-  vim -c "set number" -c TOhtml -c write -c qall $1
+  vim -u $MYVIM/vimrc.vim -c "set number" -c TOhtml -c write -c qall $1
 
   sed -i 's,<title>.*/mu/,<title>Mu - ,' $1.html
   sed -i 's,\.html</title>,</title>,' $1.html
@@ -62,47 +62,4 @@ do
   process $f
 done
 
-( cd linux
-  ctags -x [0-9]*.subx [0-9]*.mu  > /tmp/tags
-)
-for f in linux/[0-9]*.subx linux/[0-9]*.mu
-do
-  process $f
-done
-
-for f in linux/[^0-9]*.subx linux/[^0-9]*.mu
-do
-  ( cd $(dirname $f)
-    ctags -x [0-9]*.subx [0-9]*.mu $(basename $f)  > /tmp/tags
-  )
-  process $f
-done
-
-for f in linux/advent2020/*.mu
-do
-  ( cd $(dirname $f)
-    ctags -x ../[0-9]*.subx ../[0-9]*.mu $(basename $f) > /tmp/tags
-  )
-  process $f
-done
-
-for dir in linux/raytracing linux/tile
-do
-  ( cd $dir
-    ctags -x ../[0-9]*.subx ../[0-9]*.mu *.mu > /tmp/tags
-  )
-  for f in $dir/*.mu
-  do
-    process $f
-  done
-done
-
-( cd linux/bootstrap
-  ctags -x *.cc  |grep -v '^. '  > /tmp/tags  # don't hyperlink every 'i' to the integer register variant
-)
-for f in linux/bootstrap/*.cc
-do
-  process $f
-done
-
 rm /tmp/tags