Skip to content

Commit 61ed8f2

Browse files
benmccannsimonbrunel
authored andcommitted
Use HTTPS in documentation links where possible (chartjs#5915)
1 parent 6a0a34b commit 61ed8f2

File tree

8 files changed

+19
-19
lines changed

8 files changed

+19
-19
lines changed

docs/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,8 @@ var myChart = new Chart(ctx, {
5858

5959
Before submitting an issue or a pull request to the project, please take a moment to look over the [contributing guidelines](https://github.com/chartjs/Chart.js/blob/master/docs/developers/contributing.md) first.
6060

61-
For support using Chart.js, please post questions with the [`chartjs` tag on Stack Overflow](http://stackoverflow.com/questions/tagged/chartjs).
61+
For support using Chart.js, please post questions with the [`chartjs` tag on Stack Overflow](https://stackoverflow.com/questions/tagged/chartjs).
6262

6363
## License
6464

65-
Chart.js is available under the [MIT license](http://opensource.org/licenses/MIT).
65+
Chart.js is available under the [MIT license](https://opensource.org/licenses/MIT).

docs/axes/cartesian/time.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ The x-axis data points may additionally be specified via the `t` or `x` attribut
1919

2020
### Date Formats
2121

22-
When providing data for the time scale, Chart.js supports all of the formats that Moment.js accepts. See [Moment.js docs](http://momentjs.com/docs/#/parsing/) for details.
22+
When providing data for the time scale, Chart.js supports all of the formats that Moment.js accepts. See [Moment.js docs](https://momentjs.com/docs/#/parsing/) for details.
2323

2424
## Configuration Options
2525

@@ -75,7 +75,7 @@ var chart = new Chart(ctx, {
7575
```
7676

7777
### Display Formats
78-
The following display formats are used to configure how different time units are formed into strings for the axis tick marks. See [moment.js](http://momentjs.com/docs/#/displaying/format/) for the allowable format strings.
78+
The following display formats are used to configure how different time units are formed into strings for the axis tick marks. See [moment.js](https://momentjs.com/docs/#/displaying/format/) for the allowable format strings.
7979

8080
Name | Default | Example
8181
--- | --- | ---

docs/charts/line.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ When charting a lot of data, the chart render time may start to get quite large.
162162

163163
Decimating your data will achieve the best results. When there is a lot of data to display on the graph, it doesn't make sense to show tens of thousands of data points on a graph that is only a few hundred pixels wide.
164164

165-
There are many approaches to data decimation and selection of an algorithm will depend on your data and the results you want to achieve. For instance, [min/max](http://digital.ni.com/public.nsf/allkb/F694FFEEA0ACF282862576020075F784) decimation will preserve peaks in your data but could require up to 4 points for each pixel. This type of decimation would work well for a very noisy signal where you need to see data peaks.
165+
There are many approaches to data decimation and selection of an algorithm will depend on your data and the results you want to achieve. For instance, [min/max](https://digital.ni.com/public.nsf/allkb/F694FFEEA0ACF282862576020075F784) decimation will preserve peaks in your data but could require up to 4 points for each pixel. This type of decimation would work well for a very noisy signal where you need to see data peaks.
166166

167167
## Disable Bezier Curves
168168

docs/configuration/tooltip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ var myPieChart = new Chart(ctx, {
269269
});
270270
```
271271

272-
See [samples](http://www.chartjs.org/samples/) for examples on how to get started with custom tooltips.
272+
See [samples](https://www.chartjs.org/samples/) for examples on how to get started with custom tooltips.
273273

274274
## Tooltip Model
275275
The tooltip model contains parameters that can be used to render the tooltip.

docs/developers/README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ Developer features allow extending and enhancing Chart.js in many different ways
66

77
Latest documentation and samples, including unreleased features, are available at:
88

9-
- http://www.chartjs.org/docs/master/
10-
- http://www.chartjs.org/samples/master/
9+
- https://www.chartjs.org/docs/master/
10+
- https://www.chartjs.org/samples/master/
1111

1212
# Development releases
1313

1414
Latest builds are available for testing at:
1515

16-
- http://www.chartjs.org/dist/master/Chart.min.js
17-
- http://www.chartjs.org/dist/master/Chart.bundle.min.js
16+
- https://www.chartjs.org/dist/master/Chart.min.js
17+
- https://www.chartjs.org/dist/master/Chart.bundle.min.js
1818

1919
> Note: Development builds are currently only available via HTTP, so in order to include them in [JSFiddle](http://jsfiddle.net) or [CodePen](http://codepen.io), you need to access these tools via HTTP as well.
2020
@@ -29,7 +29,7 @@ Chart.js offers support for the following browsers:
2929
* Edge 14+
3030
* Safari 9+
3131

32-
Browser support for the canvas element is available in all modern & major mobile browsers. [CanIUse](http://caniuse.com/#feat=canvas)
32+
Browser support for the canvas element is available in all modern & major mobile browsers. [CanIUse](https://caniuse.com/#feat=canvas)
3333

3434
Thanks to [BrowserStack](https://browserstack.com) for allowing our team to test on thousands of browsers.
3535

@@ -39,7 +39,7 @@ Version 2 has a completely different API than earlier versions.
3939

4040
Most earlier version options have current equivalents or are the same.
4141

42-
Please use the documentation that is available on [chartjs.org](http://www.chartjs.org/docs/) for the current version of Chart.js.
42+
Please use the documentation that is available on [chartjs.org](https://www.chartjs.org/docs/) for the current version of Chart.js.
4343

4444
Please note - documentation for previous versions are available on the GitHub repo.
4545

docs/developers/contributing.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ New contributions to the library are welcome, but we ask that you please follow
1616

1717
# Building and Testing
1818

19-
Chart.js uses <a href="http://gulpjs.com/" target="_blank">gulp</a> to build the library into a single JavaScript file.
19+
Chart.js uses <a href="https://gulpjs.com/" target="_blank">gulp</a> to build the library into a single JavaScript file.
2020

2121
Firstly, we need to ensure development dependencies are installed. With node and npm installed, after cloning the Chart.js repo to a local directory, and navigating to that directory in the command line, we can run the following:
2222

@@ -25,7 +25,7 @@ Firstly, we need to ensure development dependencies are installed. With node and
2525
> npm install -g gulp
2626
```
2727

28-
This will install the local development dependencies for Chart.js, along with a CLI for the JavaScript task runner <a href="http://gulpjs.com/" target="_blank">gulp</a>.
28+
This will install the local development dependencies for Chart.js, along with a CLI for the JavaScript task runner <a href="https://gulpjs.com/" target="_blank">gulp</a>.
2929

3030
The following commands are now available from the repository root:
3131

@@ -45,14 +45,14 @@ More information can be found in [gulpfile.js](https://github.com/chartjs/Chart.
4545

4646
# Bugs and Issues
4747

48-
Please report these on the GitHub page - at <a href="https://github.com/chartjs/Chart.js" target="_blank">github.com/chartjs/Chart.js</a>. Please do not use issues for support requests. For help using Chart.js, please take a look at the [`chartjs`](http://stackoverflow.com/questions/tagged/chartjs) tag on Stack Overflow.
48+
Please report these on the GitHub page - at <a href="https://github.com/chartjs/Chart.js" target="_blank">github.com/chartjs/Chart.js</a>. Please do not use issues for support requests. For help using Chart.js, please take a look at the [`chartjs`](https://stackoverflow.com/questions/tagged/chartjs) tag on Stack Overflow.
4949

5050
Well structured, detailed bug reports are hugely valuable for the project.
5151

5252
Guidelines for reporting bugs:
5353

5454
- Check the issue search to see if it has already been reported
5555
- Isolate the problem to a simple test case
56-
- Please include a demonstration of the bug on a website such as [JS Bin](http://jsbin.com/), [JS Fiddle](http://jsfiddle.net/), or [Codepen](http://codepen.io/pen/). ([Template](http://codepen.io/pen?template=JXVYzq))
56+
- Please include a demonstration of the bug on a website such as [JS Bin](https://jsbin.com/), [JS Fiddle](https://jsfiddle.net/), or [Codepen](https://codepen.io/pen/). ([Template](https://codepen.io/pen?template=JXVYzq))
5757

5858
Please provide any additional details associated with the bug, if it's browser or screen density specific, or only happens with a certain configuration or data.

docs/getting-started/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ https://cdnjs.com/libraries/Chart.js
2727
### jsDelivr
2828
[![jsdelivr](https://img.shields.io/npm/v/chart.js.svg?label=jsdelivr&style=flat-square&maxAge=600)](https://cdn.jsdelivr.net/npm/chart.js@latest/dist/) [![jsdelivr hits](https://data.jsdelivr.com/v1/package/npm/chart.js/badge)](https://www.jsdelivr.com/package/npm/chart.js)
2929

30-
Chart.js built files are also available through [jsDelivr](http://www.jsdelivr.com/):
30+
Chart.js built files are also available through [jsDelivr](https://www.jsdelivr.com/):
3131

3232
https://www.jsdelivr.com/package/npm/chart.js?path=dist
3333

@@ -47,7 +47,7 @@ Files:
4747
* `dist/Chart.js`
4848
* `dist/Chart.min.js`
4949

50-
The stand-alone build includes Chart.js as well as the color parsing library. If this version is used, you are required to include [Moment.js](http://momentjs.com/) before Chart.js for the functionality of the time axis.
50+
The stand-alone build includes Chart.js as well as the color parsing library. If this version is used, you are required to include [Moment.js](https://momentjs.com/) before Chart.js for the functionality of the time axis.
5151

5252
## Bundled Build
5353
Files:

docs/notes/license.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# License
22

3-
Chart.js is <a href="https://github.com/chartjs/Chart.js" target="_blank">open source</a> and available under the <a href="http://opensource.org/licenses/MIT" target="_blank">MIT license</a>.
3+
Chart.js is <a href="https://github.com/chartjs/Chart.js" target="_blank">open source</a> and available under the <a href="https://opensource.org/licenses/MIT" target="_blank">MIT license</a>.

0 commit comments

Comments
 (0)