8000 GitHub - rvl-lab-utoronto/rvl-lab-utoronto.github.io
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

rvl-lab-utoronto/rvl-lab-utoronto.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RVL Website

This project was bootstrapped with Create React App.

Setup

  1. Install node.js (version 22.11.0 as of Dec 2024)

  2. Verify installation with

    $ npm
  3. Install project dependencies with

    $ npm install

Available Scripts

In the project directory, you can run:

$ npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

GitHub Pages

  1. Add/edit homepage attribute in package.json
    {
      "homepage":"http://{username}.github.io/{repo-name}",
      "name": "website name",
      "version": "0.1.0",
      ...
    }
    
  2. Create a GitHub repository with the same name and initialize`
    $ git init
  3. Add this as remote
    $ git remote add origin git@github.com:{username}/{repo-name}.git
  4. Deploy with:
    $ npm run deploy

Pushing Changes to GitHub Pages

After setting up and initialization to GitHub pages, deploy the app using npm run deploy to update the website with any changes.

You can always test your changes before by running npm start

Configuration

  • All assets are stored in public/assets/
  • All data files are stored in src/data/

News Entries

  1. Open src/data/news.js in an editor
  2. Add News objects to the list

News Object

  {
    "date":"2021-08-12",
    "content":"Lorem ipsum...",
  },
attribute type notes example value
date string Date is of the form: year-month-day "2021-08-12"
content string Content supports inline html "Lorem ipsum..."

Slideshow Images

  1. Open src/data/slideshow.js in an editor
  2. Add image location to the list
  [
    "assets/slideshow/image0.png",
    "assets/slideshow/image2.png",
  ]
exported variable type notes example value
dataSlideshow list of string All locations should point to where assets are stored: public/ ["assets/slideshow/husky_utm_2020.png"]

Blog Pages

The RVL Blog supports 3 types of blog posts: a local .html file, a local .md markdown file or a link to an external post:

Blog Page (type 1, PREFERRED): Creating a local .html file from a Quarto .qmd markdown file

  • If you haven't done this already, install Quarto on your machine
  • If you are working from VSCode, also install the Quarto extension for VSCode
  • Create a new directory (let's call it hypercrl) for your blog page under public/assets/blog-pages/, for example public/assets/blog-pages/hypercrl
  • Create a .qmd markdown file in that directory, for example public/assets/blog-pages/hypercrl/hypercrl.qmd. This type of markdown supports math. See this example html page that resulted from this .qmd file
  • Compile the .qmd file into an .html file, either via the command line, or through the VSCode Quarto extension (see Preview Format here)
  • This will create the .html file and related media files, found under public/assets/blog-pages/hypercrl/hypercrl_files
  • You should commit the .qmd file, the .html file, and the hypercrl_files folder to the repository, both are necessary
  • Now you can declare the generated .html file as a blog page in src/data/blogs.js. For example:
   {
    "title": "Continual Model-Based Reinforcement Learning with Hypernetworks",
    "date": "August 18, 2020",
    "webLocation": "blogpage", 
    "asset": "assets/blog-pages/hypercrl/hypercrl.html",
   },
  • Your blog page will be accessible at https://rvl.cs.toronto.edu/blog/blogpage
attribute type notes example value
title string The title to be shown in the list of Blog Pages "Continual Model-Based Reinforcement Learning with Hypernetworks"
date string No specific format "August 18, 2020"
webLocation string The URL of that page (will be exampleWebsite.com/blog/webLocation) "hypercrl"
asset string All locations should point to where assets are stored: public/ "assets/blog-pages/project_name/hypercrl.html"
description string (optional) A description "Some description."

Blog Page (type 2): Creating a local .md markdown file

  • It's best to avoid using this option unless you really know what you're doing with CSS. The Quarto -> html option (type 1) looks much better than this one by default.
  • If you decide to go ahead with this, then
  • Create a new directory for your blog page under public/assets/blog-pages/, for example public/assets/blog-pages/hypercrl
  • Create a .md markdown file in that directory, for example public/assets/blog-pages/hypercrl/hypercrl.md. This markdown supports math markup using katex: https://katex.org/docs/supported.html
  • You should commit the .md file to the repository
  • Declare the generated .md file as a blog page in src/data/blogs.js. For example:
   {
    "title": "Continual Model-Based Reinforcement Learning with Hypernetworks",
    "date": "August 18, 2020",
    "webLocation": "blogpage", 
    "asset": "assets/blog-pages/hypercrl/hypercrl.md",
    "articleData":{
      "title": "Blog Title",
      "date": "September 20, 2020",
      "authors":["Author 1", "Author 2"],
      "affiliations":["University of Toronto"],
   },
  • Your blog page will be accessible at https://rvl.cs.toronto.edu/blog/blogpage
attribute type notes example value
title string The title to be shown in the list of Blog Pages "Test Entry To Readme Blog"
date string No specific format "September 20, 2020"
webLocation string The URL of that page (will be exampleWebsite.com/blog/webLocation) "blogPage2"
asset string All locations should point to where assets are stored: public/ "assets/blog-pages/blogPage2.md"
description string (optional) A description "Some description."
articleData object (optional) Metadata for the article See below

Article Data Object

attribute type notes example value
title string (optional) The title to be shown in the Blog Pages "Blog Title"
date string (optional) No specific format "September 20, 2020"
authors list of string (optional) Authors of the article ["Author 1", "Author 2"]
affiliations list of string (optional) Affiliations of the article ["University of Toronto"]

Blog Page (type 3): External Link

  • Create a blog entry in src/data/blogs.js that links to another website
  {
    "title": "Blog Title To External Link",
    "date": "September 20, 2020",
    "link": "https://google.ca",
    "description": "Some description.",
  },
attribute type notes example value
title string The title to be shown in the list of Blog Pages "Blog Title To External Link"
date string No specific format "September 20, 2020"
link string Should be a URL starting with http "https://google.ca"
description string (optional) A description "Some description."

Publication Entries

  1. Open src/data/publications.js in an editor
  2. Add publication object to the list

Publication Object

  {
    "bibtex":`
      @InProceedings{id,
        author = "author",
        title = "title",
        booktitle = "booktitle",
        pages = "0--100",
        year = "2020",
        month = "October",
      }
    `,
    "pdf":"assets/pdf/iros2012_multirobot_env_monitoring.pdf",
    "code":"https://github.com"
    "video":"https://www.youtube.com",
    "project":"https://google.com",
    "tags":["tag1","tag2"],
    "thumbnail":"assets/publication-thumbnails/thumbnail.png",
    "description":"Lorem ipsum...",
  },
attribute type notes example value
bibtex string The bibtex of the publication "@InProceeding{...}"
pdf string (optional) A PDF location from public/ assets. "assets/pdf/iros2012_multirobot_env_monitoring.pdf"
html string (optional) A URL leading to a pdf "https://www.google.ca"
code string (optional) Content supports inline html "https://github.com"
video string (optional) A URL leading to a video "https://www.youtube.com"
project string (optional) A URL leading to a project ""https://google.com"
tags list of string Tags used for tag searching ["tag1","tag2"]
thumbnail string A thumbnail image location from public/ assets. "assets/publication-thumbnails/thumbnail.png"
description string Unused as of now "Lorem ipsum..."

Research Themes

  1. Open src/data/researchThemes.js in an editor
  2. Add research object to the list

Research Object

  {
    "title": "Theme Title",
    "content": [
      "theme1",
      "theme2",
    ],
  },
attribute type notes example value
title string The title of the grouping of research themes "Theme Title"
content list of string The themes listed ["theme1","theme2",]

Team Members

  1. Open src/data/team.js in an editor
  2. Add team object to the list

Team Member Object

  {
    "name":"Name",
    "image":"assets/team/name.jpg",
    "description":"Lorem ipsum...",
    "website":"http://www.google.ca",
    "email":"email@email.com",
    "twitter":"http://www.twitter.com",
    "linkedIn":"http://www.linkedin.com",
    "googleScholar":"http://www.google.ca",
  }
attribute type notes example value
name string The name of the member "Name"
image string The members image. All locations should point to where assets are stored: public/ "assets/team/name.jpg"
description string (optional) A description under the name "Lorem ipsum..."
website string (optional) The team member's personal website "http://www.google.ca"
email string (optional) The team member's email "email@email.com"
twitter string (optional) The team member's Twitter "http://www.twitter.com"
linkedIn string (optional) The team member's LinkedIn "http://www.linkedin.com"
googleScholar string (optional) The team member's Google Scholar "http://www.google.ca"

Project/Research Entries

  1. Open src/data/projects.js in an editor
  2. Add project object to the list (2 types)

Creating a Markdown Document for a Project

  • Create a new markdown (.md) file to be used for the project
  • This markdown file should be located in public/. For example: public/assets/project-assets/pages/test.md.
  • All markdown formatting is supported
  • Markdown supports inline code blocks, and code blocks
  • Also supports math markup using katex: https://katex.org/docs/supported.html

Project Object 1 - Local Markdown

  {
    "title":"Project 1",
    "description":"a project with a background image",
    "image":"assets/project-assets/images/placeholder1.jpg",
    "asset":"assets/project-assets/pages/test.md",
    "webLocation":"project1",
  },
attribute type notes example value
title string The title of the project "Project 1"
description string The description of the project "a project with a background image"
image string The thumbnail image. All locations should point to where assets are stored: public/ "assets/project-assets/images/placeholder1.jpg"
asset string The markdown of the page. All locations should point to where assets are stored: public/ "assets/project-assets/pages/test.md"
webLocation string The URL of that page (will be exampleWebsite.com/projects/webLocation) "project1"

Project Object 2 - External Link

  • Also supports just an image, title, and description - with no link
  • link is optional
  {
    "title":"Project 2",
    "description":"a project that redirects to another website",
    "image":"assets/project-assets/images/placeholder2.jpg",
    "link":"https://google.ca",
  }
attribute type notes example value
title string The title of the project "Project 2"
description string The description of the project "a project that redirects to another website"
image string The thumbnail image. All locations should point to where assets are stored: public/ "assets/project-assets/images/placeholder2.jpg"
link string (optional) A URL leading to a project "https://google.ca"

Joining

  1. Open src/data/joining.md in an editor
  2. Edit the markdown file to edit content

Socials

  1. Open src/data/socials.js in an editor
  2. Add socials object to the list

Socials Object

  {
    "link":"https://www.youtube.com/",
    "name":"YouTube",
    "icon":"assets/social-icons/youtube.png",
  },
attribute type notes example value
link string A URL leading to that social "https://www.youtube.com/"
name string The label of that social "YouTube"
icon string The icon image. All locations should point to where assets are stored: public/ "assets/social-icons/youtube.png"

Copyright / Footer Note

  1. Open src/data/copyright.js in an editor
  2. Edit the string copyrightMessage as needed

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 15

0