Skip to content

Commit

Permalink
Merge branch 'main' into bump-meilisearch-v1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
brunoocasali authored Jul 27, 2023
2 parents 56bfc56 + c7a6220 commit 49e2094
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 10 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ concurrency:
jobs:
build:
runs-on: ubuntu-latest
env:
DOCUMENTATION_TITLE: "Meilisearch PHP | Documentation"
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -30,9 +32,9 @@ jobs:
restore-keys: |
${{ runner.os }}-phpdocumentor-
- name: Build with phpDocumentor
run: docker run --rm --volume "$(pwd):/data" phpdoc/phpdoc:3 -i tests/ -vv --target docs --cache-folder .phpdoc/cache --template default
run: docker run --rm --volume "$(pwd):/data" phpdoc/phpdoc:3 -i tests/ -vv --target docs --cache-folder .phpdoc/cache --template default --title "$DOCUMENTATION_TITLE"
- name: Upload artifact to GitHub Pages
uses: actions/upload-pages-artifact@v1
uses: actions/upload-pages-artifact@v2
with:
path: docs

Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
.php-cs-fixer.cache
composer.lock
phpunit.xml
phpstan.neon
11 changes: 11 additions & 0 deletions .phpdoc/template/base.html.twig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{#
Extending the default phpDocumentor layout
https://github.com/phpDocumentor/phpDocumentor/blob/master/data/templates/default/layout.html.twig
#}

{% extends 'layout.html.twig' %}

{% block javascripts %}
{{ parent() }}
<script src="https://cdn.usefathom.com/script.js" data-site="QNBPJXIV" defer></script>
{% endblock %}
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
php-sdk-docs.meilisearch.com
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,11 @@
## 📖 Documentation


To learn more about Meilisearch PHP, refer to the in-depth [Meilisearch PHP Documentation](https://meilisearch.github.io/meilisearch-php/). To learn more about Meilisearch in general, refer to our [documentation](https://www.meilisearch.com/docs/learn/getting_started/quick_start) or our [API reference](https://www.meilisearch.com/docs/reference/api/overview).
To learn more about Meilisearch PHP, refer to the in-depth [Meilisearch PHP Documentation](https://php-sdk.meilisearch.com). To learn more about Meilisearch in general, refer to our [documentation](https://www.meilisearch.com/docs/learn/getting_started/quick_start) or our [API reference](https://www.meilisearch.com/docs/reference/api/overview).

## ⚡ Supercharge your Meilisearch experience

Say goodbye to server deployment and manual updates with [Meilisearch Cloud](https://www.meilisearch.com/pricing?utm_campaign=oss&utm_source=integration&utm_medium=meilisearch-php). No credit card required.
Say goodbye to server deployment and manual updates with [Meilisearch Cloud](https://www.meilisearch.com/pricing?utm_campaign=oss&utm_source=integration&utm_medium=meilisearch-php). Get started with a 14-day free trial! No credit card required.

## 🔧 Installation

Expand Down
8 changes: 2 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,8 @@
"lint:fix": [
"./vendor/friendsofphp/php-cs-fixer/php-cs-fixer fix --verbose --config=.php-cs-fixer.dist.php --using-cache=no --diff"
],
"phpstan": [
"php -d memory_limit=256M ./vendor/bin/phpstan"
],
"test": [
"sh scripts/tests.sh"
]
"phpstan": "./vendor/bin/phpstan",
"test": ["sh scripts/tests.sh"]
},
"config": {
"allow-plugins": {
Expand Down
File renamed without changes.

0 comments on commit 49e2094

Please sign in to comment.