-
-
Notifications
You must be signed in to change notification settings - Fork 54
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
b51a2f7
commit 6950144
Showing
16 changed files
with
973 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,3 +33,6 @@ config.codekit3 | |
prepros-6.config | ||
composer.lock | ||
/tests/.env | ||
/docs/.vitepress/dist | ||
/docs/.vitepress/cache | ||
|
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 |
---|---|---|
@@ -0,0 +1,48 @@ | ||
module.exports = { | ||
title: 'Scout for Craft CMS', | ||
description: "Scout for Craft CMS", | ||
base: '/craft-scout', | ||
head: [ | ||
['meta', {content: 'https://github.com/studioespresso', property: 'og:see_also',}], | ||
[ | ||
'script', | ||
{ | ||
defer: '', | ||
'data-domain': 'studioespresso.github.io', | ||
src: 'https://stats.studioespresso.co/js/script.tagged-events.outbound-links.js' | ||
} | ||
], | ||
], | ||
themeConfig: { | ||
logo: '/img/plugin-logo.svg', | ||
sidebar: [ | ||
{ | ||
text: 'General', | ||
items: | ||
[ | ||
{text: 'Usage', link: '/general'}, | ||
{text: 'Field & settings', link: '/field'}, | ||
{text: 'Templating', link: '/templating'}, | ||
{text: 'Settings', link: '/settings'}, | ||
|
||
] | ||
}, | ||
], | ||
nav: [ | ||
{ | ||
text: 'Buy now', | ||
link: 'https://plugins.craftcms.com/scout', | ||
}, | ||
{ | ||
text: 'Report an issue', | ||
link: 'https://github.com/studioespresso/craft-scout/issues' | ||
}, | ||
{ | ||
text: 'GitHub', | ||
link: 'https://github.com/studioespresso/craft-scout' | ||
} | ||
] | ||
|
||
} | ||
} | ||
; |
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 |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<template> | ||
<div class="studio-footer"> | ||
<span>Brought to you by:</span> | ||
<a | ||
href="https://github.com/sponsors/janhenckens" | ||
target="_blank" | ||
rel="noopener" | ||
> | ||
<img | ||
src="/img/logo-studioespresso.svg" | ||
aria-label="Studio Espresso logo" | ||
/> | ||
</a> | ||
</div> | ||
</template> | ||
|
||
<script setup> | ||
</script> | ||
|
||
<style scoped> | ||
.studio-footer { | ||
padding: 0 1.5rem 2rem; | ||
font-size: 0.8rem; | ||
} | ||
.studio-footer img { | ||
box-sizing: border-box; | ||
max-width: 200px; | ||
height: 80px; | ||
display: block; | ||
margin: 1rem 0; | ||
padding-left: 0.7rem; | ||
} | ||
</style> |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
:root { | ||
--vp-c-bg: rgb(251, 245, 240); | ||
--vp-c-bg-alt: rgba(231, 231, 231); | ||
--vp-c-bg-elv: #ffffff; | ||
--vp-c-bg-soft: #f6f6f7; | ||
--vp-c-brand-1: #598380; | ||
} | ||
|
||
.dark { | ||
--vp-c-bg: #1b1b1f; | ||
--vp-c-bg-alt: #161618; | ||
--vp-c-bg-elv: #202127; | ||
--vp-c-bg-soft: #202127; | ||
--vp-c-brand-1: #fff; | ||
} | ||
|
||
.custom-block.tip { | ||
border-color: var(--c-brand); | ||
} | ||
|
||
.DocSearch { | ||
--docsearch-primary-color: var(--c-brand) !important; | ||
} | ||
|
||
a > img { | ||
display: inline-block; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
import Theme from 'vitepress/theme' | ||
import {h, watch} from 'vue' | ||
import './custom.css' | ||
|
||
import FooterLogo from './FooterLogo.vue'; | ||
|
||
export default { | ||
...Theme, | ||
Layout() { | ||
return h(Theme.Layout, null, { | ||
'aside-bottom': () => h(FooterLogo) | ||
} | ||
) | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
declare module "*.vue" { | ||
import Vue from 'vue'; | ||
export default Vue; | ||
} | ||
|
||
declare module 'FooterLogo'; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
title: Scout | ||
--- | ||
# Scout for Craft CMS | ||
Scout provides a simple solution for adding full-text search to your entries. Scout will automatically keep your search indices in sync with your entries. | ||
|
||
![Banner](./images/banner.png) | ||
|
||
## Requirements | ||
This plugin works with Craft 3 or 4. | ||
|
||
## Installation | ||
To install the plugin, follow these instructions. | ||
|
||
1. Open your terminal and go to your Craft project: | ||
|
||
```bash | ||
# go to the project directory | ||
cd /path/to/my-craft-project.dev | ||
|
||
# tell Composer to install the plugin | ||
composer require studioespresso/craft-scout | ||
|
||
# tell Craft to install the plugin | ||
./craft install/plugin scout | ||
``` | ||
|
||
### Support & issues | ||
Having an issue with the plugin or would you like to see something added, do report it [here](https://github.com/studioespresso/craft-scout/issues/new). | ||
|
||
If you need help setting things up or you want to get in touch privately, [get in touch](mailto:[email protected]). | ||
|
||
--- | ||
|
||
Brought to you by [Studio Espresso ☕️](https://www.studioespresso.co/) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.