Skip to content

Commit

Permalink
Site rebuild
Browse files Browse the repository at this point in the history
  • Loading branch information
rsimon committed Oct 25, 2023
1 parent 7f2bcea commit 6f1396d
Show file tree
Hide file tree
Showing 16 changed files with 29 additions and 29 deletions.
4 changes: 2 additions & 2 deletions api-docs/annotorious/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ <h2 id="initialization">Initialization</h2>
<td><code>messages</code></td>
<td>Object</td>
<td>-</td>
<td>Custom UI labels. Requires a <a href="https://recogito.github.io/guides/contributing-ui-translations/">message dictionary</a> object.</td>
<td>Custom UI labels. Requires a <a href="https://annotorious.github.io/guides/contributing-ui-translations/">message dictionary</a> object.</td>
</tr>
<tr>
<td><code>readOnly</code></td>
Expand All @@ -180,7 +180,7 @@ <h2 id="initialization">Initialization</h2>
<td><code>widgets</code></td>
<td>Array</td>
<td>-</td>
<td>A list of editor widget definitions (see <a href="/guides/customizing-the-editor/">this guide</a> for details).</td>
<td>A list of editor widget definitions (see <a href="/guides/configuring-the-editor/">this guide</a> for details).</td>
</tr>
</tbody>
</table>
Expand Down
8 changes: 4 additions & 4 deletions getting-started/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ <h1 id="getting-started-with-annotorious">Getting Started with Annotorious</h1>
Austria</a>, by Nick Csakany/Wikimedia Commons. Public Domain.
</p>
</div>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css">
<script src="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css">
<script src="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@recogito/[email protected]/dist/annotorious-toolbar.min.js"></script>
<style>
#toolbar {
Expand Down Expand Up @@ -169,10 +169,10 @@ <h2 id="include-via-script-tag">Include via Script Tag</h2>
</span></span></code></pre></div><h2 id="from-cdn">From CDN</h2>
<p>Alternatively, you can grab script and stylesheet directly from the <a href="https://www.jsdelivr.com/package/npm/@recogito/annotorious">jsDelivr CDN</a>.</p>
<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span><span style="color:#586e75">&lt;!-- CSS stylesheet --&gt;</span>
</span></span><span style="display:flex;"><span>&lt;<span style="color:#268bd2">link</span> rel<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;stylesheet&#34;</span> href<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css&#34;</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#268bd2">link</span> rel<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;stylesheet&#34;</span> href<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css&#34;</span>&gt;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#586e75">&lt;!-- JS --&gt;</span>
</span></span><span style="display:flex;"><span>&lt;<span style="color:#268bd2">script</span> src<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.js&#34;</span>&gt;&lt;/<span style="color:#268bd2">script</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#268bd2">script</span> src<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.js&#34;</span>&gt;&lt;/<span style="color:#268bd2">script</span>&gt;
</span></span></code></pre></div><h2 id="using-npm">Using NPM</h2>
<p>If you use npm, <code>npm install @recogito/annotorious</code> and then</p>
<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-javascript" data-lang="javascript"><span style="display:flex;"><span><span style="color:#268bd2">import</span> { Annotorious } from <span style="color:#2aa198">&#39;@recogito/annotorious&#39;</span>;
Expand Down
10 changes: 5 additions & 5 deletions getting-started/osd-plugin/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down Expand Up @@ -105,8 +105,8 @@ <h1 id="getting-started-with-the-openseadragon-plugin">Getting Started with the
<div id="openseadragon"></div>
</div>
<script type="text/javascript" src="/js/openseadragon/openseadragon.4.0.0.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css">
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/openseadragon-annotorious.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].14/dist/annotorious.min.css">
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/@recogito/[email protected].14/dist/openseadragon-annotorious.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@recogito/[email protected]/dist/annotorious-toolbar.min.js"></script>
<script>
var sampleAnnotation = {
Expand Down Expand Up @@ -164,10 +164,10 @@ <h1 id="getting-started-with-the-openseadragon-plugin">Getting Started with the
</span></span><span style="display:flex;"><span>&lt;<span style="color:#268bd2">script</span> src<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;openseadragon-annotorious.min.js&#34;</span>&gt;&lt;/<span style="color:#268bd2">script</span>&gt;
</span></span></code></pre></div><p>Alternatively, grab the files from CDN.</p>
<div class="highlight"><pre tabindex="0" style="color:#93a1a1;background-color:#002b36;-moz-tab-size:4;-o-tab-size:4;tab-size:4;"><code class="language-html" data-lang="html"><span style="display:flex;"><span><span style="color:#586e75">&lt;!-- CSS stylesheet --&gt;</span>
</span></span><span style="display:flex;"><span>&lt;<span style="color:#268bd2">link</span> rel<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;stylesheet&#34;</span> href<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css&#34;</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#268bd2">link</span> rel<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;stylesheet&#34;</span> href<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;https://cdn.jsdelivr.net/npm/@recogito/[email protected].14/dist/annotorious.min.css&#34;</span>&gt;
</span></span><span style="display:flex;"><span>
</span></span><span style="display:flex;"><span><span style="color:#586e75">&lt;!-- JS --&gt;</span>
</span></span><span style="display:flex;"><span>&lt;<span style="color:#268bd2">script</span> src<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/openseadragon-annotorious.min.js&#34;</span>&gt;&lt;/<span style="color:#268bd2">script</span>&gt;
</span></span><span style="display:flex;"><span>&lt;<span style="color:#268bd2">script</span> src<span style="color:#719e07">=</span><span style="color:#2aa198">&#34;https://cdn.jsdelivr.net/npm/@recogito/[email protected].14/dist/openseadragon-annotorious.min.js&#34;</span>&gt;&lt;/<span style="color:#268bd2">script</span>&gt;
</span></span></code></pre></div><blockquote>
<p>Important! You <strong>must</strong> include the stylesheet in the &lt;head&gt; of your page. If you include it
anywhere in your &lt;body&gt;, Annotorious will not work when switching OpenSeadragon to fullscreen mode.</p>
Expand Down
2 changes: 1 addition & 1 deletion getting-started/storing-annotations/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion getting-started/web-annotation/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion guides/annotorious-in-react/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion guides/annotorious-in-vue/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion guides/configuring-the-editor/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion guides/contributing-ui-translations/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion guides/customizing-styles/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion guides/editor-widgets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion guides/example-react-widget/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
2 changes: 1 addition & 1 deletion guides/hackers-guide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
6 changes: 3 additions & 3 deletions guides/headless-mode/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down Expand Up @@ -172,8 +172,8 @@ <h1 id="headless-mode-using-annotorious-without-the-editor-popup">Headless Mode:
Austria</a>, by Nick Csakany/Wikimedia Commons. Public Domain.
</p>
</div>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css">
<script src="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.js"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css">
<script src="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@recogito/[email protected]/dist/annotorious-toolbar.min.js"></script>
<script>
window.onload = function() {
Expand Down
2 changes: 1 addition & 1 deletion guides/using-firebase-for-storage/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<meta property="og:image" content="https://annotorious.github.io/images/annotorious-social-large.png" />
<meta property="og:type" content="object" />

<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].10/dist/annotorious.min.css" />
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@recogito/[email protected].12/dist/annotorious.min.css" />
<script>if(!sessionStorage.getItem("_swa")&&document.referrer.indexOf(location.protocol+"//"+location.host)!== 0){fetch("https://counter.dev/track?"+new URLSearchParams({referrer:document.referrer,screen:screen.width+"x"+screen.height,user:"[email protected]",utcoffset:"1"}))};sessionStorage.setItem("_swa","1");</script>
</head>

Expand Down
Loading

0 comments on commit 6f1396d

Please sign in to comment.