Questions tagged [antora]

24 questions
9
votes
2 answers

Antora top navigation bar customization

My question is quite simple though I cannot find anything that points to it in the documentation. I am generating documentation for a project with the default generator in Antora but I cannot figure out how to customize the top navigation bar, items…
Germán Diago
  • 7,473
  • 1
  • 36
  • 59
4
votes
1 answer

No images in generated PDF document (from Asciidoc to PDF)

I'm generating a PDF document from asciidoc with asciidoctor-web-pdf. So far most tasks work fine. asciidoctor-web-pdf -a stylesheet="asciidoctor-pdf/css/asciidoctor.css,asciidoctor-pdf/css/document.css,assets/pdf-export/custom.css" \ …
3
votes
0 answers

Antora playbook execution crashes when having multiple source repositories

I use Antora 2.3 since sometime now and I had to introduce more source repositories into my playbook.yaml file as the documentation-site grew. Currently, I have 50-60 Git repos, each of size around 15 MB, mentioned in the playbook. Afterwards, my…
Kal_331
  • 31
  • 3
3
votes
1 answer

Antora supplemental-ui removing max-width from doc in doc.css

I am using antora for documenting a product architecture specification. We have large diagrams so allowing the svg images to scale up as large as possible when maximizing the browser window is a big plus. I am not even a css novice. I know almost…
jj2f1
  • 300
  • 1
  • 7
2
votes
1 answer

How can I include custom CSS, HTML and Javascript in Antora?

Is there a 'native' way to include your own HTML, CSS and Javascript page in an Antora generated site? Including an HTML file in the Asciidoc source with inline CSS styling works for only HTML and CSS like this (see the attached image for the…
user486185
  • 55
  • 4
2
votes
1 answer

How to add a blank caption for a figure in AsciiDoc

I have an AsciiDoc page which has a number of images. I am converting this into html via antora. On my AsciiDoc page, some of the images have a caption and some do not. For the images with a caption, the first one is named "Figure 1. Some…
didjek
  • 393
  • 5
  • 16
2
votes
0 answers

PDF embedded in the same pane in asciidoc

I need to embed the PDF in asciidoc with all other file. I'm able to add the pdf link but when I click on it, it opens in the new tab of the browser rather than in the same tab and within the same pane so that it would be easier to see the table of…
sam
  • 29
  • 3
2
votes
2 answers

Connect to Google Cloud Source Repository from Antora

I am using Antora to generate a static site for our documentation. I have followed their guidance for private repository authentication but are being unsuccessful. It seems that they only support HTTPS Basic Auth for GIT over HTTPS. I have tried…
2
votes
3 answers

error: can not read an implicit mapping pair; a colon is missed at line 8, column 65:"

yml file on Antora using powershell so I am getting this error, please help me out to resolve it."error: can not read an implicit mapping pair; a colon is missed at line 8, column 65:" I have tried adding colon to line number 8 site: title: Antora…
Rashmi
  • 31
  • 1
  • 1
  • 2
1
vote
1 answer

Custom css with supplemental-ui in Antora does not work

According to UI-supplemental-files and Stackoverflow antora-top-navigation-bar-customization I replaced my top navigation (supplemental-ui/partials/header-content.hbs), but the same thing for CSS doesn't work as expected. Here is my folder…
theuema
  • 83
  • 5
1
vote
1 answer

Antora - Keep navigation menu expanded while clicking any of the items in the menu

I've set the left navigation menu like this * link:page1.adoc[Item 1] ** link:item2.adoc[Item 2] *** link:item3.adoc[Item 3] * link:item4.adoc[Item 4] But when I open any page in browser, the navigation is collapsed by default. If I expand the menu…
1
vote
1 answer

css or other antora / asciidoc options to display svg tooltips form html files

I was sort of shocked to learn that tooltips in svg images don't display when an image is part of an html page inside a tag. I found a reference with some options; https://stackoverflow.com/a/28917577/8980882. Here tag can…
jj2f1
  • 300
  • 1
  • 7
1
vote
1 answer

How to include PlantUML in Asciidoc with Antora?

I would like to inlcude a PlantUML file inside an Asciidoc file and build an Antora site. foo.adoc [plantuml, bar, svg] .... include::bar.puml[] .... bar.puml @startuml <... valid PlantUML> @enduml The PlantUML does show up correctly inside my IDE…
Miracoly
  • 63
  • 7
1
vote
1 answer

How to make label pop up when text hovered over using css only

I have a list of links on the left hand side of the page. I would like to improve this list so that when I put the cursor over an item in this list, some sort of label appears which gives a brief description about what the link is pointing to. The…
didjek
  • 393
  • 5
  • 16
1
vote
1 answer

How to add specific css properties for table header, row and cell elements in Asciidoc

It is possible to add specific classes to a table in asciidoc, as follows: ASCIIDOC [.custom] [cols="40a,80a",options="header"] |=== |First Name |Family Name |John |Smith |== HTML (after Antora run)
didjek
  • 393
  • 5
  • 16
1
2