(an attempt to) Add wikidot to wiki generators list
This commit is contained in:
parent
2cb209ae9c
commit
78f21dd19a
@ -91,6 +91,9 @@ public class DocumentGeneratorExtractor {
|
|||||||
if (tag.html().contains("window.lemmyConfig")) {
|
if (tag.html().contains("window.lemmyConfig")) {
|
||||||
return DocumentGenerator.of("lemmy");
|
return DocumentGenerator.of("lemmy");
|
||||||
}
|
}
|
||||||
|
if (tag.html().contains("URL_DOMAIN = 'wikidot.com'")) {
|
||||||
|
return DocumentGenerator.of("wikidot");
|
||||||
|
}
|
||||||
if (tag.attr("src").contains("wp-content")) {
|
if (tag.attr("src").contains("wp-content")) {
|
||||||
return DocumentGenerator.of("wordpress", "wordpress-sneaky");
|
return DocumentGenerator.of("wordpress", "wordpress-sneaky");
|
||||||
}
|
}
|
||||||
@ -193,7 +196,7 @@ public class DocumentGeneratorExtractor {
|
|||||||
case "vbulletin", "phpbb", "mybb", "nodebb", "flarum", "tribe",
|
case "vbulletin", "phpbb", "mybb", "nodebb", "flarum", "tribe",
|
||||||
"discourse", "lemmy", "xenforo", "invision"
|
"discourse", "lemmy", "xenforo", "invision"
|
||||||
-> GeneratorType.FORUM;
|
-> GeneratorType.FORUM;
|
||||||
case "mediawiki", "dokuwiki", "sharepoint"
|
case "mediawiki", "dokuwiki", "wikidot", "sharepoint"
|
||||||
-> GeneratorType.WIKI;
|
-> GeneratorType.WIKI;
|
||||||
case "pandoc", "mkdocs", "doxygen", "javadoc"
|
case "pandoc", "mkdocs", "doxygen", "javadoc"
|
||||||
-> GeneratorType.DOCS;
|
-> GeneratorType.DOCS;
|
||||||
|
Loading…
Reference in New Issue
Block a user