-
-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8dd2b58
commit 2cd62ba
Showing
16 changed files
with
184 additions
and
184 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,79 @@ | ||
const { getDocsNavBar, getVersionsLinks, getActiveVersion } = require('./utils'); | ||
const { | ||
getDocsNavBar, | ||
getVersionsLinks, | ||
getActiveVersion, | ||
} = require("./utils"); | ||
|
||
module.exports = { | ||
title: 'Laratrust', | ||
ga: 'UA-84408499-3', | ||
description: 'Laratrust is an easy and flexible way to add roles, permissions and teams authorization to your Laravel application', | ||
title: "Laratrust", | ||
ga: "UA-84408499-3", | ||
description: | ||
"Laratrust is an easy and flexible way to add roles, permissions and teams authorization to your Laravel application", | ||
head: [ | ||
['link', { rel: 'icon', href: '/favicon.ico' }], | ||
['meta', { name: 'robots', content: 'index, follow' }], | ||
['meta', { property: 'og:image', content: 'https://laratrust.santigarcor.me/logo.png'}], | ||
['meta', { property: 'og:description', content: 'Laratrust is an easy and flexible way to add roles, permissions and teams authorization to your Laravel application'}], | ||
['meta', { property: 'twitter:description', content: 'Laratrust is an easy and flexible way to add roles, permissions and teams authorization to your Laravel application'}] | ||
["link", { rel: "icon", href: "/favicon.ico" }], | ||
["meta", { name: "robots", content: "index, follow" }], | ||
[ | ||
"meta", | ||
{ | ||
property: "og:image", | ||
content: "https://laratrust.santigarcor.me/logo.png", | ||
}, | ||
], | ||
[ | ||
"meta", | ||
{ | ||
property: "og:description", | ||
content: | ||
"Laratrust is an easy and flexible way to add roles, permissions and teams authorization to your Laravel application", | ||
}, | ||
], | ||
[ | ||
"meta", | ||
{ | ||
property: "twitter:description", | ||
content: | ||
"Laratrust is an easy and flexible way to add roles, permissions and teams authorization to your Laravel application", | ||
}, | ||
], | ||
], | ||
themeConfig: { | ||
logo: '/logo.svg', | ||
logo: "/logo.svg", | ||
activeVersion: getActiveVersion(), | ||
algolia: { | ||
apiKey: 'feb79d4f7397b8f410909711f924d524', | ||
indexName: 'laratrust', | ||
algoliaOptions: { facetFilters: [ "version:$VERSION$"] }, | ||
apiKey: "feb79d4f7397b8f410909711f924d524", | ||
indexName: "laratrust", | ||
algoliaOptions: { facetFilters: ["version:$VERSION$"] }, | ||
}, | ||
lastUpdated: 'Last Updated', | ||
lastUpdated: "Last Updated", | ||
// Assumes GitHub. Can also be a full GitLab url. | ||
repo: 'santigarcor/laratrust', | ||
repo: "santigarcor/laratrust", | ||
// Customising the header label | ||
// Defaults to "GitHub"/"GitLab"/"Bitbucket" depending on `themeConfig.repo` | ||
repoLabel: 'Contribute!', | ||
repoLabel: "Contribute!", | ||
|
||
// Optional options for generating "Edit this page" link | ||
|
||
// if your docs are in a different repo from your main project: | ||
docsRepo: 'santigarcor/laratrust', | ||
docsRepo: "santigarcor/laratrust", | ||
// if your docs are not at the root of the repo: | ||
docsDir: 'docs', | ||
docsDir: "docs", | ||
// if your docs are in a specific branch (defaults to 'master'): | ||
docsBranch: 'master', | ||
docsBranch: "master", | ||
// defaults to false, set to true to enable | ||
editLinks: true, | ||
// custom text for edit link. Defaults to "Edit this page" | ||
editLinkText: 'Help us improve this page!', | ||
editLinkText: "Help us improve this page!", | ||
sidebar: { | ||
'/docs/5.0/': getDocsNavBar('5.0'), | ||
'/docs/5.1/': getDocsNavBar('5.1'), | ||
'/docs/5.2/': getDocsNavBar('5.2'), | ||
'/docs/6.x/': getDocsNavBar('6.x'), | ||
'/docs/7.x/': getDocsNavBar('7.x'), | ||
'/docs/8.x/': getDocsNavBar('8.x'), | ||
"/docs/5.0/": getDocsNavBar("5.0"), | ||
"/docs/5.1/": getDocsNavBar("5.1"), | ||
"/docs/5.2/": getDocsNavBar("5.2"), | ||
"/docs/6.x/": getDocsNavBar("6.x"), | ||
"/docs/7.x/": getDocsNavBar("7.x"), | ||
"/docs/8.x/": getDocsNavBar("8.x"), | ||
}, | ||
nav: [ | ||
{ text: 'Docs', link: getActiveVersion().link }, | ||
{ text: 'Version', items: getVersionsLinks() }, | ||
] | ||
} | ||
} | ||
{ text: "Docs", link: getActiveVersion().link }, | ||
{ text: "Version", items: getVersionsLinks() }, | ||
], | ||
}, | ||
}; |
Oops, something went wrong.