Coder Social home page Coder Social logo

Comments (6)

aalmiray avatar aalmiray commented on June 11, 2024

Crazy idea: have asciidoctor-gradle include a copy of these external resources and apply a regex substitution so that the generated xml points to the local resources /cc @rwinch

from asciidoctor-gradle-plugin.

ysb33r avatar ysb33r commented on June 11, 2024

If the intended switchover to prawn goes ahead, can we test that --offline works for PDF generation and as such reduce this to a non-issue?

P.S. I would be happy to help with some manual testing

from asciidoctor-gradle-plugin.

mojavelinux avatar mojavelinux commented on June 11, 2024

Asciidoctor PDF does not use the internet for any part of the core processing, so this will become a non-issue.

Because of the large investment in the DocBook toolchain, I do still see value in documenting how to use AsciiDoc in a documentation pipeline driven by Gradle. Keep in mind that fopub was just intended as a simple way to run the DocBook toolchain without having anything installed (e.g., ala carte, no build). In the Gradle ecosystem, it makes more sense to document how to chain together the Asciidoctor Gradle plugin with the jDocBook plugin to meet the requirement of using PDF output generated by Apache FOP.

from asciidoctor-gradle-plugin.

aalmiray avatar aalmiray commented on June 11, 2024

Explicit fopub support is no longer provided by the plugin since 0.7.2

from asciidoctor-gradle-plugin.

mojavelinux avatar mojavelinux commented on June 11, 2024

I'll emphasize two things in support of this rejecting this issue.

First, it's important to keep in mind that the whole purpose of fopub is to run the DocBook toolchain outside of a build tool (i.e., from the commandline). When you are in Gradle, you can just use the jDocBook plugin (for reference, see the Spring Framework build). There's really no reason to support fopub in Gradle.

Second, https://www.youtube.com/watch?v=fjsSr3z5nVk

from asciidoctor-gradle-plugin.

ysb33r avatar ysb33r commented on June 11, 2024

I'm cool with this.

from asciidoctor-gradle-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.