From dc861ea90cc5ab8c9f5a29884aef9d7b1c3b1d94 Mon Sep 17 00:00:00 2001
From: Zachary Klosko <31484611+zklosko@users.noreply.github.com>
Date: Sun, 17 May 2020 22:08:09 -0400
Subject: [PATCH] Some nav fixed. More to go.
---
docs/_data/nav.yml | 29 +++++++++++++++++++++++++----
docs/_layouts/default.html | 2 +-
docs/database.md | 9 ++++++---
docs/faq.md | 4 ++++
docs/folders.md | 7 +++++--
docs/hd-audio-modules.md | 4 ++++
docs/interface-localization.md | 6 ++++++
docs/multipass.md | 4 ++++
docs/rights-royalties.md | 4 ++++
docs/troubleshooting.md | 4 ++++
docs/vagrant.md | 7 +++++--
11 files changed, 68 insertions(+), 12 deletions(-)
diff --git a/docs/_data/nav.yml b/docs/_data/nav.yml
index e196fc12b..3bf523325 100644
--- a/docs/_data/nav.yml
+++ b/docs/_data/nav.yml
@@ -13,7 +13,7 @@ main:
url: troubleshooting
installer:
-- text: --Go Back
+- text: <--Go Back
url: index
- text: Quick Install
url: quickstart
@@ -27,7 +27,7 @@ installer:
url: track-types
mainmenus:
-- text: --Back to Manual
+- text: <--Back to Manual
url: manual
- text: Upload
url: upload
@@ -56,11 +56,32 @@ mainmenus:
url: stream-settings
- text: Status
url: status
-- test: ---
- text: Analytics
- text: Playout History
url: history
- text: History Templates
url: history-templates
- text: Listener Statistics
- url: listener-stats
\ No newline at end of file
+ url: listener-stats
+
+devs:
+- text: <--Back to Manual
+ url: manual
+- text: Vagrant
+ url: vagrant
+- text: Multipass
+ url: multipass
+- text: Database access
+ url: database
+- text: Translating LibreTime
+ url: interface-localization
+
+appendix:
+- text: <--Back to Manual
+ url: manual
+- text: HD Audio Modules
+ url: hd-audio-modules
+- text: Rights and Royalties
+ url: rights-royalties
+- text: Media Folders
+ url: folders
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index c0861dc20..7d08f846f 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -6,7 +6,7 @@
{% seo %}
-
+
diff --git a/docs/database.md b/docs/database.md
index 628cddec5..df0c5792f 100644
--- a/docs/database.md
+++ b/docs/database.md
@@ -1,10 +1,13 @@
-Database
-=============
+---
+sidebar: devs
+---
+
+# Database
LibreTime is designed to work with a [PostgreSQL](https://www.postgresql.org/) database server running locally.
LibreTime uses [PropelORM](http://propelorm.org) to interact with the ZendPHP components and create the database.
-# Modifying the Database
+## Modifying the Database
If you are a developer seeking to add new columns to the database here are the steps.
1. Modify `airtime_mvc/build/schema.xml` with any changes.
diff --git a/docs/faq.md b/docs/faq.md
index 2c93102bd..56e7394a5 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -1,3 +1,7 @@
+---
+sidebar: main
+---
+
# Frequently Asked Questions
**What is LibreTime?**
diff --git a/docs/folders.md b/docs/folders.md
index b5a2ae242..864ec8b3c 100644
--- a/docs/folders.md
+++ b/docs/folders.md
@@ -1,5 +1,8 @@
-Media Library Folders
----------------------
+---
+sidebar: appendix
+---
+
+# Media Library Folders
LibreTime's media library is inside the */srv/airtime/stor/* folder on your server, by default.
Tracks are uploaded into the imported subdirectory and then a separate directory based upon the user
diff --git a/docs/hd-audio-modules.md b/docs/hd-audio-modules.md
index 0d6d73f7e..68214f18f 100644
--- a/docs/hd-audio-modules.md
+++ b/docs/hd-audio-modules.md
@@ -1,3 +1,7 @@
+---
+sidebar: appendix
+---
+
# HD Audio Modules
This listing is provided to help ensure that the correct model parameter is passed to the ALSA kernel module for an Intel HDA soundcard, if one is fitted to your LibreTime server. See the chapter *Preparing the server* in this book for more details.
diff --git a/docs/interface-localization.md b/docs/interface-localization.md
index b67b2b3a3..59cc85042 100644
--- a/docs/interface-localization.md
+++ b/docs/interface-localization.md
@@ -1,3 +1,9 @@
+---
+sidebar: devs
+---
+
+# Interface Localization
+
The LibreTime administration interface can be localized using the standard GNU **gettext** method. Using GitHub for this task means you don't have to tackle the whole of a localization yourself; just as much as you can manage.

diff --git a/docs/multipass.md b/docs/multipass.md
index 540da004c..739b15b42 100644
--- a/docs/multipass.md
+++ b/docs/multipass.md
@@ -1,3 +1,7 @@
+---
+sidebar: devs
+---
+
# Testing LibreTime with Canonical's Multipass
Ever wanted to test out LibreTime but didn't want to tango with
diff --git a/docs/rights-royalties.md b/docs/rights-royalties.md
index b0ac56163..26ecece30 100644
--- a/docs/rights-royalties.md
+++ b/docs/rights-royalties.md
@@ -1,3 +1,7 @@
+---
+sidebar: appendix
+---
+
# Rights and Royalties
If you're new to broadcasting, or have not streamed your station online before,
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index 35a866708..4a12461d4 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -1,3 +1,7 @@
+---
+sidebar: main
+---
+
# Troubleshooting
Having trouble with your LibreTime installation? We've got you covered!
diff --git a/docs/vagrant.md b/docs/vagrant.md
index a08ade4e4..c674ac48b 100644
--- a/docs/vagrant.md
+++ b/docs/vagrant.md
@@ -1,5 +1,8 @@
-Using Vagrant and Virturalbox for developing LibreTime
--------------------------------------------------------
+---
+sidebar: devs
+---
+
+# Using Vagrant and Virturalbox for developing LibreTime
The **LibreTime Vagrant install** is the fastet way to get LibreTime up and running in a way
to hack on its source code or to test it locally. There are two supported providers: libvirt