AdamSpannbauer / hosting-ipynbs-with-GitHub-Pages

Home Page:https://adamspannbauer.github.io/hosting-ipynbs-with-GitHub-Pages/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hosting ipynbs with GitHub Pages

A tutorial/example on how to use GitHub pages to host python notebook files as web pages. Please see here for the full document (which was made as an .ipynb file!).

Quick overview instructions

  • Make a Github repo

  • Make an R Markdown file you're proud of and want to share with the world!

  • Export the notebook to html

  • Name the html document index.html

  • Get the index.html file into your GitHub repo

  • Turn on GitHub pages for the repo by clicking:

    • Settings
    • Pages (under the Code and automation section in the sidebar)
    • Find the dropdown menu in the Branch section of the page and select "main" (there's a chance you want to select "master")
      • If you're new to GitHub there's probably only one option to choose, choose that one option that's not "None"
    • Click the Save button
  • Wait!

  • Find your website online at:https://<your-username>.github.io/<your-repo-name/

About

https://adamspannbauer.github.io/hosting-ipynbs-with-GitHub-Pages/

License:MIT License


Languages

Language:HTML 53.3%Language:Jupyter Notebook 46.7%