mirror of
https://github.com/audiobookshelf/audiobookshelf-web.git
synced 2025-08-30 06:29:26 +02:00
Updating Documentation
This commit is contained in:
parent
78cc953364
commit
4f450b4824
11 changed files with 18407 additions and 106 deletions
|
@ -1,4 +1,5 @@
|
|||
<template>
|
||||
|
||||
<div class="w-screen h-screen max-w-full max-h-screen text-white bg-gradient overflow-hidden">
|
||||
<div id="sidebar" class="hidden md:block fixed top-0 left-0 h-full bg-primary border-r border-white border-opacity-25">
|
||||
<div class="flex justify-center items-center py-4 mb-6">
|
||||
|
@ -10,6 +11,14 @@
|
|||
|
||||
<sidebar-nav-item v-for="item in introItems" :key="item.hash" :hash="item.hash" :text="item.text" :selected="currentHash === item.hash" />
|
||||
|
||||
<p class="px-4 py-1 text-xs font-bold text-white uppercase mt-6 mb-1">Install</p>
|
||||
|
||||
<sidebar-nav-item v-for="item in installItems" :key="item.hash" :hash="item.hash" :text="item.text" :selected="currentHash === item.hash" />
|
||||
|
||||
<p class="px-4 py-1 text-xs font-bold text-white uppercase mt-6 mb-1">Updating</p>
|
||||
|
||||
<sidebar-nav-item v-for="item in updateItems" :key="item.hash" :hash="item.hash" :text="item.text" :selected="currentHash === item.hash" />
|
||||
|
||||
<p class="px-4 py-1 text-xs font-bold text-white uppercase mt-6 mb-1">Books</p>
|
||||
|
||||
<sidebar-nav-item v-for="item in bookItems" :key="item.hash" :hash="item.hash" :text="item.text" :selected="currentHash === item.hash" />
|
||||
|
@ -35,6 +44,22 @@ export default {
|
|||
text: 'Introduction'
|
||||
}
|
||||
],
|
||||
installItems: [
|
||||
{
|
||||
hash: '#install-docker',
|
||||
text: 'Docker'
|
||||
},
|
||||
{
|
||||
hash: '#install-docker-compose',
|
||||
text: 'Docker-compose'
|
||||
}
|
||||
],
|
||||
updateItems: [
|
||||
{
|
||||
hash: '#updating-docker',
|
||||
text: 'Docker'
|
||||
}
|
||||
],
|
||||
bookItems: [
|
||||
{
|
||||
hash: '#book-structure',
|
||||
|
@ -91,7 +116,7 @@ export default {
|
|||
// const scrollingUp = evt.target.scrollTop - this.lastScrollTop < 0
|
||||
// this.lastScrollTop = evt.target.scrollTop
|
||||
|
||||
const allItems = this.introItems.concat(this.bookItems).concat(this.podcastItems)
|
||||
const allItems = this.introItems.concat(this.installItems).concat(this.updateItems).concat(this.bookItems).concat(this.podcastItems)
|
||||
|
||||
var closestItem = null
|
||||
for (let i = 0; i < allItems.length; i++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue