From 3eb76e105fc12cfcef119ef203abce8eb461aaf6 Mon Sep 17 00:00:00 2001 From: Pablo Santiago Blum de Aguiar Date: Mon, 25 Jan 2021 00:04:51 +0100 Subject: [PATCH] Change table structure --- docs/Themes.md | 234 +++++++++++++++------------------ tools/generate-themes-doc.fish | 25 ++-- 2 files changed, 118 insertions(+), 141 deletions(-) diff --git a/docs/Themes.md b/docs/Themes.md index b78ef27..3e49fb0 100644 --- a/docs/Themes.md +++ b/docs/Themes.md @@ -4,134 +4,112 @@
Expand for a table of themes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
agnostercmorrellfishfacejacaetevhaneolambdaridertechnopagan
aightcoffeeandcodefishy-drupaljohansonnumistrobbyrusselltoaster
ayscorfiskkawasakioceansashimitomita
barracudacyanflashkrisleechonescorphishtrout
batmandangerousfoxlpastfishshelldertweetjay
beloglazovdefaultgentoolambdaperryhsimple-ass-promptuggedal
biradmorrellgianulavenderpiesimpleviwill
bobthefishdoughsaygitstatuslolfishplainslackerwolf-theme
bongnostereclmgnuykeajmarspureslavic-catyimmy
boxfishedangodfathermishpygmalionsolarfishzeit
budspenceredengraystatusmokourandomspacefishzephyr
cbjohnsonemoji-powerlineharleenmtahmedrandomrusselsushizish
chainesidannaired-snappersyl20bnr 
clearancefishboneintegralnelsonjchenredfishtaktoa 
+
+ agnoster
+ aight
+ ays
+ barracuda
+ batman
+ beloglazov
+ bira
+ bobthefish
+ bongnoster
+ boxfish
+ budspencer
+ cbjohnson
+ chain
+ clearance
+
+ cmorrell
+ coffeeandcode
+ cor
+ cyan
+ dangerous
+ default
+ dmorrell
+ doughsay
+ eclm
+ edan
+ eden
+ emoji-powerline
+ es
+ fishbone
+
+ fishface
+ fishy-drupal
+ fisk
+ flash
+ fox
+ gentoo
+ gianu
+ gitstatus
+ gnuykeaj
+ godfather
+ graystatus
+ harleen
+ idan
+ integral
+
+ jacaetevha
+ johanson
+ kawasaki
+ krisleech
+ l
+ lambda
+ lavender
+ lolfish
+ mars
+ mish
+ mokou
+ mtahmed
+ nai
+ nelsonjchen
+
+ neolambda
+ numist
+ ocean
+ one
+ pastfish
+ perryh
+ pie
+ plain
+ pure
+ pygmalion
+ random
+ randomrussel
+ red-snapper
+ redfish
+
+ rider
+ robbyrussell
+ sashimi
+ scorphish
+ shellder
+ simple-ass-prompt
+ simplevi
+ slacker
+ slavic-cat
+ solarfish
+ spacefish
+ sushi
+ syl20bnr
+ taktoa
+
+ technopagan
+ toaster
+ tomita
+ trout
+ tweetjay
+ uggedal
+ will
+ wolf-theme
+ yimmy
+ zeit
+ zephyr
+ zish
+
+
+
*** diff --git a/tools/generate-themes-doc.fish b/tools/generate-themes-doc.fish index 4499e95..3a5d8fe 100755 --- a/tools/generate-themes-doc.fish +++ b/tools/generate-themes-doc.fish @@ -54,20 +54,19 @@ function __write_toc echo "Creating a $table_rows-row table" >&2 echo "
" >> $temp_theme_toc echo "Expand for a table of themes" >> $temp_theme_toc - echo "" >> $temp_theme_toc - for row in (seq $table_rows) - echo "" >> $temp_theme_toc - for col in (seq $TOC_TBL_COLS) - set -l idx (math "($col - 1) * $table_rows + $row") - test -z "$argv[$idx]" - and echo " " >> $temp_theme_toc - and continue - set -l name (basename $argv[$idx]) - echo " " >> $temp_theme_toc - end - echo "" >> $temp_theme_toc + echo "
 $name
" >> $temp_theme_toc + set -l i 0 + for i in (seq (math "$table_rows x $TOC_TBL_COLS")) + test -z "$argv[$i]" + and echo "
" >> $temp_theme_toc + and continue + set -l name (basename $argv[$i]) + echo " $name
" >> $temp_theme_toc + test (math "$i % $table_rows") = 0 + and test $i != $total + and echo "
" >> $temp_theme_toc end - echo "
" >> $temp_theme_toc + echo "" >> $temp_theme_toc echo "
" >> $temp_theme_toc echo -e "\n***" >> $temp_theme_toc end