mirror of
https://github.com/janishutz/libreevent.git
synced 2025-11-25 05:14:23 +00:00
initial setup of website
This commit is contained in:
25
website/build.js
Normal file
25
website/build.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* myevent - build.js
|
||||
*
|
||||
* Created by Janis Hutz 03/09/2023, Licensed under the GPL V3 License
|
||||
* https://janishutz.com, development@janishutz.com
|
||||
*
|
||||
*
|
||||
*/
|
||||
|
||||
const prompt = require( 'prompt-sync' );
|
||||
const markdownIt = require( 'markdown-it' );
|
||||
const md2html = new markdownIt();
|
||||
|
||||
|
||||
if ( prompt( 'Do you want to rebuild the ' ).toLowercase === 'y' ) {
|
||||
buildDocs();
|
||||
buildNav();
|
||||
}
|
||||
|
||||
function buildNav () {
|
||||
}
|
||||
|
||||
function buildDocs () {
|
||||
md2html.render( '#Test' );
|
||||
}
|
||||
Reference in New Issue
Block a user