Skip to content

Commit

Permalink
Merge pull request #1047 from openzim/offliner_defs
Browse files Browse the repository at this point in the history
Add new --logo-format argument to devdocs scraper
  • Loading branch information
benoit74 authored Nov 14, 2024
2 parents c0eb265 + d27ba91 commit 040a78d
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 040a78d

Please sign in to comment.