halo-sigs / halo-sigs/plugin-lightgallery

Inaccurate description of pathPattern configuration

Open Beginner friendly
#15 0 comments 0 reactions 0 assignees View on GitHub
kind/improvement
Dominant language
JavaScript
Stars
5
Forks
6
PR merge metrics
No merged PRs in 30d

Description

In the PR https://github.com/halo-sigs/plugin-lightgallery/pull/6, we have supported image zooming based on page rules, but the description of `pathPattern` below is not accurate.

```txt
用于匹配页面路径的正则表达式,如:/archives/**
```

On the contrary, the rule is based on [PathPattern](https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/web/util/pattern/PathPattern.html) instead of Regex. Thereforce, I request a clearer description of the configuration.

/kind improvement

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the configuration documentation for `pathPattern` and compare its wording with the linked PathPattern reference. Update the description so it accurately identifies the matching rule rather than calling it a regular expression, then verify that the example remains consistent with the documented behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.