Add mdBook

This commit is contained in:
Steffen Lange 2022-01-31 09:20:48 +01:00
parent ce121a6528
commit 713c7bee44

14
modules/MdBook.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class MdBook extends PatchBase {
function __construct() {
parent::__construct('Mathieu David', 'mdBook', 'https://rust-lang.github.io/mdBook/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/rust-lang/mdBook/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>