Skip to content

Commit

Permalink
Some website improvements
Browse files Browse the repository at this point in the history
- check in the yarn lockfile. this is how we guarantee reproducible
  website builds
- fix a React styling mistake (both work but React complains)
- removed unused JS file that wasn't being referenced correctly anyway
  • Loading branch information
zpao committed Feb 14, 2025
1 parent 5265946 commit 1680989
Show file tree
Hide file tree
Showing 5 changed files with 10,958 additions and 61 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ docs/tutorials/*
!docs/tutorials/index.mdx

# Docusaurus site
**/yarn.lock
website/build/
website/i18n/
**/node_modules/
Expand Down
1 change: 0 additions & 1 deletion website/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ module.exports={
"projectName": "Ax",
"scripts": [
"https://cdn.plot.ly/plotly-latest.min.js",
"/Ax/js/plotUtils.js",
"https://buttons.github.io/buttons.js",
'https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js',
'https://cdn.bokeh.org/bokeh/release/bokeh-widgets-2.4.2.min.js',
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ const codeExample = `>>> from ax import optimize
const QuickStart = () => (
<div
className="get-started-section padding--xl"
style={{'background-color': 'var(--ifm-color-emphasis-200)'}}
style={{'backgroundColor': 'var(--ifm-color-emphasis-200)'}}
id="quickstart"
>
<h2 className="text--center padding--md">Get Started</h2>
Expand Down
58 changes: 0 additions & 58 deletions website/static/js/plotUtils.js

This file was deleted.

Loading

0 comments on commit 1680989

Please sign in to comment.