Skip to content

Commit 43326b6

Browse files
committed
Update doc configs for 5.x
1 parent a57e0c2 commit 43326b6

9 files changed

Lines changed: 32 additions & 710 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
name: 'deploy_docs_5x'
3+
4+
on:
5+
push:
6+
branches:
7+
- 5.x
8+
workflow_dispatch:
9+
10+
jobs:
11+
deploy:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Cloning repo
15+
uses: actions/checkout@v2
16+
with:
17+
fetch-depth: 0
18+
19+
- name: Push to dokku
20+
uses: dokku/github-action@master
21+
with:
22+
git_remote_url: 'ssh://dokku@apps.cakephp.org:22/elasticsearch-docs-5'
23+
ssh_private_key: ${{ secrets.DOKKU_SSH_PRIVATE_KEY }}

docs/config/all.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@
1010
#
1111

1212
# The full version, including alpha/beta/rc tags.
13-
release = '4.x'
13+
release = '5.x'
1414

1515
# The search index version.
16-
search_version = 'elasticsearch-4'
16+
search_version = 'elasticsearch-5'
1717

1818
# The marketing display name for the book.
1919
version_name = ''
@@ -23,20 +23,21 @@
2323

2424
# Other versions that display in the version picker menu.
2525
version_list = [
26-
{'name': '4.x', 'number': '/elasticsearch/4', 'title': '4.x', 'current': True},
27-
{'name': '3.x', 'number': '/elasticsearch/3', 'title': '3.x',},
26+
{'name': '5.x', 'number': '/elasticsearch/5', 'title': '5.x', 'current': True},
27+
{'name': '4.x', 'number': '/elasticsearch/4', 'title': '4.x'},
28+
{'name': '3.x', 'number': '/elasticsearch/3', 'title': '3.x'},
2829
{'name': '2.x', 'number': '/elasticsearch/2', 'title': '2.x'},
2930
]
3031

3132
# Languages available.
32-
languages = ['en', 'fr', 'ja', 'pt']
33+
languages = ['en', 'ja']
3334

3435
# The GitHub branch name for this version of the docs
3536
# for edit links to point at.
36-
branch = '4.x'
37+
branch = '5.x'
3738

3839
# Current version being built
39-
version = '4.x'
40+
version = '5.x'
4041

4142
show_root_link = True
4243

docs/en/5-0-upgrade-guide.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
#################
33

44
.. warning::
5-
CakePHP ElasticSearch 5.x requires CakePHP 5.0+, ElasticSearch 9.x, and PHP 8.1+.
5+
CakePHP ElasticSearch 5.x requires CakePHP 5.2+, ElasticSearch 9.x, and PHP 8.1+.
66

77
Requirements
88
============

docs/fr/conf.py

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/fr/contents.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)