nu_scripts icon indicating copy to clipboard operation
nu_scripts copied to clipboard

Automatic TOC generation

Open kubouch opened this issue 4 years ago • 3 comments

Just to log the discussion from #1 here.

Would be good to have a) a table of contents listing all scripts, b) some system to generate it automatically so we don't have to update it manually.

kubouch avatar Jan 23 '21 23:01 kubouch

We're looking for volunteers to write such a script that anyone can run locally prior to submitting a PR for script additions or changes.

fdncred avatar Jan 24 '21 14:01 fdncred

GitHub cannot do this automatically (isaacs/github#215) so we can use a tool like github-markdown-toc.

ibraheemdev avatar Jan 31 '21 02:01 ibraheemdev

I wrote a script called make_readme_table.nu and put it in this repo. It doesn't do it "automatically" but it's a start if someone wants to take over and play with it.

fdncred avatar Feb 01 '21 16:02 fdncred