Automatic deploy to GitHub Pages: 2e5b6801ff

This commit is contained in:
GHA CI 2024-09-19 19:58:35 +00:00
parent d517207f5f
commit 9435112234

View file

@ -1,4 +1,5 @@
<!DOCTYPE html>
<!-- Expanded by util/versions.py into the HTML file seen at https://rust-lang.github.io/rust-clippy/ -->
<html lang="en">
<head>
<meta charset="UTF-8"/>
@ -7,26 +8,15 @@
<title>Clippy lints documentation</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.6/css/bootstrap.min.css"/>
<style>
[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak { display: none !important; }
</style>
</head>
<body>
<div class="container" ng-app="clippy" ng-controller="docVersions">
<div class="container">
<div class="page-header">
<h1>Clippy lints documentation</h1>
</div>
<div ng-cloak>
<div class="alert alert-info" role="alert" ng-if="loading">
Loading&#x2026;
</div>
<div class="alert alert-danger" role="alert" ng-if="error">
Error loading versions!<br/>
You can always try to get <a href="master/index.html">the master branch docs</a>.
</div>
<article class="panel panel-default" ng-show="data">
<div>
<article class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
Available versions
@ -34,55 +24,140 @@
</div>
<ul class="list-group">
<a class="list-group-item" ng-repeat="version in data | orderBy:versionOrder:true"
href="./{{version}}/index.html">
{{version}}
</a>
<a class="list-group-item" href="./master/index.html">master</a>
<a class="list-group-item" href="./stable/index.html">stable</a>
<a class="list-group-item" href="./beta/index.html">beta</a>
<a class="list-group-item" href="./rust-1.81.0/index.html">rust-1.81.0</a>
<a class="list-group-item" href="./rust-1.80.0/index.html">rust-1.80.0</a>
<a class="list-group-item" href="./rust-1.79.0/index.html">rust-1.79.0</a>
<a class="list-group-item" href="./rust-1.78.0/index.html">rust-1.78.0</a>
<a class="list-group-item" href="./rust-1.77.0/index.html">rust-1.77.0</a>
<a class="list-group-item" href="./rust-1.76.0/index.html">rust-1.76.0</a>
<a class="list-group-item" href="./rust-1.75.0/index.html">rust-1.75.0</a>
<a class="list-group-item" href="./rust-1.74.0/index.html">rust-1.74.0</a>
<a class="list-group-item" href="./rust-1.73.0/index.html">rust-1.73.0</a>
<a class="list-group-item" href="./rust-1.72.0/index.html">rust-1.72.0</a>
<a class="list-group-item" href="./rust-1.71.0/index.html">rust-1.71.0</a>
<a class="list-group-item" href="./rust-1.70.0/index.html">rust-1.70.0</a>
<a class="list-group-item" href="./rust-1.69.0/index.html">rust-1.69.0</a>
<a class="list-group-item" href="./rust-1.68.0/index.html">rust-1.68.0</a>
<a class="list-group-item" href="./rust-1.67.0/index.html">rust-1.67.0</a>
<a class="list-group-item" href="./rust-1.66.0/index.html">rust-1.66.0</a>
<a class="list-group-item" href="./rust-1.65.0/index.html">rust-1.65.0</a>
<a class="list-group-item" href="./rust-1.64.0/index.html">rust-1.64.0</a>
<a class="list-group-item" href="./rust-1.63.0/index.html">rust-1.63.0</a>
<a class="list-group-item" href="./rust-1.62.0/index.html">rust-1.62.0</a>
<a class="list-group-item" href="./rust-1.61.0/index.html">rust-1.61.0</a>
<a class="list-group-item" href="./rust-1.60.0/index.html">rust-1.60.0</a>
<a class="list-group-item" href="./rust-1.59.0/index.html">rust-1.59.0</a>
<a class="list-group-item" href="./rust-1.58.1/index.html">rust-1.58.1</a>
<a class="list-group-item" href="./rust-1.58.0/index.html">rust-1.58.0</a>
<a class="list-group-item" href="./rust-1.57.0/index.html">rust-1.57.0</a>
<a class="list-group-item" href="./rust-1.56.1/index.html">rust-1.56.1</a>
<a class="list-group-item" href="./rust-1.56.0/index.html">rust-1.56.0</a>
<a class="list-group-item" href="./rust-1.55.0/index.html">rust-1.55.0</a>
<a class="list-group-item" href="./rust-1.54.0/index.html">rust-1.54.0</a>
<a class="list-group-item" href="./rust-1.53.0/index.html">rust-1.53.0</a>
<a class="list-group-item" href="./rust-1.52.1/index.html">rust-1.52.1</a>
<a class="list-group-item" href="./rust-1.52.0/index.html">rust-1.52.0</a>
<a class="list-group-item" href="./rust-1.51.0/index.html">rust-1.51.0</a>
<a class="list-group-item" href="./rust-1.50.0/index.html">rust-1.50.0</a>
<a class="list-group-item" href="./rust-1.49.0/index.html">rust-1.49.0</a>
<a class="list-group-item" href="./rust-1.48.0/index.html">rust-1.48.0</a>
<a class="list-group-item" href="./rust-1.47.0/index.html">rust-1.47.0</a>
<a class="list-group-item" href="./rust-1.46.0/index.html">rust-1.46.0</a>
<a class="list-group-item" href="./rust-1.45.2/index.html">rust-1.45.2</a>
<a class="list-group-item" href="./rust-1.45.1/index.html">rust-1.45.1</a>
<a class="list-group-item" href="./rust-1.45.0/index.html">rust-1.45.0</a>
<a class="list-group-item" href="./rust-1.44.1/index.html">rust-1.44.1</a>
<a class="list-group-item" href="./rust-1.44.0/index.html">rust-1.44.0</a>
<a class="list-group-item" href="./rust-1.43.1/index.html">rust-1.43.1</a>
<a class="list-group-item" href="./rust-1.43.0/index.html">rust-1.43.0</a>
<a class="list-group-item" href="./rust-1.42.0/index.html">rust-1.42.0</a>
<a class="list-group-item" href="./rust-1.41.1/index.html">rust-1.41.1</a>
<a class="list-group-item" href="./rust-1.41.0/index.html">rust-1.41.0</a>
<a class="list-group-item" href="./rust-1.40.0/index.html">rust-1.40.0</a>
<a class="list-group-item" href="./rust-1.39.0/index.html">rust-1.39.0</a>
<a class="list-group-item" href="./rust-1.38.0/index.html">rust-1.38.0</a>
<a class="list-group-item" href="./rust-1.37.0/index.html">rust-1.37.0</a>
<a class="list-group-item" href="./rust-1.36.0/index.html">rust-1.36.0</a>
<a class="list-group-item" href="./rust-1.35.0/index.html">rust-1.35.0</a>
<a class="list-group-item" href="./rust-1.34.2/index.html">rust-1.34.2</a>
<a class="list-group-item" href="./rust-1.34.1/index.html">rust-1.34.1</a>
<a class="list-group-item" href="./rust-1.34.0/index.html">rust-1.34.0</a>
<a class="list-group-item" href="./rust-1.33.0/index.html">rust-1.33.0</a>
<a class="list-group-item" href="./rust-1.32.0/index.html">rust-1.32.0</a>
<a class="list-group-item" href="./rust-1.31.1/index.html">rust-1.31.1</a>
<a class="list-group-item" href="./rust-1.31.0/index.html">rust-1.31.0</a>
<a class="list-group-item" href="./rust-1.30.1/index.html">rust-1.30.1</a>
<a class="list-group-item" href="./rust-1.30.0/index.html">rust-1.30.0</a>
<a class="list-group-item" href="./rust-1.29.2/index.html">rust-1.29.2</a>
<a class="list-group-item" href="./rust-1.29.1/index.html">rust-1.29.1</a>
<a class="list-group-item" href="./rust-1.29.0/index.html">rust-1.29.0</a>
<a class="list-group-item" href="./pre-1.29.0/index.html">pre-1.29.0</a>
</ul>
</article>
</div>
</div>
<a href="https://github.com/rust-lang/rust-clippy">
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png"/>
</a>
<script src="https://cdnjs.cloudflare.com/ajax/libs/angular.js/1.4.12/angular.min.js"></script>
<script>
angular.module('clippy', [])
.controller('docVersions', function ($scope, $http) {
$scope.loading = true;
$scope.normalizeVersion = function(v) {
return v.replace(/^rust-/, '');
};
$scope.versionOrder = function(v) {
if (v === 'master') { return Infinity; }
if (v === 'stable') { return Number.MAX_VALUE; }
if (v === 'beta') { return Number.MAX_VALUE - 1; }
if (v === 'pre-1.29.0') { return Number.MIN_VALUE; }
return $scope.normalizeVersion(v)
.split('.')
.reverse()
.reduce(function(acc, val, index) {
return acc + (val * Math.pow(100, index));
}, 0);
<a
aria-label="View source on GitHub"
class="github-corner"
href="https://github.com/rust-lang/rust-clippy"
rel="noopener noreferrer"
target="_blank"
>
<svg
width="80"
height="80"
viewBox="0 0 250 250"
style="position: absolute; top: 0; border: 0; right: 0"
aria-hidden="true"
>
<path d="M0,0 L115,115 L130,115 L142,142 L250,250 L250,0 Z" fill="var(--theme-color)"></path>
<path
d="M128.3,109.0 C113.8,99.7 119.0,89.6 119.0,89.6 C122.0,82.7 120.5,78.6 120.5,78.6 C119.2,72.0 123.4,76.3 123.4,76.3 C127.3,80.9 125.5,87.3 125.5,87.3 C122.9,97.6 130.6,101.9 134.4,103.2"
fill="currentColor"
style="transform-origin: 130px 106px"
class="octo-arm"
></path>
<path
d="M115.0,115.0 C114.9,115.1 118.7,116.5 119.8,115.4 L133.7,101.6 C136.9,99.2 139.9,98.4 142.2,98.6 C133.8,88.0 127.5,74.4 143.8,58.0 C148.5,53.4 154.0,51.2 159.7,51.0 C160.3,49.4 163.2,43.6 171.4,40.1 C171.4,40.1 176.1,42.5 178.8,56.2 C183.1,58.6 187.2,61.8 190.9,65.4 C194.5,69.0 197.7,73.2 200.1,77.6 C213.8,80.2 216.3,84.9 216.3,84.9 C212.7,93.1 206.9,96.0 205.4,96.6 C205.1,102.4 203.0,107.8 198.3,112.5 C181.9,128.9 168.3,122.5 157.7,114.1 C157.9,116.9 156.7,120.9 152.7,124.9 L141.0,136.5 C139.8,137.7 141.6,141.9 141.8,141.8 Z"
fill="currentColor"
class="octo-body"
></path>
</svg>
<style>
.github-corner svg {
fill: black;
color: white;
}
$http.get('./versions.json')
.success(function (data) {
$scope.data = data;
$scope.loading = false;
})
.error(function (data) {
$scope.error = data;
$scope.loading = false;
});
})
;
</script>
.github-corner:hover .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
@keyframes octocat-wave {
0%,
100% {
transform: rotate(0);
}
20%,
60% {
transform: rotate(-25deg);
}
40%,
80% {
transform: rotate(10deg);
}
}
@media (max-width: 500px) {
.github-corner:hover .octo-arm {
animation: none;
}
.github-corner .octo-arm {
animation: octocat-wave 560ms ease-in-out;
}
}
</style>
</a>
</body>
</html>