mso1830 / datatheque.com

a data science blog

Home Page:https://www.datatheque.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

datatheque

Hugo Docs

Start Jupyter

workon venv_notebooks
jupyter notebook notebooks

Convert Notebook to HTML

jupyter nbconvert --to html --template basic notebook.ipynb

Start Hugo

-D to include drafts

hugo server -D

Create a new Post

hugo new posts/new-post.md

Add Notebook to Post

Insert the following in the content of your post (after the front matter)

{{< readfile file="notebooks/notebook.html" >}}

Generate Site

Don't forget to toggle draft to false in front matter to make post public

hugo

Publish

Hugo publishes the site to the docs directory and Github is set up to serve the site there. Once the docs directory has been committed, pushing to Github will publish the site.

About

a data science blog

https://www.datatheque.com


Languages

Language:HTML 53.0%Language:Jupyter Notebook 42.5%Language:CSS 4.4%