shawfdong / manjusri

My notes on CyberInfrastructure, High Performance Computing and Machine Learning

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Thus Spake Manjusri

This site is a collection of my personal notes on:

  • High Performance Computing
  • Machine Learning
  • CyberInfrastructure

It is powered by the excellent static site generator MkDocs and the beautiful Material for MkDocs theme.

Conda Environment

Anaconda is my preferred Python distribution. However, MkDocs is not available as a conda package from the default channels.

First create a new conda environment named manjusri:

$ conda create -n manjusri pip

Create the root folder for the MkDocs project:

$ mkdir ~/manjusri
$ cd ~/manjusri

Create a requirement file (requirements.txt) containing a list of packages to be installed using pip:

mkdocs>=1.0
mkdocs-material>=3.0
Pygments>=2.2
pymdown-extensions>=5.0
htmlmin

Activate the manjusri environment:

$ source activate manjusri

Install the required packages (and its dependencies):

$pip install -r requirements.txt

MkDocs Command

  • mkdocs new [dir-name] - Create a new project.
  • mkdocs serve - Start the live-reloading docs server.
  • mkdocs build - Build the documentation site.
  • mkdocs help - Print this help message.

After running mkdocs build, a static web site will be generated in the subfolder site. We can then deploy the site to a web server, or serve it locally with:

$ python -m http.server

About

My notes on CyberInfrastructure, High Performance Computing and Machine Learning

License:MIT License


Languages

Language:HTML 100.0%