You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@annotator.apache.org by ge...@apache.org on 2021/05/09 11:46:34 UTC

[incubator-annotator] branch master updated (32fea01 -> 846870a)

This is an automated email from the ASF dual-hosted git repository.

gerben pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git.


    from 32fea01  Clean up remnants of in-browser tests
     new aee8d73  Fix link to demo source code
     new 846870a  Tweak typedoc config

The 2 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 typedoc.json   | 4 +++-
 web/index.html | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

[incubator-annotator] 02/02: Tweak typedoc config

Posted by ge...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gerben pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit 846870adf4c1b344b4da66548b57ee57f5d3b51a
Author: Gerben <ge...@treora.com>
AuthorDate: Sat May 8 22:41:01 2021 +0200

    Tweak typedoc config
    
    Setting "disableSources" because the generated links incorrectly point
    to generated files (lib/….d.ts) rather than their source files.
    (why does it not use the declaration map to find the correct file&line?)
    
    If we do get it to work, we could use typedoc-plugin-sourcefile-url to
    point to the apache repo by adding:
      "sourcefile-url-prefix": "https://gitbox.apache.org/repos/asf?p=incubator-annotator.git;a=blob;hb=refs/heads/master;f=packages/"
---
 typedoc.json | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/typedoc.json b/typedoc.json
index bd8a5e1..76bc567 100644
--- a/typedoc.json
+++ b/typedoc.json
@@ -1,3 +1,5 @@
 {
-  "entryPoints": ["packages/apache-annotator/src/"]
+  "disableSources": true,
+  "entryPoints": ["packages/apache-annotator/src/"],
+  "readme": "none"
 }

[incubator-annotator] 01/02: Fix link to demo source code

Posted by ge...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

gerben pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-annotator.git

commit aee8d7376df85f867dfc9be186e40abe310a3800
Author: Gerben <ge...@treora.com>
AuthorDate: Sat May 8 23:03:14 2021 +0200

    Fix link to demo source code
---
 web/index.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/index.html b/web/index.html
index 0dd86da..8108f5b 100644
--- a/web/index.html
+++ b/web/index.html
@@ -59,7 +59,7 @@ under the License.
     <p>This page demonstrates Web Annotation
       <a href="https://www.w3.org/TR/2017/REC-annotation-model-20170223/#selectors" target="_blank">Selectors</a>,
       standardised JSON objects that describe a selection inside a document with sufficient information to find it back.</p>
-      <p>This demo’s source code can be found <a href="https://gitbox.apache.org/repos/asf?p=incubator-annotator.git;a=tree;hb=HEAD;f=web/demo">in the project repo</a> (also mirrored <a href="https://github.com/apache/incubator-annotator/tree/master/web">on GitHub</a>)</p>
+      <p>This demo’s source code can be found <a href="https://gitbox.apache.org/repos/asf?p=incubator-annotator.git;a=tree;hb=HEAD;f=web">in the project repo</a> (also mirrored <a href="https://github.com/apache/incubator-annotator/tree/master/web">on GitHub</a>)</p>
 
     <div class="columns full-width">
       <div class="column">