Code for the deets project website.
This repository is public, so you can make modifications to this project.
This project is made using jupyter-books. Jupyter-books is a python module that converts markdown and jupyter notebooks into a website as shown at ______________________
- Follow the instructions here to install jupyter-book.
If you are experienced with GitHub
-
Clone this repo
-
Make the modifications you'd like
If you are new to GitHub
-
Install GitHub Desktop
-
In this repo, hit Code > Open with Github Desktop. This should download the repo files and you can modify them.
If you'd like to contribute a new page, you'll need to learn the basics of markdown. Here's a tutorial you can follow: https://www.geeksforgeeks.org/introduction-to-markdown/.
- Open the file
yay_python/_toc.yml - At the bottom of the file, add
- file: fileName(changefileNameto whatever you want :) ) - Create a file called
fileName.mdorfileName.ipynb. - Type up your content in those files. A
.mdis a markdown file, and a.ipynbis a jupyter notebook. - Run
jupyter-book build yay_python/in the directory whereyay_python/is stored - To view the webpage output, go to the directory
yay_python/_book/. This is where all thehtmlfiles are stored. Click onfileName.htmlto view the page you made.
- In GitHub Desktop, commit the changes and select "push to origin"
- add photo to show this
- Once your changes appear on GitHub, run the following command in command line where the
_build/directory is stored on your computerghp-import -n -p -f _build/html
- Remove markdown.md file and
- file: markdownfrom_toc.yml. Website breaks for some reason if I try removing it :/. - Finish website content.
- Play with website CSS (default colour scheme is a bit boring)
For any questions, please contact us on Discord @ assistant_of_milo or by email @ 340895069@gapps.yrdsb.ca