roboticslab-uc3m / questions-and-answers

A place for general debate and question&answer
https://robots.uc3m.es/developer-manual/appendix/repository-index.html
2 stars 0 forks source link

Automate generation/update of SUMMARY.md and TOC #64

Closed jgvictores closed 5 years ago

jgvictores commented 6 years ago

Copied from original issue: roboticslab-uc3m/installation-guides#42 From @jgvictores on April 20, 2018 9:11

Automate generation/update of SUMMARY.md. Could be done with Python in few lines of code.

PD: Idea: automate periodically

jgvictores commented 6 years ago

Best if done for trees like https://github.com/asrob-uc3m/tutoriales

jgvictores commented 6 years ago
jgvictores commented 6 years ago

Pretty good experiences with both tools above. Drawbacks:

PeterBowman commented 5 years ago

Some links:

jgvictores commented 5 years ago

Yet another resource: https://github.com/rossant/awesome-math/blob/master/build_toc.py

jgvictores commented 5 years ago

"Automate generation/update of SUMMARY.md" https://github.com/roboticslab-uc3m/installation-guides/issues/58 was closed via https://github.com/roboticslab-uc3m/installation-guides/commit/ba39b0bf0f740d54ba7d4d4353cea73a9c8b87f2

jgvictores commented 5 years ago

Note: gitbook-plugin-summary != gitbook-summary (we use this last one)

jgvictores commented 5 years ago

Closing via: TOC: https://github.com/asrob-uc3m/tutoriales/blob/db020e2d663cbb1a2dfb151d60d0c21358a1119a/writing/markdown.md#herramientas SUMMARY: https://github.com/roboticslab-uc3m/installation-guides/blob/8a9968dbf9820df8287c044e1621b61024112c91/install-gitbook.md#additional-tools

jgvictores commented 3 years ago

TOC: https://github.com/asrob-uc3m/tutoriales/blob/db020e2d663cbb1a2dfb151d60d0c21358a1119a/writing/markdown.md#herramientas

Updated with info on https://github.com/aleung/gitbook-plugin-page-toc at https://github.com/asrob-uc3m/tutoriales/commit/087824b195c7a2629c9187c35e4f21848af1f9d6

jgvictores commented 3 years ago

Updated with info on https://github.com/aleung/gitbook-plugin-page-toc at asrob-uc3m/tutoriales@087824b

https://github.com/roboticslab-uc3m: gitbook-plugin-page-toc now used on the 3 repos that use gitbook as of https://github.com/roboticslab-uc3m/developer-manual/blob/357d3d8644ca55e7a6961f702ac95cf3be8e57d4/appendix/repository-index.md (aproximate commits):

https://github.com/asrob-uc3m: gitbook-plugin-page-toc now used on the 2/6 repos that use gitbook (open-source, legacy, migrated to robots server) as of 2020/11/13 state of https://github.com/asrob-uc3m/actas/issues/148#issuecomment-699609887

As a result, many commits have also been dedicated to:

jgvictores commented 3 years ago

Note that the plugin mechanism seems much more elegant. Has been adopted fot TOC. A solution such as https://github.com/julianxhokaxhiu/gitbook-plugin-summary (if satisfies requirements) could be adopted org-wise, as an alternative to the current approach of https://github.com/roboticslab-uc3m/installation-guides/tree/09ffe48fd158656bb6359b4f3969948d2a94d4cd