Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] add kernels page #7

Closed
wants to merge 52 commits into from
Closed
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
4237267
adding kernels
bollwyvl May 3, 2015
3952943
adding more copy, etc
bollwyvl May 3, 2015
2655435
adding submodule for bower components
bollwyvl May 3, 2015
1403a3a
updating pointer
bollwyvl May 3, 2015
c739c64
adding d3
bollwyvl May 3, 2015
b921579
cleanup
bollwyvl May 3, 2015
9b570ac
links, cleanup
bollwyvl May 3, 2015
443fdc8
adding language, versions
bollwyvl May 3, 2015
41e607e
making panel titles links
bollwyvl May 3, 2015
fdad4be
search
bollwyvl May 3, 2015
9bef6d2
adding sort
bollwyvl May 4, 2015
d300693
cleaning up design, copy
bollwyvl May 5, 2015
668e1c2
more feature work
bollwyvl May 5, 2015
d4c0d6c
material design
bollwyvl May 6, 2015
848d892
Updated Calysto Scheme entry
May 6, 2015
ba7dee1
Updated Calysto Scheme entry: fixed typo and added Scheme to languages
May 6, 2015
5532302
Merge pull request #1 from dsblank/gh-pages
bollwyvl May 6, 2015
3b011df
moving calysto scheme logo to rawgit
bollwyvl May 6, 2015
967b659
feedback from #7
bollwyvl May 7, 2015
f384b95
adding calysto scheme github action, padding tweaks
bollwyvl May 7, 2015
ee6f1c3
version cleaning
bollwyvl May 7, 2015
fa075bf
search box highlight
bollwyvl May 7, 2015
7a3e193
adding some motion to the sort process
bollwyvl May 8, 2015
6818059
z-index for pretties
bollwyvl May 8, 2015
c273615
removing opacity from transitions
bollwyvl May 8, 2015
d72f36f
fixing header, scaling brand on scroll
bollwyvl May 8, 2015
61a509f
significant rework of scrolling head
bollwyvl May 8, 2015
25d7ad2
more fixed header tweaking
bollwyvl May 9, 2015
5fe7bd0
languages - environments, more work on header
bollwyvl May 9, 2015
7f2742f
removing cruft
bollwyvl May 9, 2015
2f2ea21
canonical json
bollwyvl May 9, 2015
d6c2078
adding metrics
bollwyvl May 9, 2015
822a797
adding more gh links
bollwyvl May 10, 2015
04e934e
adding metrics from github scraping
bollwyvl May 10, 2015
8eff8cf
grabbing more URLs
bollwyvl May 11, 2015
95a25f0
adding less and bower to package.json
bollwyvl May 11, 2015
7b22e25
using travis for build
bollwyvl May 11, 2015
7163f27
travis bait
bollwyvl May 11, 2015
98cb33e
more less work
bollwyvl May 11, 2015
053cce9
using less for more of hiding/showing
bollwyvl May 11, 2015
22b6b7a
updating data, list view
bollwyvl May 11, 2015
abb3693
fixing bad repo names
bollwyvl May 11, 2015
7af6815
fixing fsharp
bollwyvl May 11, 2015
faea1de
fixing up some metrics problems
bollwyvl May 11, 2015
881035e
less plugins, faster build
bollwyvl May 12, 2015
c82115a
using browserify, image optimization
bollwyvl May 12, 2015
c22d2f5
adding more data
bollwyvl May 12, 2015
ab35c13
adding examples action
bollwyvl May 12, 2015
aaf7a5e
added view actions
bollwyvl May 12, 2015
05276aa
fixing links
bollwyvl May 12, 2015
be4029c
mobile work
bollwyvl May 12, 2015
761bc9b
fixing index css urls
bollwyvl May 12, 2015
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "bower_components"]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oof, do we have to use a submodule? I was so happy to get rid of our submodule in the notebook.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As i mentioned, I'd prefer a build step from another branch that built master, and the bower components would be checked in there. However, due to how github pages works, the submodule is for my sanity right now so that there is always a working demo.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good, thanks for the explanation. I'll try to read more carefully.

path = bower_components
url = https://github.com/bollwyvl/jupyter.github.io.git
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
[Jupyter.org](http://jupyter.org/) website files

Assets are managed with [bower](http://bower.io), and stored in a submodule for
deployment.
21 changes: 21 additions & 0 deletions bower.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "jupyter.github.io",
"version": "0.0.0",
"homepage": "https://github.com/jupyter/jupyter.github.io",
"authors": [
"Nicholas Bollweg <nick.bollweg@gmail.com>"
],
"license": "BSD",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"test",
"tests"
],
"dependencies": {
"bootstrap": "~3.3.4",
"font-awesome": "~4.3.0",
"d3": "~3.5.5"
}
}
1 change: 1 addition & 0 deletions bower_components
Submodule bower_components added at 5fcd03
6 changes: 3 additions & 3 deletions css/jupyter.css
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,12 @@ img.language-logo {

#moon-1:hover + #julia {
display: block;
}
}

#moon-2:hover + #python {
display: block;
}
}

#moon-3:hover + #r {
display: block;
}
}
61 changes: 61 additions & 0 deletions css/kernels.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
.container{
padding-top: 1em;
padding-bottom: 1em;
border-bottom: solid 1px #eee;
}

.search-icon {
position: absolute;
margin: 8px 0 0 5px;
}

.search-kernels{
text-indent: 20px;
}

.kernel-sorts i{
margin-right: 5px;
}

.kernel .version {
margin-left: 10px;
font-size: 80%;
}

.features .feature{
text-align: left;
}

.kernel .title {
margin-top: 0;
}

.language label{
margin: 0 5px;
}

.kernel .features {
margin: -8px -8px 0 0;
text-align: justify;
}

.kernel .features .btn:first-child {
padding-left: 0;
}

.kernel .feature-container {
padding: 20px 0 0 0;
}

.kernel .panel-footer{
padding: 0;
}

.steps {
text-align: center;
}

.steps .logo{
max-width: 100px;
max-height: 100px;
}
Binary file added images/docker.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/github.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/zmq.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 27 additions & 26 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,26 +1,18 @@
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Jupyter Project</title>
<meta charset="UTF-8">
<title>Jupyter Project</title>


<link rel="shortcut icon" href="favicon.ico" />
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.1/jquery.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>

<link href="jupyter_font/styles.css" rel="stylesheet">
<link href="css/jupyter.css" rel="stylesheet">

<script type="text/javascript" src="https://use.typekit.net/kpd5yrh.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<link rel="shortcut icon" href="favicon.ico" />
<link href="bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">

<link href="jupyter_font/styles.css" rel="stylesheet">
<link href="css/jupyter.css" rel="stylesheet">
</head>
<body>

<div class="container">

<div id="main-title">
Expand All @@ -34,19 +26,20 @@ <h2 class="text-center">
</h2>
</div>
</div>

<div class="row" id="ipython-jupyter-bullets">
<div class="col-md-3 col-md-offset-3">
<h2 class="text-center">IPython</h2>
<ul>
<li>Interactive Python shell</li>
<li>Python kernel for Jupyter</li>
<li>Python <a href="kernels/">kernel</a> for Jupyter</li>
<li>Interactive Parallel Python</li>
</ul>
</div>
<div class="col-md-3">
<h2 class="text-center">Jupyter</h2>
<ul>
<li>Many language <a href="kernels/">kernels</a></li>
<li>Rich REPL Protocol</li>
<li>Notebook (format, environment, conversion)</li>
<li><a href="https://github.com/jupyter/jupyterhub">JupyterHub</a> (multi-user notebook server)</li>
Expand Down Expand Up @@ -105,16 +98,24 @@ <h4 class="text-center">

</div>

<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-52617120-1', 'auto');
ga('send', 'pageview');
<script type="text/javascript" src="https://use.typekit.net/kpd5yrh.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>

<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');
</script>

<script src="bower_components/jquery/dist/jquery.min.js"></script>
<script src="bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

</script>
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
ga('create', 'UA-52617120-1', 'auto');
ga('send', 'pageview');
</script>
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
</body>
</html>
137 changes: 137 additions & 0 deletions kernels/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
<!doctype html>
<html>

<head>
<meta charset="UTF-8">
<title>Jupyter Project</title>

<link rel="shortcut icon" href="../favicon.ico">

<link href="../bower_components/bootstrap/dist/css/bootstrap.min.css" rel="stylesheet">
<link href="../bower_components/font-awesome/css/font-awesome.min.css" rel="stylesheet">

<link href="../jupyter_font/styles.css" rel="stylesheet">
<link href="../css/jupyter.css" rel="stylesheet">
<link href="../css/kernels.css" rel="stylesheet">
</head>

<body>
<div class="container">
<a href="../" class="pull-left">
<img src="../images/jupyter-sq-text.svg" width="100"></a>
</a>
<h1>Kernels</h1>
<p>
Jupyter Kernels provide a productive computing in a number of languages.
<a href="#your-kernel-here">Don't see your kernel here?</a>
</p>
</div>

<div class="container">
<p>
In addition to the basic command line and Notebook experiences, kernels can implement additional interactivity features:
</p>
<div class="features"></div>
</div>

<div class="container">
<div class="row">
<div class="form-group col-md-7">
<i class="fa fa-fw fa-search pull-left search-icon text-muted"></i>
<input type="text" class="form-control search-kernels"
placeholder="Search kernel titles, descriptions &amp; languages">
</div>
<div class="form-group col-md-5">
<label><i class="fa fa-fw fa-sort-alpha-asc text-muted"></i></label>
<div class="kernel-sorts"></div>
</div>
</div>
<div class="kernels"></div>
</div>

<div class="container">
<a name="your-kernel-here"></a>
<h2>Your Kernel Here...</h2>
<p>Writing a Jupyter Kernel for your language can be a great way to add a powerful REPL and interactivity for your users, and reach a broader audience.</p>

<div class="row steps">
<div class="col-md-4">
<h3><a href="http://ipython.org/ipython-doc/dev/development/kernels.html">
<p>Implement the Spec</p>
<img src="../images/zmq.gif" class="logo">
</a>
</h3>
<p>
Jupyter uses <a href="http://zeromq.org/">ØMQ</a> for high-performance communication between clients and the kernel. Test your kernel with <a href="https://github.com/ipython/ipython/wiki/Dev:-Testing-kernels-against-message-specification">kerneltest</a>.
</p>
</div>
<div class="col-md-4">
<h3>
<a href="https://github.com/jupyter/jupyter.github.io/compare">
<p>Fork &amp; Pull Request</p>
<i class="fa fa-code-fork fa-5x"></i>
</a>
</h3>

<p>
This site is open source! Fork it and make a pull request to get your new Kernel, example notebooks and logo added.
</p>
</div>

<div class="col-md-4">
<h3>
<a href="https://github.com/jupyter/docker-demo-images/blob/master/Dockerfile">
<p><i class="fa fa-star text-primary"></i> Extend Docker Demo</p>
<img src="../images/docker.png" class="logo">
</a>
</h3>
<p>
Extend the Jupyter Demo Dockerfile to make your kernel instantly available on <a href="http://try.jupyter.org">try.jupyter.org</a>.
</p>
</div>
</div>
</div>

<div class="container">
<div id="footer" class="text-center">
<div class="row">
<div class="col-sm-2 col-sm-offset-1">
<!-- Place this tag where you want the button to render. -->
<a class="github-button" href="https://github.com/jupyter">@jupyter on GitHub</a>
</div>
<div class="col-sm-2">
<a href="https://twitter.com/ProjectJupyter" class="twitter-follow-button" data-show-count="false">Follow @ProjectJupyter</a>
</div>
<div class="col-sm-2">
<a href="https://blog.jupyter.org">Jupyter Blog</a>
</div>
<div class="col-sm-2">
<a href="https://groups.google.com/forum/#!forum/jupyter">Jupyter Mailing List</a>
</div>
<div class="col-sm-2"><a href="http://ipython.org">IPython Project</a></div>
</div>
</div>
</div>

<script src="../bower_components/jquery/dist/jquery.min.js"></script>
<script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="../bower_components/d3/d3.min.js"></script>
<script src="../scripts/kernels.js"></script>

<script type="text/javascript" src="https://use.typekit.net/kpd5yrh.js"></script>
<script type="text/javascript">try{Typekit.load();}catch(e){}</script>
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+'://platform.twitter.com/widgets.js';fjs.parentNode.insertBefore(js,fjs);}}(document, 'script', 'twitter-wjs');</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');

ga('create', 'UA-52617120-1', 'auto');
ga('send', 'pageview');

</script>

</body>
</html>
Loading