Commit graph

13 commits

Author SHA1 Message Date
zowoq 59b83c43e0 treewide: add final newline 2021-01-22 07:18:04 +10:00
Bjørn Forsman 8f13d3cada asciidoctor: add revealjs support
This allows creating HTML presentations with
`asciidoctor-revealjs presentation.adoc`.

NOTE: The generated HTML file implicitly depend on reveal.js (and I see
no good way to bundle it with Nix). Either provide reveal.js in a local
path next to the generated HTML file[1], or override the revealjsdir
attribute, for example by pointing to an URL (can also be a path):

  asciidoctor-revealjs -a revealjsdir=https://cdn.jsdelivr.net/npm/reveal.js@3.9.2 presentation.adoc

Implementation details:
1. Added "gem 'asciidoctor-revealjs'" to the Gemfile.
2. Ran "nix-shell -p bundler --run 'bundle lock --update'"
   from pkgs/tools/typesetting/asciidoctor/.
3. Hand edited Gemfile.lock to remove all but the asciidoctor-revealjs
   changes. (Rationale: allow backporting to release-20.09.)
4. Finish off with "nix-shell -p bundix --run 'bundix'".

[1] Of course Nix can help with _that_, but that's external to the
asciidoctor-revealjs program.
2020-12-05 15:20:35 +01:00
Michael Peyton Jones 42249205fe
asciidctor: include the asciidoctor-epub3 gem
This is another common output target for asciidctor that requires an
additional gem.

The previous commit is necessary for this to work, so that we get the
gem config for nokogiri correctly.
2019-07-04 13:16:23 +01:00
Sarunas Valaskevicius bfeaa8f7d6 asciidoctor: add rouge to dependencies 2019-06-26 21:05:21 +01:00
Michael Peyton Jones 3d1e0da1a7
asciidoctor: 1.5.7.1 -> 2.0.10
There has been a new major version, so it seems good to upgrade.

I had to drop two plugins:
- `asciidoctor-latex` seems dead, and hasn't had any commits since 2015.
- `asciidoctor-bespoke` also hasn't been updated for over a year, and
doesn't seem to be compatible with the new version.
2019-06-05 10:09:15 +01:00
Alyssa Ross 652e59965a
asciidoctor: rack: 2.0.5 -> 2.0.6
CVE-2018-16470: https://seclists.org/oss-sec/2018/q4/128
CVE-2018-16471: https://seclists.org/oss-sec/2018/q4/129
2018-11-06 09:23:28 +00:00
Michael Fellinger b42be7312d asciidoctor: 1.5.6.2 -> 1.5.7.1 2018-08-30 14:56:09 +02:00
Joe Hermaszewski 16bc4ffc85 asciidoctor: 1.5.6.1 -> 1.5.6.2, also add mathematical and coderay
`asciidoctor-mathematical` requires a few system dependencies to
compile, and some of these are not linked correctly into the resulting
shared object, so these are handled manually.

`asciidoctor-mathematical` and `coderay` are necessary to compile the
vulkan specification documentation.
2018-04-09 18:51:34 +08:00
Diego Zamboni 2656237ac9 asciidoctor: 1.5.5 -> 1.5.6.1 2017-10-21 16:44:59 +03:00
Pi3r 00105162f4 Asciidoctor: add pygments.rb (highlighter) to Gemfile (#22474) 2017-02-10 09:01:51 +00:00
koral c76f50fec6 asciidoctor: 1.5.4 -> 1.5.5 2016-10-31 10:15:18 +01:00
Yacine Hmito 863ba5c7e0 asciidoctor: Bumped yanked dependency
asciidoctor-latex: 1.5.0.6.dev -> 1.5.0.8.dev
See NixOS/nixpkgs/pull/15135#issuecomment-216984749
This optional dependency may be removed if this happens too often
2016-05-05 12:18:24 +02:00
Yacine Hmito d3421435e0 asciidoctor: Init at 1.5.4 2016-05-04 13:23:22 +02:00