Skip to content

Commit 47ee64e

Browse files
SQUASH – more small fixes
- root module can now be at root url - update ui module - static redirects - fixes around variables being removed
1 parent b353c5c commit 47ee64e

5 files changed

Lines changed: 13 additions & 9 deletions

File tree

site-content/site.template.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ output:
3232
clean: true
3333
dir: ./build/html
3434

35+
url:
36+
redirect_facility: static
37+
38+
runtime:
39+
log:
40+
level: warn
41+
failure_level: error
42+
3543
antora:
3644
extensions:
3745
- require: '@antora/lunr-extension'

site-content/source/antora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: _
1+
name: ~
22
version: master
33
nav:
44
- modules/ROOT/main-nav.adoc

site-ui/preview-src/ui-model.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
antoraVersion: '2.3.1'
1+
antoraVersion: '3.1.14'
22
site:
33
title: Apache Cassandra
44
url: http://localhost:5252

site-ui/src/partials/body.hbs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@
33
<div id="mobile-docs-nav-burger" class="hidden">
44
<svg viewBox="0 0 24 24" width="36" height="36" stroke="#1c81a0" stroke-width="2.5" fill="none" stroke-linecap="round" stroke-linejoin="round" class="css-i6dzq1"><line x1="3" y1="12" x2="21" y2="12"></line><line x1="3" y1="6" x2="21" y2="6"></line><line x1="3" y1="18" x2="21" y2="18"></line></svg>
55
</div>
6-
{{#if env.DOCSEARCH_ENABLED}}
7-
<div class="docs-nav-item relative">
8-
<input id="search-input" type="text" placeholder="Search docs">
9-
</div>
10-
{{/if}}
6+
<div class="docs-nav-item relative">
7+
<input id="search-input" type="text" placeholder="Search docs">
8+
</div>
119
{{> nav-explore}}
1210
</div>
1311
<div class="cf relative">

site-ui/src/partials/footer-scripts.hbs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,9 @@
77
{{#if (eq page.layout 'tutorials')}}
88
<script async src="{{{uiRootPath}}}/js/vendor/mark.js"></script>
99
{{/if}}
10-
{{#if (eq env.DOCSEARCH_ENGINE 'lunr')}}
1110
<script src="{{uiRootPath}}/js/vendor/lunr.js"></script>
1211
<script src="{{uiRootPath}}/js/vendor/search.js" id="search-script" data-base-path="{{or siteRootPath (or site.url siteRootUrl)}}" data-page-path="{{@root.page.url}}"></script>
1312
<script async src="{{uiRootPath}}/../search-index.js"></script>
14-
{{/if}}
1513
{{/if}}
1614
{{#with (resolvePage page.relativeSrcPath model=false)}}
1715
{{#unless (eq asciidoc.attributes.stem undefined)}}

0 commit comments

Comments
 (0)