Skip to content

Commit a528c5c

Browse files
authored
Add additional 18 mentions and workflow fixes (#887)
This PR updates the workflows from 17 to 18 for the new PG 18 repo.
1 parent 6d69270 commit a528c5c

File tree

8 files changed

+24
-23
lines changed

8 files changed

+24
-23
lines changed

.github/workflows/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Build Percona Distribution PostgreSQL 17 docs
1+
name: Build Percona Distribution PostgreSQL 18 docs
22
on:
33
push:
44
branches:
5-
- 17
5+
- 18
66

77
jobs:
88
build:
@@ -42,9 +42,9 @@ jobs:
4242
# Deploy docs
4343
- name: Deploy docs
4444
run: |
45-
mike deploy 17 -b publish -p
46-
mike set-default 17 -b publish -p
47-
mike retitle 17 "17 (LATEST)" -b publish -p
45+
mike deploy 18 -b publish -p
46+
mike set-default 18 -b publish -p
47+
mike retitle 18 "18 (LATEST)" -b publish -p
4848
4949
5050

.github/workflows/spellcheck.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
name: Check spelling in Percona Distribution PostgreSQL 17 docs
1+
name: Check spelling in Percona Distribution PostgreSQL 18 docs
22
on:
33
pull_request:
44
branches:
5-
- 17
5+
- 18
66

77
jobs:
88
build:

CONTRIBUTING.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ Each version has a branch in the repository named accordingly:
2929

3030
- 11 (EOL)
3131
- 12 (EOL)
32-
- 13
32+
- 13 (EOL)
3333
- 14
3434
- 15
3535
- 16
3636
- 17
37+
- 18
3738

38-
The source .md files are in the ``docs`` directory.
39+
The source .md files are in the ``docs`` directory.
3940

4041
### Edit documentation online via GitHub
4142

@@ -71,14 +72,14 @@ git clone git@github.com:percona/postgresql-docs.git
7172
git remote add <your-repo-name> git@github.com:<your_name>/postgresql-docs.git
7273
```
7374

74-
4. Pull the latest changes
75+
4. Pull the latest changes
7576

7677
```sh
7778
git fetch origin
7879
git merge origin/<branch>
7980
```
8081

81-
Make sure that your local branch and the branch you merge changes from are the same. So if you are on the ``17`` branch, merge changes from ``origin/17``.
82+
Make sure that your local branch and the branch you merge changes from are the same. So if you are on the ``18`` branch, merge changes from ``origin/18``.
8283

8384
5. Create a separate branch for your changes
8485

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Percona Distribution for PostgreSQL documentation.
1+
# Percona Distribution for PostgreSQL documentation
22

33
Welcome to Percona Distribution for PostgreSQL documentation!
44

@@ -12,12 +12,12 @@ Percona Server for PostgreSQL is an open source binary-compatible drop-in replac
1212
* WAL Read/Write API Exposure to hook into WAL read and write functions.
1313

1414
Percona Server and upstream PostgreSQL function identically enabling you to migrate from one to another.
15-
16-
This repository contains the source files for [Percona Distribution for PostgreSQL documentation](https://www.percona.com/doc/postgresql/18/index.html). The documentation is written in [Markdown](https://www.markdownguide.org/) markup language and is created using [MkDocs Documentation Generator](https://www.mkdocs.org/).
15+
16+
This repository contains the source files for [Percona Distribution for PostgreSQL documentation](https://www.percona.com/doc/postgresql/18/index.html). The documentation is written in [Markdown](https://www.markdownguide.org/) markup language and is created using [MkDocs Documentation Generator](https://www.mkdocs.org/).
1717

1818
## Contributing
1919

20-
We welcome all contributions and are always looking for new members that are as dedicated to serving the community as we are. You can reach out to us using our [forums ](https://forums.percona.com/c/postgresql/25) and [Jira issue tracker ](https://jira.percona.com/projects/DISTPG/issues/DISTPG-16?filter=allopenissues).
20+
We welcome all contributions and are always looking for new members that are as dedicated to serving the community as we are. You can reach out to us using our [forums](https://forums.percona.com/c/postgresql/25) and [Jira issue tracker](https://jira.percona.com/projects/DISTPG/issues/DISTPG-16?filter=allopenissues).
2121

2222
For how to contribute to documentation, read the [Contributing guide ](https://github.com/percona/postgresql-docs/blob/18/CONTRIBUTING.md).
2323

_resource/overrides/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
{% endif %}
2323
<meta property="og:type" content="website" />
2424
<meta property="og:title" content="{{ title }}" />
25-
<meta property="og:image" content="https://docs.percona.com/postgresql/17/_images/postgresql.png">
25+
<meta property="og:image" content="https://docs.percona.com/postgresql/18/_images/postgresql.png">
2626
<meta property="og:url" content="https://docs.percona.com/postgresql/">
2727
</head>
2828
<body>
@@ -42,7 +42,7 @@
4242
{% include "partials/nav.html" %}
4343
<br>
4444
<label class="md-nav__title" for="__drawer">
45-
<a href="https://learn.percona.com/download-manual-percona-distribution-for-postgresql-17" onclick="_gaq.push(['b._trackEvent', 'Percona Distribution for PostgreSQL', 'Download', 'Download Manual Distribution for PostgreSQL']);" class="md-nav__link md-nav__link--active" style="font-size: .7rem;">
45+
<a href="https://learn.percona.com/download-manual-percona-distribution-for-postgresql-18" onclick="_gaq.push(['b._trackEvent', 'Percona Distribution for PostgreSQL', 'Download', 'Download Manual Distribution for PostgreSQL']);" class="md-nav__link md-nav__link--active" style="font-size: .7rem;">
4646
Download PDF
4747
</a>
4848
</label>

_resourcepdf/overrides/main.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
{% endif %}
2222
<meta property="og:type" content="website" />
2323
<meta property="og:title" content="{{ title }}" />
24-
<meta property="og:image" content="https://docs.percona.com/postgresql/17/_images/postgresql.png">
24+
<meta property="og:image" content="https://docs.percona.com/postgresql/18/_images/postgresql.png">
2525
<meta property="og:url" content="https://docs.percona.com/postgresql/">
2626
</head>
2727
<body>
@@ -40,7 +40,7 @@
4040
{% include "partials/nav.html" %}
4141
<br>
4242
<label class="md-nav__title" for="__drawer">
43-
<a href="https://learn.percona.com/download-manual-percona-distribution-for-postgresql-17" onclick="_gaq.push(['b._trackEvent', 'Percona Distribution for PostgreSQL', 'Download', 'Download Manual Distribution for PostgreSQL']);" class="md-nav__link md-nav__link--active" style="font-size: .7rem;">
43+
<a href="https://learn.percona.com/download-manual-percona-distribution-for-postgresql-18" onclick="_gaq.push(['b._trackEvent', 'Percona Distribution for PostgreSQL', 'Download', 'Download Manual Distribution for PostgreSQL']);" class="md-nav__link md-nav__link--active" style="font-size: .7rem;">
4444
Download PDF
4545
</a>
4646
</label>

_resourcepdf/overrides/partials/banner.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44

55
<div class="actions">
66

7-
<a href="https://docs.percona.com/postgresql/16/get-help.html" style="color: var(--md-typeset-a-color);">Get help from Percona</a>
7+
<a href="https://docs.percona.com/postgresql/18/get-help.html" style="color: var(--md-typeset-a-color);">Get help from Percona</a>
88
</div>
99
</div>

mkdocs-base.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
site_name: Percona Distribution for PostgreSQL
44
site_description: Documentation
55
site_author: Percona LLC
6-
copyright: <a href="https://www.percona.com/about">Percona LLC</a> and/or its affiliates © 2024 — <a href="#__consent">Cookie Consent</a>
6+
copyright: <a href="https://www.percona.com/about">Percona LLC</a> and/or its affiliates © 2025 — <a href="#__consent">Cookie Consent</a>
77

88
repo_name: percona/postgresql-docs
99
repo_url: https://github.com/percona/postgresql-docs
10-
edit_uri: edit/17/docs/
10+
edit_uri: edit/18/docs/
1111

1212
use_directory_urls: false
1313

@@ -130,7 +130,7 @@ plugins:
130130
# - file.md
131131
print-site:
132132
add_to_navigation: false
133-
print_page_title: 'Percona Distribution for PostgreSQL 17 documentation'
133+
print_page_title: 'Percona Distribution for PostgreSQL 18 documentation'
134134
add_print_site_banner: false
135135
# Table of contents
136136
add_table_of_contents: true

0 commit comments

Comments
 (0)