Skip to content

Commit 88ccdc5

Browse files
committed
Add download link
1 parent c0ee071 commit 88ccdc5

File tree

5 files changed

+12
-2
lines changed

5 files changed

+12
-2
lines changed

site.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,11 @@ content:
77
- url: '.'
88
branches: HEAD
99
start_path: src/docs/asciidoc
10+
edit_url: '{web_url}/edit/main/{path}'
1011
ui:
1112
bundle:
12-
url: https://github.com/Mogztter/mini-book-default-ui/releases/download/v0.2.2/ui-bundle.zip
13+
url: https://github.com/Mogztter/mini-book-default-ui/releases/download/v0.3.2/ui-bundle.zip
1314
snapshot: true
14-
supplemental_files: ./supplemental-ui
15+
supplemental_files: ./src/docs/supplemental-ui
1516
output:
1617
dir: ./public

src/docs/asciidoc/antora.yml

+4
Original file line numberDiff line numberDiff line change
@@ -16,3 +16,7 @@ asciidoc:
1616
1717
subject: JHipster
1818
keywords: JHipster, Angular, Bootstrap, Spring Boot, Spring Cloud, Spring Security, Microservices, Docker, Heroku, Security, JWT, OAuth 2.0, OIDC
19+
page-downloadable-asset-title: Download from
20+
page-downloadable-asset-keys: infoq
21+
page-downloadable-asset-infoq-link: https://infoq.com/minibooks/jhipster-mini-book
22+
page-downloadable-asset-infoq-icon: infoq

src/docs/supplemental-ui/css/book.css

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
.downloadable-asset svg {
2+
max-height: 1rem;
3+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
2+
<link rel="stylesheet" href="{{{uiRootPath}}}/css/book.css">

0 commit comments

Comments
 (0)