summaryrefslogtreecommitdiff
path: root/bin/update_html
AgeCommit message (Collapse)Author
2020-11-17Add preliminary RELEASE.mdJohn J. Camilleri
2019-05-06update_html rewrites anchors which Pandoc 1.16 doesn't processJohn J. Camilleri
See #43
2018-12-10TOC for Markdown should now work for both Pandoc < 2.0 and >= 2.0John J. Camilleri
The use of $toc$ and $table-of-contents$ flags changed, see: https://pandoc.org/releases.html#pandoc-2.0-29-oct-2017 under "Behaviour changes"
2018-12-09Replace gf-refman.html with Markdown version gf-refman.mdJohn J. Camilleri
The raw HTML was invalid, and this way we use the common website template for a uniform look without any duplication. It seems gf-refman.html was once generated from txt2tags, although I have been unable to find this original .t2t file. I also tried to re-generate txt2tags from HTML but was not able to. However I was able to convert HTML to Markdown using Pandoc and I think the result is pretty good, so I think we should use this. The original gf-refman.html can be obtained from git history, e.g.: https://github.com/GrammaticalFramework/gf-core/blob/a7e43d872f5e612f93131f2d8caf811fbee9aa83/doc/gf-refman.html
2018-12-08Regnerate HTML if template changesJohn J. Camilleri
2018-12-06Add some documentation to update_htmlJohn J. Camilleri
2018-12-06Case-insensitve sed replacements handled the dumb wayJohn J. Camilleri
Because BSD sed != GNU sed
2018-12-06Fix linking to chapters in gf-tutorial; Remove reference to Htmls.John J. Camilleri
2018-12-05Rewrite <a name=...> to <div id=...> to preserve page anchors in PandocJohn J. Camilleri
2018-11-29Rename _template.html to template.htmlJohn J. Camilleri
2018-11-27Work on new download page. Change 18-12 to 4.0.0John J. Camilleri
2018-11-08Add download/index.md as demo of working Markdown rendering to HTMLJohn J. Camilleri
Archive 3.9 pages and mark current ones for 18-12
2018-11-04New update_html runx txt2tags followed by pandocJohn J. Camilleri
TODO: handle txt2tags macros in date, e.g. `%%mtime(%F)` in download/encoding-change.t2t
2018-11-04Links in footerJohn J. Camilleri
2018-11-04Comments in update_html scriptJohn J. Camilleri
2018-11-04update_html also takes individual argumentsJohn J. Camilleri
2018-11-04Use Pandoc instead of txt2tags binary, much more configurableJohn J. Camilleri
2018-10-31pre and post HTML templates for all txt2tags conversionsJohn J. Camilleri
Remaining: cleaning of t2t files (remove unnecessary options)
2017-08-11Final changes before the release of GF 3.9Thomas Hallgren
2010-12-22Documentation fixeshallgren
+ Rename some txt2tags file from .txt to .t2t and remove abandoned .txt files. + Add program update_html that finds all .t2t documents and updates the corresponding .html file. It can be invoked with 'make html'. + Add style to some .html documents