Electron Workshop Main Website
This is using Material for MkDocs, a utility to create documentation website from markdown files.
Here's how you can get started locally by first running these commands
-
Build the website:
Run
make buildto compile the website into HTML files that you can view in your web browser. -
Serve the website:
Run
make serveto start a local web server and open the website in your default browser. -
Clean build artifacts:
Run
make cleanto remove any generated files from thewebsitedirectory. -
Add a new post to blog
Run
./util/createPost.pyto add a new blog post
The make script internally also setup a virtual enviroment which would install the required mkdocs and mkdocs-material plugins plus a few other useful plugins for this website.
pip install virtualenv
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt