Skip to content

Commit

Permalink
v2.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
nk-o committed Nov 27, 2024
1 parent c358a4d commit 4a57583
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 16 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
workflow_dispatch:
push:
tags:
- "v*"
- 'v*'

jobs:
deploy:
Expand All @@ -22,7 +22,7 @@ jobs:
run: npm install

- name: Run Production Task
run: npm run production
run: npm run build:prod

- name: WordPress Plugin Deploy
uses: nk-o/action-wordpress-plugin-deploy@master
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@

### Building

- `npm run dev` to run build and start files watcher
- `npm run build` to run build
- `npm run watch` to run build and start files watcher
- `npm run production` to run build and prepare zip files for production
- `npm run build:prod` to run build and prepare zip files for production

### Linting

Expand Down
16 changes: 8 additions & 8 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "docspress",
"title": "DocsPress",
"version": "2.5.0",
"version": "2.5.1",
"description": "Online Documentation",
"license": "GPL-2.0",
"author": "nK <https://nkdev.info>",
"scripts": {
"build": "wpeg --build",
"dev": "wpeg --build --watch",
"production": "npm run make-pot && npm run make-json && wpeg --build --zip",
"build": "wpeg --build",
"build:prod": "npm run make-pot && npm run make-json && wpeg --build --zip",
"php-lint": "composer phpcs",
"php-lint-fix": "composer phpcbf",
"css-lint": "stylelint --syntax scss \"src/**/*.scss\"",
Expand Down
9 changes: 8 additions & 1 deletion src/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Contributors: nko
* Tags: documentation, document, help, knowledge base, export
* Requires at least: 6.2.0
* Tested up to: 6.5
* Tested up to: 6.7
* Requires PHP: 7.2
* Stable tag: @@plugin_version
* License: GPLv2 or later
Expand Down Expand Up @@ -66,6 +66,13 @@ If you need to initialize some JS after ajax loaded, you may use **DocsPress > S

## Changelog

= 2.5.1 - Nov 28, 2024 =

* fixed PHP 8 warnings
* fixed warning from comments output in block themes
* fixed text domain loading - move to init action
* check compatibility with WordPress 6.7

= 2.5.0 - May 25, 2024 =

* added post meta for documentation articles to set a custom title displayed in the sidebar navigation
Expand Down

0 comments on commit 4a57583

Please sign in to comment.