basic docs & lint

This commit is contained in:
Front committed 2021-12-27 13:49:09 -05:00
1 parent 818a70e106
commit 7c3f24dcb2
8 files changed
+69 -25

No files matched your search

+6 -20
View File
@@ -31,26 +31,12 @@
export default { export default {
data: () => ({ data: () => ({
links: [ links: [
{ { name: "Home", path: "/"},
name: "Home", { name: "Install", path: "/install"},
path: "/", { name: "FAQ", path: "/faq"},
}, { name: "Donate", path: "/donate"},
{ { name: "Links", path: "/links"},
name: "Install", { name: "API", path: "/documentation"},
path: "/install",
},
{
name: "FAQ",
path: "/faq",
},
{
name: "Donate",
path: "/donate",
},
{
name: "Links",
path: "/links",
},
], ],
}), }),
}; };
+7 -2
View File
@@ -27,6 +27,10 @@ export default {
], ],
}, },
env: {
apiUrl: "https://returnyoutubedislikeapi.com"
},
target: "static", target: "static",
css: [], css: [],
plugins: [], plugins: [],
@@ -52,7 +56,7 @@ export default {
}, },
}, },
}, },
/*
build: { build: {
extend(config, ctx) { extend(config, ctx) {
// Run ESLint on save (dev-only) // Run ESLint on save (dev-only)
@@ -65,5 +69,6 @@ export default {
}); });
} }
}, },
}, }
*/
}; };
+30 -2
View File
@@ -1,6 +1,34 @@
<template> <template>
<div> <div>
<p>documentation.vue</p> <v-card max-width="600px" class="rounded-lg">
<NuxtChild /> <v-card-title style="padding-bottom: 0;">Sections</v-card-title>
<v-list>
<v-list-item v-for="(item, i) in links" :key="i" router :to=item.to>
<v-list-item-icon><v-icon v-text="item.icon" /></v-list-item-icon>
<v-list-item-title style="text-align: left;"><v-list-item-title v-text="item.text" /></v-list-item-title>
</v-list-item>
</v-list>
</v-card>
<v-card max-width="600px" class="rounded-lg" style="margin: 1em; padding: 0.75em; text-align: left;">
<NuxtChild />
</v-card>
</div> </div>
</template> </template>
<script>
export default {
data() {
return {
links: [
{ text: 'API Usage Rights', icon: 'mdi-book-open-variant', to: 'documenation/usage-rights' },
{ text: 'API URL Information', icon: 'mdi-web', to: 'documenation/url' },
{ text: 'Available Endpoints', icon: 'mdi-transit-connection-variant', to: 'documenation/endpoints' },
{ text: 'Basic Fetching Tutorial', icon: 'mdi-school', to: 'documenation/fetching' },
]
}
}
}
</script>
@@ -0,0 +1,6 @@
<template>
<div>
<h1>Welcome to the <span class="primary--text">official RYD docs</span>!</h1>
<p>To get started, select a section.</p>
</div>
</template>
+6
View File
@@ -0,0 +1,6 @@
<template>
<div>
<h1>Welcome to the <span class="primary--text">official RYD docs</span>!</h1>
<p>To get started, select a section.</p>
</div>
</template>
+2 -1
View File
@@ -1,5 +1,6 @@
<template> <template>
<div> <div>
<p>documentation/index.vue</p> <h1>Welcome to the <span class="primary--text">official RYD docs</span>!</h1>
<p>To get started, select a section.</p>
</div> </div>
</template> </template>
+6
View File
@@ -0,0 +1,6 @@
<template>
<div>
<h1>Welcome to the <span class="primary--text">official RYD docs</span>!</h1>
<p>To get started, select a section.</p>
</div>
</template>
@@ -0,0 +1,6 @@
<template>
<div>
<h1>Welcome to the <span class="primary--text">official RYD docs</span>!</h1>
<p>To get started, select a section.</p>
</div>
</template>