Skip to content

Commit 4b98022

Browse files
committed
feat: add yaml-language-server schema modeline to all configs
All 48 config files now carry a schema modeline pointing to the public schema URL on the html2rss master branch: # yaml-language-server: $schema=https://raw.githubusercontent.com/... This enables inline validation and autocompletion in any editor with yaml-language-server support (VS Code + YAML extension, Neovim, Helix, …) by simply opening a config file — no local setup required. Also update .vscode/settings.json and README to use the same remote URL instead of the previously documented local schema generation approach. https://claude.ai/code/session_01MYdMDpKySqfU1E3qgdikoe
1 parent ef0f4ec commit 4b98022

50 files changed

Lines changed: 59 additions & 17 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"yaml.schemas": {
3-
"./schema/html2rss-config.schema.json": "lib/html2rss/configs/**/*.yml"
3+
"https://raw.githubusercontent.com/html2rss/html2rss/refs/heads/master/schema/html2rss-config.schema.json": "lib/html2rss/configs/**/*.yml"
44
}
55
}

README.md

Lines changed: 10 additions & 16 deletions

lib/html2rss/configs/adfc.de/pressemitteilungen.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/html2rss/html2rss/refs/heads/master/schema/html2rss-config.schema.json
12
channel:
23
url: https://www.adfc.de/presse/pressemitteilungen/
34
time_zone: Europe/Berlin

lib/html2rss/configs/apnews.com/hub.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/html2rss/html2rss/refs/heads/master/schema/html2rss-config.schema.json
12
---
23
parameters:
34
section:

lib/html2rss/configs/avherald.com/index.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/html2rss/html2rss/refs/heads/master/schema/html2rss-config.schema.json
12
---
23
channel:
34
url: https://avherald.com/

lib/html2rss/configs/bbc.co.uk/available_episodes.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/html2rss/html2rss/refs/heads/master/schema/html2rss-config.schema.json
12
parameters:
23
id:
34
type: string

lib/html2rss/configs/bbc.com/mundo.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/html2rss/html2rss/refs/heads/master/schema/html2rss-config.schema.json
12
---
23
channel:
34
url: https://www.bbc.com/mundo

lib/html2rss/configs/blog.mondediplo.net/feed.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/html2rss/html2rss/refs/heads/master/schema/html2rss-config.schema.json
12
parameters:
23
blog:
34
type: string

lib/html2rss/configs/canarianweekly.com/front.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/html2rss/html2rss/refs/heads/master/schema/html2rss-config.schema.json
12
channel:
23
url: https://www.canarianweekly.com/
34
time_zone: Europe/London

lib/html2rss/configs/cinemascore.com/index.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
# yaml-language-server: $schema=https://raw.githubusercontent.com/html2rss/html2rss/refs/heads/master/schema/html2rss-config.schema.json
12
channel:
23
url: https://webapp.cinemascore.com/guest/surveys
34
ttl: 720

0 commit comments

Comments
 (0)