Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Laravel magic REST API builder
<p align="center"><img src="https://binaryk.github.io/laravel-restify/assets/img/logo.png"></p>

<p align="center">
<a href="https://travis-ci.org/binaryk/laravel-restify"><img src="https://travis-ci.org/binaryk/laravel-restify.svg" alt="Build Status"></a>
Expand Down
37 changes: 37 additions & 0 deletions docs/.vuepress/1.0.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = [
{
title: "Quick Start",
collapsable: false,
children: ['quickstart']
},
{
title: "Repository",
collapsable: false,
children: ['repository-pattern/repository-pattern']
},
{
title: 'Field',
collapsable: false,
children: ['repository-pattern/field'],
},
{
title: 'Rest Controller',
collapsable: false,
children: ['rest-methods/rest-methods'],
},
{
title: 'Filtering',
collapsable: false,
children: ['search/search'],
},
{
title: 'Auth service',
collapsable: false,
children: ['auth/auth'],
},
{
title: 'Error handler',
collapsable: false,
children: ['exception-handler/exception-handler'],
},
];
37 changes: 37 additions & 0 deletions docs/.vuepress/2.0.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
module.exports = [
{
title: "Quick Start",
collapsable: false,
children: ['quickstart']
},
{
title: "Repository",
collapsable: false,
children: ['repository-pattern/repository-pattern']
},
{
title: 'Field',
collapsable: false,
children: ['repository-pattern/field'],
},
{
title: 'Rest Controller',
collapsable: false,
children: ['rest-methods/rest-methods'],
},
{
title: 'Filtering',
collapsable: false,
children: ['search/search'],
},
{
title: 'Auth service',
collapsable: false,
children: ['auth/auth'],
},
{
title: 'Error handler',
collapsable: false,
children: ['exception-handler/exception-handler'],
},
];
64 changes: 30 additions & 34 deletions docs/.vuepress/config.js
Original file line number Diff line number Diff line change
@@ -1,52 +1,48 @@
var versions = ["1.0", "2.0"];

module.exports = {
title: 'Laravel Restify',
description: 'A package to start the REST API',
serviceWorker: true,
base: '/laravel-restify/',
base: '/',
themeConfig: {
logo: '/assets/img/logo.svg',
logo: '/assets/img/icon.png',
displayAllHeaders: true,
sidebarDepth: 2,

nav: [
{ text: 'Home', link: '/' },
{ text: 'Guide', link: '/docs/' },
{ text: 'Docs', link: '/docs/2.0/' },
{
text: "Version",
link: "/",
items: [{ text: "1.0", link: "/docs/1.0/" }, { text: "2.0", link: "/docs/2.0/" }]
},
{ text: 'About us', link: 'https://binarcode.com', target: '_blank' }
],

sidebar: [
{
title: 'Quick Start',
path: '/docs/'
},
{
title: 'Repository',
path: '/docs/repository-pattern/repository-pattern',
},
{
title: 'Field',
path: '/docs/repository-pattern/field',
},
{
title: 'Rest Controller',
path: '/docs/rest-methods/rest-methods',
},
{
title: 'Filtering',
path: '/docs/search/search',
},
{
title: 'Auth service',
path: '/docs/auth/auth',
},
{
title: 'Error handler',
path: '/docs/exception-handler/exception-handler',
},
]
sidebar: {
"/docs/1.0/": require("./1.0"),
"/docs/2.0/": require("./2.0")
},
},
plugins: [
'@vuepress/pwa',
(options = {}, context) => ({
extendPageData($page) {
const { regularPath, frontmatter } = $page;

frontmatter.meta = [];

versions.forEach(function(version) {
if ($page.regularPath.includes("/" + version + "/")) {
frontmatter.meta.push({
name: "docsearch:version",
content: version + ".0"
});
}
});
}
})
],
head: [
// Used for PWA
Expand Down
Binary file modified docs/.vuepress/public/android-chrome-192x192.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/.vuepress/public/android-chrome-512x512.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/assets/img/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/.vuepress/public/assets/img/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading