Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Redesign the template * Fix error * Exclude docs/assets/ from .eslint
- Loading branch information
1 parent
354c84c
commit 6a7c801
Showing
105 changed files
with
8,715 additions
and
756 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ pkg/ | |
tmp/ | ||
docs/js/ | ||
docs/releases/ | ||
docs/assets/js/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
## Stuck? | ||
### Stuck? | ||
|
||
Please ask questions on [the mailing list](http://groups.google.com/group/sinonjs) if you're stuck. | ||
|
||
## Contribute | ||
### Contribute | ||
|
||
We really appreciate suggestions to improve the documentation so Sinon.JS can be easy to work with. Get in touch! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,9 @@ | ||
<footer class="site-footer"> | ||
<div class="wrapper"> | ||
<div class="footer-col-wrapper"> | ||
<div class="footer-col footer-col-1"> | ||
<ul class="contact-list"> | ||
<li>{{ site.title }}</li> | ||
<li><a href="http://groups.google.com/group/sinonjs">http://groups.google.com/group/sinonjs</a></li> | ||
</ul> | ||
</div> | ||
<div class="footer-col footer-col-2"> | ||
<ul class="social-media-list"> | ||
{% if site.github_username %} | ||
<li>{% include icon-github.html username=site.github_username %}</li> | ||
{% endif %} | ||
</ul> | ||
</div> | ||
<div class="footer-col footer-col-3"> | ||
Sinon uses <a href="http://semver.org/">Semantic versioning</a><br> | ||
Copyright 2010 - 2017, the Sinon.JS committers. Released under the <a href="https://opensource.org/licenses/BSD-3-Clause">BSD license</a>. | ||
</div> | ||
</div> | ||
</div> | ||
<script src="{{ "/js/prism.js" | prepend: site.baseurl }}"></script> | ||
</footer> | ||
<script src="{{ "/assets/js/prism.js" | prepend: site.baseurl }}"></script> | ||
|
||
<div class="footer"> | ||
<div class="container text-center"> | ||
<a href="http://sinonjs.org/" target="blank"><img class="grow" src="{{ "/assets/images/small-logo.png" | prepend: site.baseurl }}" alt="Sinon.JS"></a> | ||
<p>Copyright 2010 - 2017, the Sinon.JS committers.</p> | ||
<p>Released under the <a href="https://opensource.org/licenses/BSD-3-Clause">BSD license</a>.</p> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
<head> | ||
<meta charset="utf-8" /> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1"> | ||
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title> | ||
<meta name="description" content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}" /> | ||
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}"> | ||
<link rel="stylesheet" href="{{ "/css/prism.css" | prepend: site.baseurl }}"> | ||
<link rel="stylesheet" href="{{ "/assets/css/main.css" | prepend: site.baseurl }}"> | ||
<link rel="shortcut icon" href="{{ "/assets/images/favicon.png" | prepend: site.baseurl }}"> | ||
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}" /> | ||
<link href="https://fonts.googleapis.com/css?family=Karla:400,700" rel="stylesheet"> | ||
</head> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
<header class="site-header"> | ||
<div class="wrapper"> | ||
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a> | ||
<nav class="site-nav"> | ||
<a class="page-link" href="{{ site.baseurl }}/">Home</a> | ||
<a class="page-link" href="{{ site.baseurl }}/releases/{{site.sinon.current_release}}">API Documentation</a> | ||
<a class="page-link" href="{{ site.baseurl }}/releases">Releases</a> | ||
<a class="page-link" href="{{ site.baseurl }}/how-to">How To</a> | ||
</nav> | ||
</div> | ||
</header> | ||
<div class="navigation"> | ||
<div class="container"> | ||
<nav class="navbar header"> | ||
<div class="navbar-header"> | ||
<a class="navbar-brand" href="{{ site.baseurl }}/"> | ||
{{ site.title }} | ||
</a> | ||
</div> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li><a href="{{ site.baseurl }}/releases/{{site.sinon.current_release}}">Documentation</a></li> | ||
<li><a href="{{ site.baseurl }}/releases/">Releases</a></li> | ||
<li><a href="{{ site.baseurl }}/how-to/">How To</a></li> | ||
<li><a href="https://github.com/sinonjs/" target="blank" class="github-nav"><img src="{{ "/assets/images/Github.png" | prepend: site.baseurl }}" alt="Github"></a></li> | ||
</ul> | ||
</nav> | ||
</div> | ||
</div> |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,15 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
|
||
{% include head.html %} | ||
|
||
<body> | ||
|
||
{% include header.html %} | ||
|
||
<div class="page-content"> | ||
<div class="wrapper"> | ||
{{ content }} | ||
</div> | ||
<html lang="en"> | ||
{% include head.html %} | ||
<body> | ||
{% include header.html %} | ||
|
||
<div class="content"> | ||
<div class="container container-2"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
|
||
{% include footer.html %} | ||
|
||
</body> | ||
|
||
{% include footer.html %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
{% include head.html %} | ||
<body> | ||
{% include header.html %} | ||
<div class="top"> | ||
<div class="container home-header"> | ||
<img class="logo grow img-responsive" src="{{ "/assets/images/logo.png" | prepend: site.baseurl }}" alt=""> | ||
<h1> | ||
Standalone test spies, stubs and mocks for JavaScript. <br> | ||
Works with any unit testing framework. | ||
</h1> | ||
|
||
<p class="btn-top text-center"> | ||
<a class="btn btn-primary" href="#get-started">Get Started</a> | ||
<a class="btn btn-default" target="blank" href="https://github.com/sinonjs/sinon"><img src="{{ "/assets/images/github.png" | prepend: site.baseurl }}" alt="">Star Sinon.JS on Github</a> | ||
</p> | ||
|
||
<div class="backed"> | ||
<div class="wrap"> | ||
<p class="centre-line"><span>Proudly Backed By</span></p> | ||
<div class="people"> | ||
<a href="https://opencollective.com/sinon/"><img src="https://opencollective.com/sinon/backer/0/avatar.svg"></a> | ||
<a href="https://opencollective.com/sinon/"><img src="https://opencollective.com/sinon/backer/1/avatar.svg"></a> | ||
</div> | ||
</div> | ||
<div class="backer"> | ||
<span>Become a backer and support Sinon.JS with a monthly donation.</span> | ||
<a class="btn btn-primary" target="blank" href="https://opencollective.com/sinon/">Become a backer</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div class="content"> | ||
<div class="container container-2"> | ||
{{ content }} | ||
</div> | ||
</div> | ||
|
||
{% include footer.html %} | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.