Skip to content

Commit

Permalink
Add new --logo-format argument to devdocs scraper
Browse files Browse the repository at this point in the history
  • Loading branch information
benoit74 committed Nov 14, 2024
1 parent c0eb265 commit d27ba91
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions dispatcher/backend/src/common/schemas/offliners/devdocs.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,16 @@ class Meta:
validate=validate_zim_longdescription,
)

logo_format = String(
metadata={
"label": "ZIM illustration",
"description": "URL to a custom ZIM logo in PNG, JPG, or SVG format. You "
"can use placeholders, see "
"https://github.com/openzim/devdocs/blob/main/README.md.",
},
data_key="logo-format",
)

tags = String(
metadata={
"label": "ZIM Tags",
Expand Down

0 comments on commit d27ba91

Please sign in to comment.