From c7ef8e5fce7d1a8d4c6bf2d593b59921d63bd9e6 Mon Sep 17 00:00:00 2001 From: artaud Date: Wed, 3 Jan 2024 19:29:37 +0100 Subject: [PATCH] Migrate to sleep.urbandroid.org/docs --- _config.yml | 4 ++-- _includes/head.html | 4 ++-- _layouts/home.html | 2 +- _plugins/liquid-filters/generate-nav.rb | 2 +- deploy.yml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/_config.yml b/_config.yml index 569dede..3045b55 100644 --- a/_config.yml +++ b/_config.yml @@ -17,7 +17,7 @@ title: Sleep as Android email: info@urbandroid.org description: >- # this means to ignore newlines until "baseurl:" Documentation site for Sleep as Android (a sleep tracking, sleep cycle Android app) -baseurl: "/" # the subpath of your site, e.g. /blog +baseurl: "/docs" # the subpath of your site, e.g. /blog url: "http://localhost:4000" # the base hostname & protocol for your site, e.g. http://example.com twitter_username: UrbandroidTeam @@ -54,7 +54,7 @@ asciidoctor: template_dir: _templates attributes: xrefstyle: full - imagesdir: /assets/images + imagesdir: assets/images iconsdir: '{imagesdir}/../icons' hardbreaks: true icons: '' diff --git a/_includes/head.html b/_includes/head.html index e5ea5e9..185f089 100644 --- a/_includes/head.html +++ b/_includes/head.html @@ -19,8 +19,8 @@ {% assign cacheBust = site.time | date:'?v=%s' %} - - + + diff --git a/_layouts/home.html b/_layouts/home.html index 6971dfa..62af8af 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -8,7 +8,7 @@

Sleep as Android
user manual

- logo + logo
diff --git a/_plugins/liquid-filters/generate-nav.rb b/_plugins/liquid-filters/generate-nav.rb index 5df967b..7f4d575 100644 --- a/_plugins/liquid-filters/generate-nav.rb +++ b/_plugins/liquid-filters/generate-nav.rb @@ -28,7 +28,7 @@ def generateList(partialTree) ul_contents = "" active = isPageOrChildrenActive(partialTree) - url = '' + partialTree[:title].to_s + '' + url = '' + partialTree[:title].to_s + '' ul_contents << createTag(:li, ['navigation-list-item', active], url) if partialTree[:children] && active diff --git a/deploy.yml b/deploy.yml index 0b3915b..d7a1384 100644 --- a/deploy.yml +++ b/deploy.yml @@ -1,2 +1,2 @@ -url: "https://docs.sleep.urbandroid.org" # the base hostname & protocol for your site, e.g. http://example.com +url: "https://sleep.urbandroid.org" # the base hostname & protocol for your site, e.g. http://example.com debug: false