Commit Graph

23 Commits

Author SHA1 Message Date
Chris Martin
5ae6e17795 kindlegen: remove the package (closes #96439) 2021-03-10 07:33:53 +00: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
Evils
a9f7c1022e asciidoctor: fix dangling ascidoctor-safe symlink
as such a binary does not appear to be in the gem
2020-05-15 15:26:16 +02:00
Michael Reilly
84cf00f980
treewide: Per RFC45, remove all unquoted URLs 2020-04-10 17:54:53 +01:00
Nick Novitski
7136e0d0a6 bundlerUpdateScript: init and use (#64822) 2019-07-22 12:02:47 +00:00
zimbatm
f726160556
asciidoctor: fix update.sh 2019-07-04 18:09:15 +02:00
Michael Peyton Jones
d6b7b2a8cf
asciidoctor: wrap asciidoctor-epub3 for epubcheck and kindlegen
kindlegen is unfree, so we don't include it by default. The derivation
can be overridden to include it.
2019-07-04 15:07:20 +01:00
Michael Peyton Jones
855936370c
asciidoctor: address review comments 2019-07-04 13:51:08 +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
Michael Peyton Jones
5f0c43dea4
asciidoctor: move mathematical gem config to default gemset config
This has two benefits:
- Anyone else using the `mathematical` gem will benefit from the config.
- The gem config overrides the default one, so we were losing the fixes
for other gems.

I had to change how the update script works. Now it looks at the `gems`
passthru from `bundlerApp`.
2019-07-04 13:16:03 +01:00
Danylo Hlynskyi
a772b8633f asciidoctor: add update.sh for dependency updates 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
Matthew Bauer
290a5d916e treewide: update homepages to https where available
Based on "problems" from repology:

https://repology.org/repository/nix_unstable/problems

Mostly simple changes to reflect redirects.
2019-04-15 10:10:05 -04:00
Michael Fellinger
b42be7312d asciidoctor: 1.5.6.2 -> 1.5.7.1 2018-08-30 14:56:09 +02:00
volth
cd6e2c9642 undo: try for zero rebuild on ofborg 2018-07-21 02:48:05 +00:00
Frederik Rietdijk
ddcdc0f10a asciidoctor: remove mathematical from wrapper, fixes #39098
because it does not exist in the original derivation, breaking
installation with `nix-env`. Should asciidoctor-mathematical exist?
2018-04-21 09:37:35 +02:00
Joe Hermaszewski
dea879f8df asciidoctor: Only run patchelf on Linux 2018-04-12 20:14:20 +08:00
Joe Hermaszewski
cb3f5a2d9c asciidoctor: Use an explicit path to patchelf
Hopefully fixing the Darwin build
2018-04-10 11:34:24 +08: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
zimbatm
6f56749b07 asciidoctor: expose all the bins
asciidoctor has multiple binaries, expose them all to the user
2018-02-09 14:40:22 +00:00
Eric Sagnes
3d8f85797a asciidoctor: use ruby 2.3 2017-08-11 11:13:31 +09:00
zimbatm
aa01863858 asciidoctor: simplify 2016-10-08 22:38:57 +01:00
Yacine Hmito
d3421435e0 asciidoctor: Init at 1.5.4 2016-05-04 13:23:22 +02:00