Skip to content

Commit

Permalink
Move Worldview landing page under a /worldview directory (cruise-auto…
Browse files Browse the repository at this point in the history
…mation#33)

So that we don’t have to change all the urls when we add more stuff
into this monorepo.

I also checked in the package-lock.json files that changed when I ran
`npm run bootstrap`.

Test plan: verified locally that this works as expected.
  • Loading branch information
janpaul123 authored Dec 20, 2018
1 parent 9430220 commit f4c11e1
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 6 deletions.
7 changes: 4 additions & 3 deletions docs/public/index.html
100755 → 100644
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,12 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="theme-color" content="#000000" />
<title>regl-worldview</title>
<title>webviz</title>
<script>
window.location = "worldview";
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="dist/docs.js"></script>
</body>
</html>
21 changes: 21 additions & 0 deletions docs/public/worldview/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!--
Copyright (c) 2018-present, GM Cruise LLC
This source code is licensed under the Apache License, Version 2.0,
found in the LICENSE file in the root directory of this source tree.
You may not use this file except in compliance with the License.
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta name="theme-color" content="#000000" />
<title>Worldview</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<script src="../dist/docs.js"></script>
</body>
</html>
File renamed without changes
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion packages/regl-worldview/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@

// DON"T REMOVE THIS FILE
// This is for the docs, stories, and linter to work
import Worldview from "./src";

export * from "./src";
export default from "./src";
export default Worldview;
2 changes: 1 addition & 1 deletion packages/regl-worldview/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f4c11e1

Please sign in to comment.