GithubHelp home page GithubHelp logo

chrisdembia / eme134 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from moorepants/eme134

0.0 1.0 0.0 821 KB

Jason K. Moore's UC Davis Vehicle Stability Course Website

Home Page: https://moorepants.github.io/eme134

License: Creative Commons Attribution 4.0 International

Makefile 12.21% Shell 5.20% Python 7.05% CSS 34.01% HTML 33.43% MATLAB 8.10%

eme134's Introduction

The course website for Jason K. Moore's University of California, Davis Vehicle Stability course (EME 134). The rendered version can be viewed at:

http://moorepants.github.io/eme134

Editing Guide

  • The website is built using Pelican. Review the Pelican documentation to get familar with how to create pages and articles.
  • The source files are in the git branch called master. This is the default branch of the repository. The HTML files are generated via doctr and pushed to the gh-pages branch, which is automatically seved to https://moorepants.github.io/eme171. You should not have to ever manually edit files in the gh-pages branch.
  • All articles, pages, and similar content should be written in reStructuredText. See the Sphinx reStructuredText primer to learn the syntax.
  • All changes, in general, should be submitted as Github pull requests. Don't commit directly to the master branch.
  • Binary Assets such as images, videos, etc should be served from an external hosting site. Ask Jason about using his Dreamhost DreamObject bucket. He'll set it up for multi-user access when needed. Do not commit binary assets to this repository.
  • You can edit and add rst files directly in the contents directory using the Github interface. The small pencil on files lets you edit and submit pull requests. Just above the directory view has buttons for adding files. See these instructions: https://help.github.com/en/articles/editing-files-in-your-repository

Building Locally

It is good practice to build the documentation locally so that you can review change before submitting a pull request.

Install pelican with conda (or pip if you prefer):

$ conda install pelican

Clone the theme repository:

$ git clone --branch mechmotum [email protected]:mechmotum/pelican-alchemy.git

Note the path to the theme, e.g.:

/home/my_username/pelican-alchemy

Clone the pelican-plugins repository:

$ git clone [email protected]:getpelican/pelican-plugins.git

Note the path to the plugins directory, e.g.:

/home/my_username/pelican-plugins

Clone this repository and change into the new directory:

$ git clone [email protected]:moorepants/eme134.git
$ cd eme134/

Create a configuration file called config.yml and add the full path to where you installed the theme:

$ echo "THEME_PATH: /home/my_username/pelican-alchemy" > local-config.yml
$ echo "PLUGIN_PATHS: /home/my_username/pelican-plugins" >> local-config.yml

Now you can build and serve the documentation with:

$ make devserver

If this succeeds you can open the website in your web browser at http://localhost:8000.

While the server is running you can change the website source files and they will be build automatically. Refresh your web browser to view the changes.

To stop the web server press <CTRL + C> or type make stopserver.

LICENSE

This repository is licensed under the CC-BY 4.0 license.

eme134's People

Watchers

 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.