snapshot of https://github.com/ent/ent.git (master, 2026-09-15; blobs > 131072B omitted)
This commit is contained in:
12
doc/website/static/contrib/index.html
Normal file
12
doc/website/static/contrib/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta name="go-import" content="entgo.io/contrib git https://github.com/ent/contrib">
|
||||
<meta name="go-source" content="entgo.io/contrib https://github.com/ent/contrib https://github.com/ent/contrib/tree/master{/dir} https://github.com/ent/contrib/blob/master{/dir}/{file}#L{line}">
|
||||
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/entgo.io/contrib">
|
||||
</head>
|
||||
<body>
|
||||
Nothing to see here; <a href="https://pkg.go.dev/entgo.io/contrib">move along</a>.
|
||||
</body>
|
||||
</html>
|
||||
12
doc/website/static/ent/cmd/ent/index.html
Normal file
12
doc/website/static/ent/cmd/ent/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta name="go-import" content="entgo.io/ent git https://github.com/ent/ent">
|
||||
<meta name="go-source" content="entgo.io/ent https://github.com/ent/ent https://github.com/ent/ent/tree/master{/dir} https://github.com/ent/ent/blob/master{/dir}/{file}#L{line}">
|
||||
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/entgo.io/ent/cmd/ent">
|
||||
</head>
|
||||
<body>
|
||||
Nothing to see here; <a href="https://pkg.go.dev/entgo.io/ent/cmd/ent">move along</a>.
|
||||
</body>
|
||||
</html>
|
||||
12
doc/website/static/ent/cmd/entfix/index.html
Normal file
12
doc/website/static/ent/cmd/entfix/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta name="go-import" content="entgo.io/ent git https://github.com/ent/ent">
|
||||
<meta name="go-source" content="entgo.io/ent https://github.com/ent/ent https://github.com/ent/ent/tree/master{/dir} https://github.com/ent/ent/blob/master{/dir}/{file}#L{line}">
|
||||
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/entgo.io/ent/entfix">
|
||||
</head>
|
||||
<body>
|
||||
Nothing to see here; <a href="https://pkg.go.dev/entgo.io/ent/entfix">move along</a>.
|
||||
</body>
|
||||
</html>
|
||||
12
doc/website/static/ent/entc/gen/index.html
Normal file
12
doc/website/static/ent/entc/gen/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta name="go-import" content="entgo.io/ent git https://github.com/ent/ent">
|
||||
<meta name="go-source" content="entgo.io/ent https://github.com/ent/ent https://github.com/ent/ent/tree/master{/dir} https://github.com/ent/ent/blob/master{/dir}/{file}#L{line}">
|
||||
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/entgo.io/ent/entc/gen">
|
||||
</head>
|
||||
<body>
|
||||
Nothing to see here; <a href="https://pkg.go.dev/entgo.io/ent/entc/gen">move along</a>.
|
||||
</body>
|
||||
</html>
|
||||
12
doc/website/static/ent/entc/index.html
Normal file
12
doc/website/static/ent/entc/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta name="go-import" content="entgo.io/ent git https://github.com/ent/ent">
|
||||
<meta name="go-source" content="entgo.io/ent https://github.com/ent/ent https://github.com/ent/ent/tree/master{/dir} https://github.com/ent/ent/blob/master{/dir}/{file}#L{line}">
|
||||
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/entgo.io/ent/entc">
|
||||
</head>
|
||||
<body>
|
||||
Nothing to see here; <a href="https://pkg.go.dev/entgo.io/ent/entc">move along</a>.
|
||||
</body>
|
||||
</html>
|
||||
12
doc/website/static/ent/index.html
Normal file
12
doc/website/static/ent/index.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
<meta name="go-import" content="entgo.io/ent git https://github.com/ent/ent">
|
||||
<meta name="go-source" content="entgo.io/ent https://github.com/ent/ent https://github.com/ent/ent/tree/master{/dir} https://github.com/ent/ent/blob/master{/dir}/{file}#L{line}">
|
||||
<meta http-equiv="refresh" content="0; url=https://pkg.go.dev/entgo.io/ent">
|
||||
</head>
|
||||
<body>
|
||||
Nothing to see here; <a href="https://pkg.go.dev/entgo.io/ent">move along</a>.
|
||||
</body>
|
||||
</html>
|
||||
BIN
doc/website/static/font/CalibreBold.woff
Normal file
BIN
doc/website/static/font/CalibreBold.woff
Normal file
Binary file not shown.
BIN
doc/website/static/font/CalibreLight.woff
Normal file
BIN
doc/website/static/font/CalibreLight.woff
Normal file
Binary file not shown.
BIN
doc/website/static/font/CalibreLightItalic.woff
Normal file
BIN
doc/website/static/font/CalibreLightItalic.woff
Normal file
Binary file not shown.
BIN
doc/website/static/font/CalibreMedium.woff
Normal file
BIN
doc/website/static/font/CalibreMedium.woff
Normal file
Binary file not shown.
BIN
doc/website/static/font/CalibreMediumItalic.woff
Normal file
BIN
doc/website/static/font/CalibreMediumItalic.woff
Normal file
Binary file not shown.
BIN
doc/website/static/font/CalibreRegular.woff
Normal file
BIN
doc/website/static/font/CalibreRegular.woff
Normal file
Binary file not shown.
BIN
doc/website/static/font/CalibreRegularItalic.woff
Normal file
BIN
doc/website/static/font/CalibreRegularItalic.woff
Normal file
Binary file not shown.
BIN
doc/website/static/font/CalibreSemibold.woff
Normal file
BIN
doc/website/static/font/CalibreSemibold.woff
Normal file
Binary file not shown.
BIN
doc/website/static/font/CalibreThin.woff
Normal file
BIN
doc/website/static/font/CalibreThin.woff
Normal file
Binary file not shown.
BIN
doc/website/static/font/CalibreThinItalic.woff
Normal file
BIN
doc/website/static/font/CalibreThinItalic.woff
Normal file
Binary file not shown.
BIN
doc/website/static/img/favicon.ico
Normal file
BIN
doc/website/static/img/favicon.ico
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 806 B |
BIN
doc/website/static/img/logo.png
Normal file
BIN
doc/website/static/img/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
doc/website/static/img/oss_logo.png
Normal file
BIN
doc/website/static/img/oss_logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.3 KiB |
47
doc/website/static/js/code-block-buttons.js
Normal file
47
doc/website/static/js/code-block-buttons.js
Normal file
@@ -0,0 +1,47 @@
|
||||
// Turn off ESLint for this file because it's sent down to users as-is.
|
||||
/* eslint-disable */
|
||||
window.addEventListener('load', function() {
|
||||
function button(label, ariaLabel, icon, className) {
|
||||
const btn = document.createElement('button');
|
||||
btn.classList.add('btnIcon', className);
|
||||
btn.setAttribute('type', 'button');
|
||||
btn.setAttribute('aria-label', ariaLabel);
|
||||
btn.innerHTML =
|
||||
'<div class="btnIcon__body">' +
|
||||
icon +
|
||||
'<strong class="btnIcon__label">' +
|
||||
label +
|
||||
'</strong>' +
|
||||
'</div>';
|
||||
return btn;
|
||||
}
|
||||
|
||||
function addButtons(codeBlockSelector, btn) {
|
||||
document.querySelectorAll(codeBlockSelector).forEach(function(code) {
|
||||
code.parentNode.appendChild(btn.cloneNode(true));
|
||||
});
|
||||
}
|
||||
|
||||
const copyIcon =
|
||||
'<svg width="12" height="12" viewBox="340 364 14 15" xmlns="http://www.w3.org/2000/svg"><path fill="currentColor" d="M342 375.974h4v.998h-4v-.998zm5-5.987h-5v.998h5v-.998zm2 2.994v-1.995l-3 2.993 3 2.994v-1.996h5v-1.995h-5zm-4.5-.997H342v.998h2.5v-.997zm-2.5 2.993h2.5v-.998H342v.998zm9 .998h1v1.996c-.016.28-.11.514-.297.702-.187.187-.422.28-.703.296h-10c-.547 0-1-.452-1-.998v-10.976c0-.546.453-.998 1-.998h3c0-1.107.89-1.996 2-1.996 1.11 0 2 .89 2 1.996h3c.547 0 1 .452 1 .998v4.99h-1v-2.995h-10v8.98h10v-1.996zm-9-7.983h8c0-.544-.453-.996-1-.996h-1c-.547 0-1-.453-1-.998 0-.546-.453-.998-1-.998-.547 0-1 .452-1 .998 0 .545-.453.998-1 .998h-1c-.547 0-1 .452-1 .997z" fill-rule="evenodd"/></svg>';
|
||||
|
||||
addButtons(
|
||||
'.hljs',
|
||||
button('Copy', 'Copy code to clipboard', copyIcon, 'btnClipboard'),
|
||||
);
|
||||
|
||||
const clipboard = new ClipboardJS('.btnClipboard', {
|
||||
target: function(trigger) {
|
||||
return trigger.parentNode.querySelector('code');
|
||||
},
|
||||
});
|
||||
|
||||
clipboard.on('success', function(event) {
|
||||
event.clearSelection();
|
||||
const textEl = event.trigger.querySelector('.btnIcon__label');
|
||||
textEl.textContent = 'Copied';
|
||||
setTimeout(function() {
|
||||
textEl.textContent = 'Copy';
|
||||
}, 2000);
|
||||
});
|
||||
});
|
||||
17
doc/website/static/js/custom.js
Normal file
17
doc/website/static/js/custom.js
Normal file
@@ -0,0 +1,17 @@
|
||||
|
||||
/**
|
||||
* Copyright 2019-present Facebook Inc. All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the Apache 2.0 license found
|
||||
* in the LICENSE file in the root directory of this source tree.
|
||||
*
|
||||
* @format
|
||||
*/
|
||||
|
||||
/* eslint-disable */
|
||||
window.addEventListener('load', function() {
|
||||
// add an id tag for images based on their alt attribute.
|
||||
document.querySelectorAll('.container img').forEach(function(el) {
|
||||
el.id = el.alt;
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user