nushell / nu_scripts

A place to share Nushell scripts with each other
MIT License
755 stars 229 forks source link

Automatic TOC generation #4

Open kubouch opened 3 years ago

kubouch commented 3 years ago

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.

fdncred commented 3 years ago

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.

ibraheemdev commented 3 years ago

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

fdncred commented 3 years ago

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.