(an attempt to) Add wikidot to wiki generators list

This commit is contained in:
Adrthegamedev 2023-07-03 13:00:05 +02:00 committed by Viktor Lofgren
parent 2cb209ae9c
commit 78f21dd19a

View File

@ -91,6 +91,9 @@ public class DocumentGeneratorExtractor {
if (tag.html().contains("window.lemmyConfig")) {
return DocumentGenerator.of("lemmy");
}
if (tag.html().contains("URL_DOMAIN = 'wikidot.com'")) {
return DocumentGenerator.of("wikidot");
}
if (tag.attr("src").contains("wp-content")) {
return DocumentGenerator.of("wordpress", "wordpress-sneaky");
}
@ -193,7 +196,7 @@ public class DocumentGeneratorExtractor {
case "vbulletin", "phpbb", "mybb", "nodebb", "flarum", "tribe",
"discourse", "lemmy", "xenforo", "invision"
-> GeneratorType.FORUM;
case "mediawiki", "dokuwiki", "sharepoint"
case "mediawiki", "dokuwiki", "wikidot", "sharepoint"
-> GeneratorType.WIKI;
case "pandoc", "mkdocs", "doxygen", "javadoc"
-> GeneratorType.DOCS;