Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

245
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda