Skip to content

Commit

Permalink
use antora for documentation
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Aguilera <[email protected]>
  • Loading branch information
jagedn committed Jul 24, 2024
1 parent 47ed698 commit 7f9a542
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 14 deletions.
2 changes: 1 addition & 1 deletion antora-playbook.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
site:
title: Nextflow nf-nomad plugin
title: Nextflow Nomad executor
start_page: main:ROOT:index.adoc
content:
sources:
Expand Down
2 changes: 1 addition & 1 deletion src/docs/antora/antora.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: main
version: final
title: Nf-Nomad
title: nf-nomad
nav:
- modules/ROOT/nav.adoc
12 changes: 11 additions & 1 deletion src/docs/antora/ui/css/site.css

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion src/docs/antora/ui/partials/head-styles.hbs
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.1/css/all.css">
<link rel="stylesheet" href="{{{uiRootPath}}}/css/site.css">
15 changes: 5 additions & 10 deletions src/docs/antora/ui/partials/header-content.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
<header class="header">
<nav class="navbar">
<div class="navbar-brand">
<a class="navbar-item" href="{{{or site.url siteRootPath}}}">{{site.title}}</a>
<a class="navbar-item" href="{{{or site.url siteRootPath}}}">
<i class="fa fa-book" style='font-size:30px'></i>{{site.title}}</a>
{{#if env.SITE_SEARCH_PROVIDER}}
<div class="navbar-item search hide-for-print">
<div id="search-field" class="field">
Expand All @@ -17,15 +18,9 @@
</div>
<div id="topbar-nav" class="navbar-menu">
<div class="navbar-end">
<a class="navbar-item" href="#">Home</a>
<!--div class="navbar-item has-dropdown is-hoverable">
<a class="navbar-link" href="#">Products</a>
<div class="navbar-dropdown">
<a class="navbar-item" href="#">Product A</a>
<a class="navbar-item" href="#">Product B</a>
<a class="navbar-item" href="#">Product C</a>
</div>
</div-->
<a class="navbar-item" href="https://github.com/nextflow-io/nf-nomad">
<i class="fab fa-github" style='font-size:30px'></i> nextflow-io/nf-nomad
</a>
</div>
</div>
</nav>
Expand Down

0 comments on commit 7f9a542

Please sign in to comment.