diff --git a/.github/workflows/docker-test.yml b/.github/workflows/docker-test.yml index a3c32b42f..ae521843e 100644 --- a/.github/workflows/docker-test.yml +++ b/.github/workflows/docker-test.yml @@ -20,6 +20,7 @@ on: permissions: contents: read + pull-requests: write concurrency: group: ${{ github.head_ref }} @@ -63,6 +64,7 @@ jobs: with: actions: 'add-labels' token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.pull_request.number }} labels: 'Route Test: Failed' - name: Test Docker image diff --git a/docs/en/joinus/script-standard.md b/docs/en/joinus/script-standard.md index 780cbadf2..8e01c5494 100644 --- a/docs/en/joinus/script-standard.md +++ b/docs/en/joinus/script-standard.md @@ -134,7 +134,16 @@ All templates should be placed in the namespace's `templates` folder with the `. Here's an example taken from the [furstar](https://github.com/DIYgod/RSSHub/blob/master/lib/v2/furstar) namespace: -<<< @/../lib/v2/furstar/templates/author.art +```html +
+``` ```js const path = require('path'); diff --git a/docs/joinus/script-standard.md b/docs/joinus/script-standard.md index a00bd0595..e20530e04 100644 --- a/docs/joinus/script-standard.md +++ b/docs/joinus/script-standard.md @@ -133,10 +133,19 @@ RSSHub 会将所有路由命名空间的文件夹名附加到路由前面。路 下面是在 [furstar](https://github.com/DIYgod/RSSHub/blob/master/lib/v2/furstar) 命名空间中示例: -<<< @/../lib/v2/furstar/templates/author.art - +```html + +``` + ```js const path = require('path'); const { art } = require('@/utils/render');