Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

251
Views
How to compile Asciidoc document with "include" sections into a single adoc file

I'm using the spring-restdocs to generate a documentation for the project. The main asciidoc document includes other adoc snippets that describe request/response like:

include::{snippets}/projects/findOne_info/1/http-response.adoc[]

I'm using gradle and asciidoc plugin as described in spring documentation.

Having this, I can run gradle task to generate full documentation and get the html output.

What I want to do is that I want to include this documentation into github wiki as asciidoc, that's why I need to compile full documentation into adoc file instead of html. Is there a way of doing that?

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

See this script from the Asciidoctor extensions lab: https://github.com/asciidoctor/asciidoctor-extensions-lab/blob/master/scripts/asciidoc-coalescer.rb. It's not perfect, but it's a start.

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!