-
Notifications
You must be signed in to change notification settings - Fork 282
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
Comments
Will require a plugin it seems: https://github.com/dafi/jekyll-toc-generator |
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? |
@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. |
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. |
On Sat, 18 Nov 2017, Christian Couder wrote:
Yeah, it is a manual process and @tfnico just documented it at a high level.
That's good, that it is documented at last.
I could automate some trivial steps,
Please do.
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.
Why should that be manual? Would it not make for a much more robust
process if there was an explicit list "Mentioned people:" in the text, and
a script to collected the respective emails, say, from Git's .mailmap (and
possibly a new .mailmap in the git.github.io repository)?
In other words: why not make the process a lot more transparent (and
thereby automatable).
|
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. |
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? |
Yeah, I think it would be interesting to have a table of contents. Thanks your suggestion! |
Since they are quite long..
The text was updated successfully, but these errors were encountered: