dfhack/docs/plugins
myk002 f7acc5cfc6
sync tags spreadsheet to git
spreadsheet - https://docs.google.com/spreadsheets/d/1hiDlo8M_bB_1jE-5HRs2RrrA_VZ4cRu9VXaTctX_nwk/edit#gid=170388995
sync command - for fname in *rst; do name=$(echo $fname | sed 's/[.]rst//'); tagline=$(egrep ",$name," ~/Downloads/DFHack\ taxonomy\ -\ Tool\ tags.csv | ~/Downloads/csvtotags.sh); sed -ri "s;[*]*Tags:.*;$tagline;" $fname; done
contents of csvtotags.sh -

fgrep . | sed -r 's/^[^,]+,([^,]+),[^.]+[.]"?,/\1,/' | awk -F, '
function tag(idx, tagname) {
    if ($idx == "TRUE") {
        if (hastag == 1) {printf(", ")}
        printf("`tag/%s`", tagname)
        hastag = 1
    }
}

{
printf("%s", "**Tags:** ")

hastag = 0
tag(2, "adventure")
tag(3, "fort")
tag(4, "legends")
tag(5, "embark")
tag(6, "system")
tag(7, "dev")
tag(8, "auto")
tag(9, "productivity")
tag(10, "inspection")
tag(11, "design")
tag(12, "quickfort")
tag(13, "interface")
tag(14, "fps")
tag(15, "fix")
tag(16, "mod")
tag(17, "armok")
tag(18, "animals")
tag(19, "buildings")
tag(20, "items")
tag(21, "jobs")
tag(22, "map")
tag(23, "labors")
tag(24, "units")
tag(25, "stockpiles")
tag(26, "trees")

printf("\n")
}
'
2022-08-05 17:55:33 -07:00
..
3dveins.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
RemoteFortressReader.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
add-spatter.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
autobutcher.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
autochop.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
autoclothing.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
autodump.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
autofarm.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
autogems.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
autohauler.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
autolabor.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
automaterial.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
automelt.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
autonestbox.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
autotrade.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
blueprint.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
building-hacks.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
buildingplan.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
burrows.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
changeitem.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
changelayer.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
changevein.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
cleanconst.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
cleaners.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
cleanowned.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
command-prompt.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
confirm.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
createitem.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
cursecheck.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
cxxrandom.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
debug.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
deramp.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
dig-now.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
dig.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
digFlood.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
diggingInvaders.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
dwarfmonitor.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
dwarfvet.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
embark-assistant.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
embark-tools.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
eventful.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
fastdwarf.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
filltraffic.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
fix-unit-occupancy.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
fixveins.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
flows.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
follow.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
forceequip.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
generated-creature-renamer.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
getplants.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
hotkeys.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
infiniteSky.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
isoworldremote.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
jobutils.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
labormanager.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
lair.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
liquids.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
luasocket.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
manipulator.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
map-render.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
misery.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
mode.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
mousequery.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
nestboxes.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
orders.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
pathable.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
petcapRemover.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
plants.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
power-meter.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
probe.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
prospector.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
regrass.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
rename.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
rendermax.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
resume.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
reveal.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
ruby.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
search.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
seedwatch.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
showmood.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
siege-engine.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
sort.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
spectate.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
steam-engine.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
stockflow.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
stockpiles.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
stocks.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
stonesense.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
strangemood.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
tailor.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
tiletypes.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
title-folder.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
title-version.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
trackstop.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
tubefill.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
tweak.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
workNow.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
workflow.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
xlsxreader.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00
zone.rst sync tags spreadsheet to git 2022-08-05 17:55:33 -07:00