Coder Social home page Coder Social logo

website-2019-spring's Introduction

CS230 Website

This repository contains the code for the new CS230 website (launched in January 2019), which is based on the Doks Jekyll theme.

How to Edit a Page?

Get a local version of the website running

  • Clone a local copy of this repository.
  • Unzip the folder and cd into it from terminal.
  • If you haven't already installed Jekyll, then run gem install bundler jekyll or sudo gem install bundler jekyll.
  • Run jekyll serve.
  • A local version of the website should be accessible at http://127.0.0.1:4000.

Edit the Markdown file

Open the Markdown file (.md) for the page you want to edit. Generally, don't edit the first few rows of text between -- and --. Notice that if you edit this page then reload the website, your changes will have been added. Don't forget to commit your changes to the Github page.

How to Publish a Page?

Generate a publishable version

From terminal run JEKYLL_ENV=production jekyll build in the top folder for a local version of the website. A publishable HTML version of the website will be available in the _site folder.

Transfer content to server

Transfer the content of the _site folder to Stanford's AFS server with either the web interface or SFTP tools. CS230's website folder is located at /afs/ir/class/cs230/WWW. For more information on transferring files to AFS read here.

Helpful hints

For shortcuts to Markdown formatting check out this cheat sheet. Below are specific formatting tricks for this repository.

Hyperlinks

For external links use [link](https://...) and for local links use [link](/path/to/file). If you are linking to a file hosted on the server (i.e. an old midterm solution) then use an external link.

Images

The raw images should go in the following folder doks-theme/assets/images/[article type]/[number]. Instead of using ![Alt text](image.png) use the following {% include image.html description="add description" link="external url image source" image="[article type]/[number]/[image.png]" caption="true"%}.

Latex

This repository uses MathJax to render Latex. Simply write normal Latex code in the Markdown files and surround it in dollar signs. For $$inline math$$ simply put it directly in a sentence, while for $$centered math$$ put it on its own line.

Comments

You can comment out Markdown with HTML comment symbols. That is surround the text you would like not to display with <!-- and -->.

What can be improved

Below is a list of suggested changes for the website and content:

General:

  • Should modify image.html include to take width as an argument.
  • Standardize previous project list and make a standardized method for adding new ones.
  • Add a toggle answer include for the FAQ, Sections, and Lectures.
  • Clean up file structure on server.
  • Add Google Analytics by editing the _config.yml file.

Section:

  • Section 3 should use the notation introduced in class.
  • Section 6 add Pytorch code as well as Tensorflow.
  • Section 9 extend to regression metrics and AUC.
  • Section 10 is very minimal and needs more content.

Lecture:

  • Images need to be added to all lectures.
  • Lectures 8, 9, 10 are unfinished.
  • Keep a consistent style to all lectures.
  • Should merge lecture notes 4a and 4b into just 4.

website-2019-spring's People

Contributors

abhijeetshenoi avatar danielkunin avatar jaywhang avatar kaidic avatar sarahnajmark avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.