Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show table of contents in each Rev News post #44

Open
tfnico opened this issue Apr 12, 2015 · 8 comments
Open

Show table of contents in each Rev News post #44

tfnico opened this issue Apr 12, 2015 · 8 comments

Comments

@tfnico
Copy link
Contributor

tfnico commented Apr 12, 2015

Since they are quite long..

@tfnico
Copy link
Contributor Author

tfnico commented May 15, 2015

Will require a plugin it seems: https://github.com/dafi/jekyll-toc-generator

@dscho
Copy link
Member

dscho commented Nov 17, 2017

You can always use a local script to generate a TOC from an existing Markdown file, e.g. using https://github.com/jonschlinkert/markdown-toc. Of course, this would be a manual step, but publishing Rev News is already a manual step, isn't it? BTW is it documented anywhere what the steps are? Or even better: is there a script already that performs the publication?

@tfnico
Copy link
Contributor Author

tfnico commented Nov 18, 2017

@chriscool would have to comment on the publishing process. I suspect it's a manual move of the draft into the right place/name and commit & push, then a mail written to the Git list with some copy/pasted content. Then comes the mailchimp routine later (@mjaix takes care of that these days).

Long story short, adding a toc command in there should be possible, but yeah, we should document the process then.

@chriscool
Copy link
Collaborator

Yeah, it is a manual process and @tfnico just documented it at a high level. I could automate some trivial steps, but at least at the beginning it will still need significant manual work for example to make sure the draft is sent to all the people who are concerned.

@dscho
Copy link
Member

dscho commented Nov 19, 2017 via email

@tfnico
Copy link
Contributor Author

tfnico commented Nov 19, 2017

Oh hey, I just found some more process has been written here already:

https://git.github.io/rev_news/news_sources/

I'll patch up that page a bit.

@allejo
Copy link

allejo commented Oct 2, 2019

Fast forward to 2019, there's now https://github.com/allejo/jekyll-toc that would let you achieve this on GitHub Pages without a plug-in or JS. Is this still something this project would be interested in?

@chriscool
Copy link
Collaborator

Yeah, I think it would be interesting to have a table of contents. Thanks your suggestion!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants