Skip to content

Commit

Permalink
Use https everywhere and remove legacy links
Browse files Browse the repository at this point in the history
  • Loading branch information
mantoni authored and mroderick committed Jul 30, 2018
1 parent c2c7814 commit f0890a6
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 15 deletions.
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Expand Up @@ -4,7 +4,7 @@ There are several ways of contributing to Sinon.JS

* Look into [issues tagged `help-wanted`](https://github.com/sinonjs/sinon/issues?q=is%3Aopen+is%3Aissue+label%3A%22Help+wanted%22)
* Help [improve the documentation](https://github.com/sinonjs/sinon/tree/master/docs) published
at [the Sinon.JS website](http://sinonjs.org). [Documentation issues](https://github.com/sinonjs/sinon/issues?q=is%3Aopen+is%3Aissue+label%3ADocumentation).
at [the Sinon.JS website](https://sinonjs.org). [Documentation issues](https://github.com/sinonjs/sinon/issues?q=is%3Aopen+is%3Aissue+label%3ADocumentation).
* Help someone understand and use Sinon.JS on [Stack Overflow](https://stackoverflow.com/questions/tagged/sinon)
* Report an issue, please read instructions below
* Help with triaging the [issues](https://github.com/sinonjs/sinon/issues). The clearer they are, the more likely they are to be fixed soon.
Expand Down
8 changes: 4 additions & 4 deletions README.md
@@ -1,6 +1,6 @@
<h1 align=center>
<a href="http://sinonjs.org" title="Sinon.JS">
<img alt="Sinon.JS" src="http://sinonjs.org/assets/images/logo.png">
<a href="https://sinonjs.org" title="Sinon.JS">
<img alt="Sinon.JS" src="https://sinonjs.org/assets/images/logo.png">
</a>
<br>
Sinon.JS
Expand Down Expand Up @@ -32,11 +32,11 @@ via [npm](https://github.com/npm/npm)

$ npm install sinon

or via sinon's browser builds available for download on the [homepage](http://sinonjs.org/releases/). There are also [npm based CDNs](http://sinonjs.org/releases#npm-cdns) one can use.
or via sinon's browser builds available for download on the [homepage](https://sinonjs.org/releases/). There are also [npm based CDNs](https://sinonjs.org/releases#npm-cdns) one can use.

## Usage

See the [sinon project homepage](http://sinonjs.org/) for documentation on usage.
See the [sinon project homepage](https://sinonjs.org/) for documentation on usage.

If you have questions that are not covered by the documentation, you can [check out the `sinon` tag on Stack Overflow](https://stackoverflow.com/questions/tagged/sinon) or drop by <a href="irc://irc.freenode.net:6667/sinon.js">#sinon.js on irc.freenode.net:6667</a>.

Expand Down
2 changes: 1 addition & 1 deletion docs/README.md
Expand Up @@ -4,7 +4,7 @@ published: false

# Docs

This folder structure contains the markdown files that becomes the Sinon.JS documentation site published to GitHub Pages. Eventually this will replace the current site at http://sinonjs.org.
This folder structure contains the markdown files that becomes the Sinon.JS documentation site published to GitHub Pages. Eventually this will replace the current site at https://sinonjs.org.

See [CONTRIBUTING.md](CONTRIBUTING.md) for details on contributing documentation to Sinon.JS.

Expand Down
6 changes: 0 additions & 6 deletions docs/index.md
Expand Up @@ -14,12 +14,6 @@ To install the current release (`{{current_release}}`) of Sinon:
npm install sinon
```

If you (for some reason) really want the old version of Sinon, head over to the [legacy docs](http://legacy.sinonjs.org/) and do:

```shell
npm install sinon@1
```

## Try It Out
The following function takes a function as its argument and returns a new function. You can call the resulting function as many times as you want, but the original function will only be called once:

Expand Down
3 changes: 1 addition & 2 deletions docs/release-source/release.md
Expand Up @@ -42,10 +42,9 @@ Sinon `{{page.release_id}}` is written as [ES5.1][ES5] and requires no transpile

There should not be any issues with using Sinon `{{page.release_id}}` in newer versions of the same runtimes.

If you need to support very old runtimes that have incomplete support for [ES5.1][ES5] you might get away with using loading [`es5-shim`][es5-shim] in your test environment. If that fails, we recommend [getting a legacy releases of Sinon][legacy-site].
If you need to support very old runtimes that have incomplete support for [ES5.1][ES5] you might get away with using loading [`es5-shim`][es5-shim] in your test environment.

{% include docs/contribute.md %}

[ES5]: http://www.ecma-international.org/ecma-262/5.1/
[es5-shim]: https://github.com/es-shims/es5-shim
[legacy-site]: http://legacy.sinonjs.org
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -2,7 +2,7 @@
"name": "sinon",
"description": "JavaScript test spies, stubs and mocks.",
"version": "6.1.4",
"homepage": "http://sinonjs.org/",
"homepage": "https://sinonjs.org/",
"author": "Christian Johansen",
"repository": {
"type": "git",
Expand Down

0 comments on commit f0890a6

Please sign in to comment.