From 0e385001e18153cbfe5f7ac200168fd9af15b61f Mon Sep 17 00:00:00 2001 From: Zachary Klosko <31484611+zklosko@users.noreply.github.com> Date: Sun, 17 May 2020 21:37:15 -0400 Subject: [PATCH] Testing new nav --- docs/_data/nav.yml | 93 +++++++++++++++----------------------- docs/_layouts/default.html | 14 ++++-- docs/install.md | 4 ++ docs/playlists.md | 4 ++ docs/podcasts.md | 4 ++ docs/upload.md | 6 ++- docs/webstreams.md | 4 ++ 7 files changed, 66 insertions(+), 63 deletions(-) diff --git a/docs/_data/nav.yml b/docs/_data/nav.yml index f8dc0ec57..11f251742 100644 --- a/docs/_data/nav.yml +++ b/docs/_data/nav.yml @@ -13,65 +13,51 @@ main: url: troubleshooting installer: +- text: --Go Back + url: index - text: Quick Install url: quickstart +- text: Advanced Install + url: install - text: Host Configuration url: host-configuration - text: Setting the Server Time url: setting-the-server-time - text: Configuring Track Types url: track-types -- text: --- -- text: Advanced Install - url: install -- text: Features - url: features -- text: FAQ - url: faq -- text: Manual - url: manual -- text: Help! - url: troubleshooting -man-mainmenus: -- text: Quick Install - url: quickstart -- text: Advanced Install - url: install -- text: Features - url: features -- text: FAQ - url: faq -- text: --- -- text: Back to manual +mainmenus: +- text: --Back to Manual url: manual -- text: Upload - url: upload -- text: Dashboard - url: dashboard -- text: Tracks - url: tracks -- text: Playlists - url: playlists -- text: Smartblocks - url: smartblocks -- text: Webstreams - url: webstreams -- text: Podcasts - url: podcasts -- text: Radio Page - url: radio-page -- text: Calendar - url: calendar -- text: Settings -- text: General - url: general-settings -- text: Users - url: users -- text: Stream Settings - url: stream-settings -- text: Status - url: status +- text: Main Menus + subfolderitems: + - text: Upload + url: upload + - text: Dashboard + url: dashboard + - text: Tracks + url: tracks + - text: Playlists + url: playlists + - text: Smartblocks + url: smartblocks + - text: Webstreams + url: webstreams + - text: Podcasts + url: podcasts + - text: Radio Page + url: radio-page + - text: Calendar + url: calendar + - text: Settings + - text: General + url: general-settings + - text: Users + url: users + - text: Stream Settings + url: stream-settings + - text: Status + url: status - test: --- - text: Analytics - text: Playout History @@ -79,11 +65,4 @@ man-mainmenus: - text: History Templates url: history-templates - text: Listener Statistics - url: listener-stats -- text: --- -- text: Help - url: help -- text: Listen - url: listen -- text: Help! - url: troubleshooting \ No newline at end of file + url: listener-stats \ No newline at end of file diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html index 82e6e3b9c..87402d576 100644 --- a/docs/_layouts/default.html +++ b/docs/_layouts/default.html @@ -38,11 +38,15 @@ {% endif %} - + {% for item in site.data.nav[page.sidebar] %} +

{{ item.text }}

+ {% if item.subfolderitems[0] %} + + {% endif %} + {% endfor %}
diff --git a/docs/install.md b/docs/install.md index 956f44e48..4c299bb5f 100644 --- a/docs/install.md +++ b/docs/install.md @@ -1,3 +1,7 @@ +--- +sidebar: installer +--- + # Advanced Installation This guide is for administrators who need to install LibreTime using a more hands-on method, such as diff --git a/docs/playlists.md b/docs/playlists.md index a6ccb2757..6a74b8da0 100644 --- a/docs/playlists.md +++ b/docs/playlists.md @@ -1,3 +1,7 @@ +--- +sidebar: main +--- + # The Playlists page Creating a new playlist diff --git a/docs/podcasts.md b/docs/podcasts.md index 96c7839d5..7cc858c57 100644 --- a/docs/podcasts.md +++ b/docs/podcasts.md @@ -1,3 +1,7 @@ +--- +sidebar: main +--- + # The Podcasts page The Podcasts page allows you add subscriptions to podcasts which are often used to syndicated audio files using a URL called a RSS feed. This allows your LibreTime instance to automatically download new shows from the web. diff --git a/docs/upload.md b/docs/upload.md index f0f2e0888..7f497adc7 100644 --- a/docs/upload.md +++ b/docs/upload.md @@ -1,4 +1,8 @@ -# Upload +--- +sidebar: mainmenus +--- + +# Upload The primary way you can add files to the LibreTime library is using the **Upload** page of the administration interface. (The **Upload** page is not visible to *Guest* users). This page includes an upload queue for media files, diff --git a/docs/webstreams.md b/docs/webstreams.md index 8c2da32ca..520dd082b 100644 --- a/docs/webstreams.md +++ b/docs/webstreams.md @@ -1,3 +1,7 @@ +--- +sidebar: main +--- + The Webstreams page -------------------