mirror of https://github.com/kdl-org/kdl.git
Script updating gh-pages from 421e947. [ci skip]
This commit is contained in:
parent
cb1a22ea8c
commit
a2b384ee18
|
|
@ -33,6 +33,14 @@
|
||||||
<td><a href="https://author-tools.ietf.org/api/iddiff?url_1=https://kdl-org.github.io/kdl/draft-marchan-kdl2.txt&url_2=https://kdl-org.github.io/kdl/zkat/suffixes/draft-marchan-kdl2.txt" class="diff draft-marchan-kdl2">diff with main</a></td>
|
<td><a href="https://author-tools.ietf.org/api/iddiff?url_1=https://kdl-org.github.io/kdl/draft-marchan-kdl2.txt&url_2=https://kdl-org.github.io/kdl/zkat/suffixes/draft-marchan-kdl2.txt" class="diff draft-marchan-kdl2">diff with main</a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
<h2>Preview for branch <a href="underscore-clarity">underscore-clarity</a></h2>
|
||||||
|
<table id="branch-underscore-clarity">
|
||||||
|
<tr>
|
||||||
|
<td><a href="underscore-clarity/draft-marchan-kdl2.html" class="html draft-marchan-kdl2" title="The KDL Document Language (HTML)">KDL</a></td>
|
||||||
|
<td><a href="underscore-clarity/draft-marchan-kdl2.txt" class="txt draft-marchan-kdl2" title="The KDL Document Language (Text)">plain text</a></td>
|
||||||
|
<td><a href="https://author-tools.ietf.org/api/iddiff?url_1=https://kdl-org.github.io/kdl/draft-marchan-kdl2.txt&url_2=https://kdl-org.github.io/kdl/underscore-clarity/draft-marchan-kdl2.txt" class="diff draft-marchan-kdl2">diff with main</a></td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
<h2>Preview for branch <a href="whitespace-only">whitespace-only</a></h2>
|
<h2>Preview for branch <a href="whitespace-only">whitespace-only</a></h2>
|
||||||
<table id="branch-whitespace-only">
|
<table id="branch-whitespace-only">
|
||||||
<tr>
|
<tr>
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -0,0 +1,45 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<title>kdl-org/kdl underscore-clarity preview</title>
|
||||||
|
<meta name="viewport" content="initial-scale=1.0">
|
||||||
|
<style type="text/css">/*<![CDATA[*/
|
||||||
|
body { font-family: "Helvetica Neue","Open Sans", Helvetica, Calibri,sans-serif; }
|
||||||
|
h1, h2, td { font-family: "Helvetica Neue", "Roboto Condensed", "Open Sans", Helvetica, Calibri, sans-serif; }
|
||||||
|
h1 { font-size: 20px; } h2 { font-size: 16px; }
|
||||||
|
table { margin: 5px 10px; border-collapse: collapse; }
|
||||||
|
th, td { font-weight: normal; text-align: left; padding: 2px 5px; }
|
||||||
|
a:link { color: #000; } a:visited { color: #00a; }
|
||||||
|
/*]]>*/</style>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Editor's drafts for underscore-clarity branch of <a href="https://github.com/kdl-org/kdl/tree/underscore-clarity">kdl-org/kdl</a></h1>
|
||||||
|
<table id="branch-underscore-clarity">
|
||||||
|
<tr>
|
||||||
|
<td><a href="./draft-marchan-kdl2.html" class="html draft-marchan-kdl2" title="The KDL Document Language (HTML)">KDL</a></td>
|
||||||
|
<td><a href="./draft-marchan-kdl2.txt" class="txt draft-marchan-kdl2" title="The KDL Document Language (Text)">plain text</a></td>
|
||||||
|
<td>same as main</td>
|
||||||
|
</tr>
|
||||||
|
</table>
|
||||||
|
<script>
|
||||||
|
window.onload = function() {
|
||||||
|
var referrer_branch = 'main';
|
||||||
|
// e.g., "https://github.com/user/repo/tree/main"
|
||||||
|
var chunks = document.referrer.split("/");
|
||||||
|
if (chunks[2] === 'github.com' && chunks[5] === 'tree') {
|
||||||
|
referrer_branch = chunks[6];
|
||||||
|
}
|
||||||
|
let branch = document.querySelector('#branch-' + referrer_branch);
|
||||||
|
let h = document.location.hash.substring(1);
|
||||||
|
if (h === 'show') {
|
||||||
|
document.location.hash = '#' + branch.id;
|
||||||
|
} else if (branch && h.startsWith('go')) {
|
||||||
|
let e = branch.querySelector(h.substring(2));
|
||||||
|
if (e && e.href) {
|
||||||
|
document.location = e.href;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
};
|
||||||
|
</script>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Reference in New Issue