Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

This page (and hopefully sub-pages) is a WIP. Some parts of the site are a bit tricky, so let's try to share what we've found here!

Navigation

When updating the website's navigation, you have two different code areas to update: one for desktop and one for mobile.

  • navbar.html - contains the code for the nav bar
  • sidebar.js - manages the Sphinx sidebars (the left sidebar in the current incarnation), and these behave differently depending on the current page

For example, if you want to add a new API, you need to make changes in the following spots in navbar.html.

Change 1: Around Lines 18-28...

...

 {% for lang in ['Python', 'Scala', 'R', 'Julia', 'C++', 'Perl'] %}

Change 3: At the top of sidebar.js