Commit 85ebfb61 authored by hyeryung's avatar hyeryung

add preview-src

parent 070f6b6e
= Hardware and Software Requirements
Author Name
:idprefix:
:idseparator: -
:!example-caption:
:!table-caption:
//:page-role: -toc
:page-pagination:
[.float-group]
--
image:multirepo-ssg.svg[Multirepo SSG,180,135,float=right,role=float-gap]
Platonem complectitur mediocritatem ea eos.
Ei nonumy deseruisse ius.
Mel id omnes verear.
Vis no velit audiam, sonet <<dependencies,praesent>> eum ne.
*Prompta eripuit* nec ad.
Integer diam enim, dignissim eget eros et, ultricies mattis odio.
--
Vestibulum consectetur nec urna a luctus.
Quisque pharetra tristique arcu fringilla dapibus.
https://example.org[Curabitur,role=unresolved] ut massa aliquam, cursus enim et, accumsan lectus.
Mauris eget leo nunc, nec tempus mi? Curabitur id nisl mi, ut vulputate urna.
== Cu solet
Nominavi luptatum eos, an vim hinc philosophia intellegebat.
Lorem pertinacia `expetenda` et nec, [.underline]#wisi# illud [.line-through]#sonet# qui ea.
H~2~0.
E = mc^2^.
*Alphabet* *алфавит* _алфавит_ *_алфавит_*.
Eum an doctus <<liber-recusabo,maiestatis efficiantur>>.
Eu mea inani iriure.footnote:[Quisque porta facilisis tortor, vitae bibendum velit fringilla vitae! Lorem ipsum dolor sit amet, consectetur adipiscing elit.]
[,json]
----
{
"name": "module-name",
"version": "10.0.1",
"description": "An example module to illustrate the usage of package.json",
"author": "Author Name <author@example.com>",
"scripts": {
"test": "mocha",
"lint": "eslint"
}
}
----
.Example paragraph syntax
[,asciidoc]
----
.Optional title
[example]
This is an example paragraph.
----
.Optional title
[example]
This is an example paragraph.
.Summary *Spoiler Alert!*
[%collapsible]
====
Details.
Loads of details.
====
[,asciidoc]
----
Voila!
----
.Result
[%collapsible.result]
====
Voila!
====
=== Some Code
How about some code?
[,js]
----
vfs
.src('js/vendor/*.js', { cwd: 'src', cwdbase: true, read: false })
.pipe(tap((file) => { // <.>
file.contents = browserify(file.relative, { basedir: 'src', detectGlobals: false }).bundle()
}))
.pipe(buffer()) // <.>
.pipe(uglify())
.pipe(gulp.dest('build'))
----
<.> The `tap` function is used to wiretap the data in the pipe.
<.> Wrap each streaming file in a buffer so the files can be processed by uglify.
Uglify can only work with buffers, not streams.
Execute these commands to validate and build your site:
$ podman run -v $PWD:/antora:Z --rm -t antora/antora \
version
3.0.0
$ podman run -v $PWD:/antora:Z --rm -it antora/antora \
--clean \
antora-playbook.yml
Cum dicat #putant# ne.
Est in <<inline,reque>> homero principes, meis deleniti mediocrem ad has.
Altera atomorum his ex, has cu elitr melius propriae.
Eos suscipit scaevola at.
....
pom.xml
src/
main/
java/
HelloWorld.java
test/
java/
HelloWorldTest.java
....
Eu mea munere vituperata constituam.
[%autowidth]
|===
|Input | Output | Example
m|"foo\nbar"
l|foo
bar
a|
[,ruby]
----
puts "foo\nbar"
----
|===
Here we just have some plain text.
[source]
----
plain text
----
[.rolename]
=== Liber recusabo
Select menu:File[Open Project] to open the project in your IDE.
Per ea btn:[Cancel] inimicus.
Ferri kbd:[F11] tacimates constituam sed ex, eu mea munere vituperata kbd:[Ctrl,T] constituam.
.Sidebar Title
****
Platonem complectitur mediocritatem ea eos.
Ei nonumy deseruisse ius.
Mel id omnes verear.
Altera atomorum his ex, has cu elitr melius propriae.
Eos suscipit scaevola at.
****
No sea, at invenire voluptaria mnesarchum has.
Ex nam suas nemore dignissim, vel apeirian democritum et.
At ornatus splendide sed, phaedrum omittantur usu an, vix an noster voluptatibus.
---
.Ordered list with customized numeration
[upperalpha]
. potenti donec cubilia tincidunt
. etiam pulvinar inceptos velit quisque aptent himenaeos
. lacus volutpat semper porttitor aliquet ornare primis nulla enim
Natum facilisis theophrastus an duo.
No sea, at invenire voluptaria mnesarchum has.
.Unordered list with customized marker
[square]
* ultricies sociosqu tristique integer
* lacus volutpat semper porttitor aliquet ornare primis nulla enim
* etiam pulvinar inceptos velit quisque aptent himenaeos
Eu sed antiopam gloriatur.
Ea mea agam graeci philosophia.
[circle]
* circles
** circles
*** and more circles!
At ornatus splendide sed, phaedrum omittantur usu an, vix an noster voluptatibus.
* [ ] todo
* [x] done!
Vis veri graeci legimus ad.
sed::
splendide sed
mea::
tad::
agam graeci
Let's look at that another way.
[horizontal]
sed::
splendide sed
mea::
agam graeci
At ornatus splendide sed.
.Library dependencies
[#dependencies%autowidth%footer,stripes=hover]
|===
|Library |Version
|eslint
|^1.7.3
|eslint-config-gulp
|^2.0.0
|expect
|^1.20.2
|istanbul
|^0.4.3
|istanbul-coveralls
|^1.0.3
|jscs
|^2.3.5
h|Total
|6
|===
Cum dicat putant ne.
Est in reque homero principes, meis deleniti mediocrem ad has.
Altera atomorum his ex, has cu elitr melius propriae.
Eos suscipit scaevola at.
[TIP]
This oughta do it!
Cum dicat putant ne.
Est in reque homero principes, meis deleniti mediocrem ad has.
Altera atomorum his ex, has cu elitr melius propriae.
Eos suscipit scaevola at.
[NOTE]
====
You've been down _this_ road before.
====
Cum dicat putant ne.
Est in reque homero principes, meis deleniti mediocrem ad has.
Altera atomorum his ex, has cu elitr melius propriae.
Eos suscipit scaevola at.
[WARNING]
====
Watch out!
====
[CAUTION]
====
[#inline]#I wouldn't try that if I were you.#
====
[IMPORTANT]
====
Don't forget this step!
====
.Key Points to Remember
[TIP]
====
If you installed the CLI and the default site generator globally, you can upgrade both of them with the same command.
$ npm i -g @antora/cli @antora/site-generator
Or you can install the metapackage to upgrade both packages at once.
$ npm i -g antora
====
Nominavi luptatum eos, an vim hinc philosophia intellegebat.
Eu mea inani iriure.
[discrete]
== Voluptua singulis
[discrete]
=== Nominavi luptatum
Cum dicat putant ne.
Est in reque homero principes, meis deleniti mediocrem ad has.
Ex nam suas nemore dignissim, vel apeirian democritum et.
.Antora is a multi-repo documentation site generator
image::multirepo-ssg.svg[Multirepo SSG,3000,opts=interactive]
.Let's see that again, but a little smaller
image::multirepo-ssg.svg[Multirepo SSG,300,role=text-left]
Make the switch today!
.Full Circle with Jake Blauvelt
video::300817511[vimeo,640,360,align=left]
[#english+中文]
== English + 中文
Altera atomorum his ex, has cu elitr melius propriae.
Eos suscipit scaevola at.
[,'Famous Person. Cum dicat putant ne.','Cum dicat putant ne. https://example.com[Famous Person Website]']
____
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Mauris eget leo nunc, nec tempus mi? Curabitur id nisl mi, ut vulputate urna.
Quisque porta facilisis tortor, vitae bibendum velit fringilla vitae!
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Mauris eget leo nunc, nec tempus mi? Curabitur id nisl mi, ut vulputate urna.
Quisque porta facilisis tortor, vitae bibendum velit fringilla vitae!
____
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
[verse]
____
The fog comes
on little cat feet.
____
== Fin
That's all, folks!
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 30">
<defs>
<filter id="b" width="1.041" height="1.058" x="-.021" y="-.029" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation=".172"/>
</filter>
<filter id="a" width="1.021" height="1.029" x="-.01" y="-.014" color-interpolation-filters="sRGB">
<feGaussianBlur stdDeviation=".086"/>
</filter>
</defs>
<rect width="20.063" height="14.331" x="9.968" y="14.969" fill="#3d3d3d" filter="url(#a)" rx="1.66" ry="1.66"/>
<path fill="#ff6f00" stroke-width="1.113" d="M27.364 4.53a3.8 3.8 0 0 0-1.201 7.406c.19.035.26-.082.26-.183l-.006-.707c-1.057.23-1.28-.449-1.28-.449-.173-.439-.422-.556-.422-.556-.345-.236.026-.23.026-.23.382.026.583.39.583.39.338.582.889.414 1.105.317.035-.246.133-.413.242-.508-.844-.096-1.732-.422-1.732-1.878 0-.415.149-.754.392-1.02-.04-.096-.17-.483.037-1.006 0 0 .319-.102 1.045.39.303-.085.628-.127.951-.128.323.001.648.043.952.128.725-.492 1.044-.39 1.044-.39.207.523.077.91.037 1.006.244.266.391.605.391 1.02 0 1.46-.889 1.78-1.735 1.875.137.118.258.349.258.703 0 .509-.004.918-.004 1.043 0 .101.068.22.26.183a3.8 3.8 0 0 0-1.203-7.406zm-2.377 5.413c-.008.02-.038.025-.065.012-.027-.013-.043-.038-.034-.057.008-.02.038-.025.065-.012.028.012.044.038.034.057zm.187.167c-.018.017-.053.01-.077-.017-.025-.027-.03-.062-.012-.08.02-.016.053-.008.078.018.025.027.03.062.011.08zm.128.213c-.023.017-.061.002-.085-.032-.023-.034-.023-.075.001-.09.024-.017.061-.002.085.031.023.034.023.075 0 .091zm.217.248c-.02.023-.065.016-.097-.015-.034-.03-.043-.074-.022-.097.021-.023.066-.017.098.015.033.03.043.074.021.097zm.28.083c-.009.03-.051.043-.094.03-.043-.012-.072-.047-.063-.077.01-.03.052-.044.095-.03.043.012.071.047.063.077zm.32.035c0 .032-.036.058-.081.058-.046.001-.082-.024-.083-.055 0-.031.036-.057.081-.058.046 0 .083.024.083.055zm.313-.012c.005.031-.026.062-.071.07-.044.009-.085-.01-.09-.04-.006-.032.026-.063.07-.071.045-.008.085.01.09.041z"/>
<path fill="#ff6f00" stroke-width=".902" d="M23.85 3.643L20.355.151a.515.515 0 0 0-.728 0l-.726.725.92.92a.612.612 0 0 1 .775.78l.887.887a.612.612 0 1 1-.367.345l-.827-.827v2.177a.613.613 0 1 1-.504-.018V2.943a.613.613 0 0 1-.333-.804l-.907-.907-2.395 2.395a.515.515 0 0 0 0 .729l3.493 3.493a.515.515 0 0 0 .728 0l3.477-3.477a.516.516 0 0 0 0-.729"/>
<g fill-rule="evenodd">
<path fill="#fc6d26" d="M16.363 7.948l-.425-1.309-.843-2.594a.145.145 0 0 0-.275 0l-.843 2.594h-2.799l-.843-2.594a.145.145 0 0 0-.275 0l-.843 2.594-.425 1.309a.29.29 0 0 0 .105.324l3.68 2.674 3.68-2.674a.29.29 0 0 0 .106-.324"/>
<path fill="#c43e00" d="M12.577 10.942l1.4-4.307h-2.8z"/>
<path fill="#ff6f00" d="M12.577 10.942l-1.399-4.307H9.217z"/>
<path fill="#ffa040" d="M9.217 6.631L8.792 7.94a.29.29 0 0 0 .105.324l3.68 2.674z"/>
<path fill="#c43e00" d="M9.217 6.632h1.961l-.843-2.594a.145.145 0 0 0-.275 0z"/>
<path fill="#ff6f00" d="M12.578 10.942l1.4-4.307h1.96z"/>
<path fill="#ffa040" d="M15.938 6.631l.426 1.309a.29.29 0 0 1-.106.324l-3.68 2.674z"/>
<path fill="#c43e00" d="M15.938 6.632h-1.961l.843-2.594a.145.145 0 0 1 .275 0z"/>
</g>
<g fill="none" stroke="#ff6f00" stroke-linecap="round" stroke-linejoin="round" stroke-width=".38">
<path d="M27.364 12.94v3.1M20 9v8.1M12.578 11.94v4.1"/>
</g>
<rect width="20.063" height="14.331" x="9.968" y="14.969" fill="#505050" rx="1.66" ry="1.66"/>
<rect width="20.063" height="14.331" x="9.968" y="14.969" fill="#484848" fill-opacity=".953" filter="url(#b)" rx="1.66" ry="1.66"/>
<rect width="18.339" height="12.762" x="10.83" y="15.754" fill="#3d3d3d" rx=".42" ry=".42"/>
<path fill="none" stroke="#ff6f00" stroke-linecap="round" stroke-linejoin="round" stroke-width=".24" d="M18.222 17.496h-6.35"/>
<rect width="7.365" height="5.758" x="20.885" y="16.897" fill="#a1a1a1" rx=".4" ry=".4"/>
<path fill="#ff6f00" d="M25.399 18.297c.367 0 2.242 3.657 2.058 3.975-.183.318-5.797.318-5.98 0-.184-.318 3.555-3.975 3.922-3.975z"/>
<g fill="none" stroke="#ff6f00" stroke-linecap="round" stroke-linejoin="round" stroke-width=".24">
<path d="M17.163 19.437h-5.292M17.163 20.437h-5.292M15.047 21.437h-3.175"/>
</g>
<path fill="#a1a1a1" d="M11.848 25.486a.099.099 0 0 0-.098.1v2.929h.183V25.68c0-.014.012-.025.025-.025h16.083c.014 0 .025.011.025.025v2.834h.183v-2.928c0-.056-.043-.1-.097-.1z"/>
<path fill="#505050" d="M11.958 25.656a.025.025 0 0 0-.025.025v2.839h16.133V25.68a.025.025 0 0 0-.024-.025z"/>
<g fill="none" stroke="#ff6f00" stroke-linecap="round" stroke-linejoin="round">
<g stroke-width=".2">
<path d="M15.124 26.486h-2.117M17.77 26.486h-1.587M16.912 28.074h-2.117M15.653 27.245h-1.587"/>
</g>
<path stroke-width=".24" d="M17.163 24.671h-5.292"/>
<path stroke-width=".2" d="M20.416 26.486h-1.587"/>
</g>
</svg>
antoraVersion: '1.0.0'
site:
url: http://localhost:5252
title: Brand Docs
homeUrl: &home_url /xyz/5.2/index.html
components:
- name: abc
title: Project ABC
url: '#'
versions:
- &latest_version_abc
url: '#'
version: '1.1'
displayVersion: '1.1'
- url: '#'
version: '1.0'
displayVersion: '1.0'
latestVersion: *latest_version_abc
- &component
name: xyz
title: &component_title Project XYZ
url: /xyz/6.0/index.html
versions:
- &latest_version_xyz
url: /xyz/6.0/index.html
version: '6.0'
displayVersion: '6.0'
- &component_version
title: *component_title
url: '#'
version: '5.2'
displayVersion: '5.2'
- url: '#'
version: '5.1'
displayVersion: '5.1'
- url: '#'
version: '5.0'
displayVersion: '5.0'
latestVersion: *latest_version_xyz
- name: '123'
title: Project 123
url: '#'
versions:
- &latest_version_123
url: '#'
version: '2.2'
displayVersion: '2.2'
- url: '#'
version: '2.1'
displayVersion: '2.1'
- url: '#'
version: '2.0'
displayVersion: '2.0'
latestVersion: *latest_version_123
page:
url: *home_url
home: true
title: Brand&#8217;s Hardware &amp; Software Requirements
component: *component
componentVersion: *component_version
version: '5.2'
displayVersion: '5.2'
module: ROOT
relativeSrcPath: index.adoc
editUrl: http://example.com/project-xyz/blob/main/index.adoc
origin:
private: false
previous:
content: Quickstart
url: '#'
urlType: 'internal'
next:
content: Liber Recusabo
url: '#'
urlType: 'internal'
breadcrumbs:
- content: Quickstart
url: '#'
urlType: fragment
- content: Brand&#8217;s Hardware &amp; Software Requirements
url: /xyz/5.2/index.html
urlType: internal
versions:
- version: '6.0'
displayVersion: '6.0'
url: '#'
- version: '5.2'
displayVersion: '5.2'
url: '#'
- version: '5.1'
displayVersion: '5.1'
url: '#'
- version: '5.0'
displayVersion: '5.0'
missing: true
url: '#'
navigation:
- root: true
items:
- content: Quickstart
url: '#'
urlType: fragment
items:
- content: Brand&#8217;s Hardware &amp; Software Requirements
url: /xyz/5.2/index.html
urlType: internal
- content: Cu Solet
url: '/xyz/5.2/index.html#cu-solet'
urlType: internal
- content: English + 中文
url: '/xyz/5.2/index.html#english+中文'
urlType: internal
- content: Liber Recusabo
url: '#liber-recusabo'
urlType: fragment
- content: Reference
items:
- content: Keyboard Shortcuts
url: '#'
urlType: fragment
- content: Importing and Exporting
url: '#'
urlType: fragment
- content: Some Code
url: '/xyz/5.2/index.html#some-code'
urlType: internal
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment