-
Notifications
You must be signed in to change notification settings - Fork 158
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Source FR] add lelscanvf source for mmrcms template (#188)
* add lelscanvf source * fix size icon * fix issues --------- Co-authored-by: Skitty <[email protected]>
- Loading branch information
1 parent
b88f5b1
commit 3d05ede
Showing
7 changed files
with
116 additions
and
8 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
[workspace] | ||
members = ["template", "sources/*"] | ||
resolver = "2" | ||
|
||
[profile.dev] | ||
panic = "abort" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[package] | ||
name = "lelscanvf" | ||
version = "0.1.0" | ||
edition = "2021" | ||
|
||
[lib] | ||
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
aidoku = { git = "https://github.com/Aidoku/aidoku-rs" } | ||
mmrcms_template = { path = "../../template" } | ||
lazy_static = { version = "1.4.0", features = ["spin_no_std"] } |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
[ | ||
{ | ||
"type": "title" | ||
}, | ||
{ | ||
"type": "author" | ||
}, | ||
{ | ||
"type": "select", | ||
"name": "Category", | ||
"options": [ | ||
"None", | ||
"Action", | ||
"Adventure", | ||
"Comedy", | ||
"Doujinshi", | ||
"Drama", | ||
"Ecchi", | ||
"Fantasy", | ||
"Gender Bender", | ||
"Harem", | ||
"Historical", | ||
"Horror", | ||
"Josei", | ||
"Martial Arts", | ||
"Mature", | ||
"Mecha", | ||
"Mystery", | ||
"One Shot", | ||
"Psychological", | ||
"Romance", | ||
"School Life", | ||
"Sci-fi", | ||
"Seinen", | ||
"Shoujo", | ||
"Shoujo Ai", | ||
"Shounen", | ||
"Shounen Ai", | ||
"Slice of Life", | ||
"Sports", | ||
"Supernatural", | ||
"Tragedy", | ||
"Yaoi", | ||
"Yuri" | ||
] | ||
}, | ||
{ | ||
"type": "sort", | ||
"name": "Sort by", | ||
"canAscend": true, | ||
"options": [ | ||
"Title", | ||
"Views" | ||
], | ||
"default": { | ||
"index": 0, | ||
"ascending": true | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"info": { | ||
"id": "fr.lelscanvf", | ||
"lang": "fr", | ||
"name": "LelscanVF", | ||
"version": 1, | ||
"url": "https://lelscanvf.cc", | ||
"nsfw": 1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#![no_std] | ||
use mmrcms_template::{mmrcms, template::MMRCMSSource}; | ||
|
||
extern crate alloc; | ||
use alloc::string::ToString; | ||
|
||
mmrcms! { | ||
MMRCMSSource { | ||
base_url: "https://lelscanvf.cc", | ||
lang: "fr", | ||
category_mapper: |idx| { | ||
idx.to_string() | ||
}, | ||
..Default::default() | ||
} | ||
} |