{ "cells": [ { "cell_type": "markdown", "id": "727ee789-2d7e-42ef-8b7d-c14f2d278421", "metadata": {}, "source": [ "# Publish a new release" ] }, { "cell_type": "code", "execution_count": 7, "id": "d034188d-4ab6-4b1d-8d34-8eaf2f710d51", "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "The autoreload extension is already loaded. To reload it, use:\n", " %reload_ext autoreload\n" ] } ], "source": [ "%load_ext autoreload\n", "%autoreload 2" ] }, { "cell_type": "code", "execution_count": 2, "id": "dab3b132-433c-44ac-9c04-d404c7c2667d", "metadata": { "tags": [] }, "outputs": [], "source": [ "from tf.app import use" ] }, { "cell_type": "code", "execution_count": 3, "id": "5695a9b5-97d6-4a73-ad22-212e5661d44f", "metadata": {}, "outputs": [], "source": [ "ORG = \"annotation\"\n", "REPO = \"mondriaan\"" ] }, { "cell_type": "code", "execution_count": 4, "id": "5201533a-9f1c-4500-8d5a-b8fd9a4ef83b", "metadata": { "scrolled": true, "tags": [] }, "outputs": [ { "data": { "text/markdown": [ "**Locating corpus resources ...**" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "app: ~/github/annotation/mondriaan/app" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "data: ~/github/annotation/mondriaan/tf/0.8.14" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "\n", " TF: TF API 12.3.2, annotation/mondriaan/app v3, Search Reference
\n", " Data: annotation - mondriaan 0.8.14, Character table, Feature docs
\n", "
Node types\n", "\n", " \n", " \n", " \n", " \n", " \n", " \n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "\n", "\n", " \n", " \n", " \n", " \n", "\n", "
Name# of nodes# slots / node% coverage
folder28853.50100
bibliolist13112.0018
listBibl21531.0017
file161106.69100
letter141003.6479
body16664.3860
text16664.3860
artworklist1544.003
listObject1499.003
standOff14358.7928
div31326.8157
page51126.4536
listAnnotation5296.6028
revisionDesc1469.005
postscript662.832
chunk33552.75100
p9667.3537
teiHeader16119.1211
artwork1047.503
note11644.2829
fileDesc1642.064
bibl10928.4017
titleStmt1622.442
msDesc1420.002
sourceDesc1618.502
msIdentifier1415.861
correspDesc1415.501
profileDesc1415.501
closer3012.832
address412.500
desc1011.101
title15910.309
sentence18509.0194
facsimile148.431
classDecl18.000
encodingDesc18.000
correspAction287.751
change1685.755
opener284.931
salute565.122
addrLine64.830
date264.581
head144.140
physDesc144.140
author14.000
institution143.790
dateline63.670
name283.391
catRef433.161
ref753.121
decoDesc143.000
editor283.000
sponsor143.000
ent21932.7434
signed302.600
choice152.470
placeName142.430
surface492.411
hi662.391
idno422.331
rs2052.273
zone142.210
decoNote142.070
settlement142.070
abbr22.000
accMat12.000
altIdentifier282.000
country142.000
taxonomy42.000
del91.670
reg111.270
orig111.180
add81.120
publicationStmt161.120
token174751.0099
expan21.000
graphic731.000
lb61.000
measure201.000
objectDesc141.000
pb511.000
postmark21.000
ptr821.000
relation101.000
space91.000
unclear41.000
t177071.00100
\n", " Sets: no custom sets
\n", " Features:
\n", "
annotation - mondriaan/tf\n", "
\n", "\n", "
\n", "
\n", "after\n", "
\n", "
str
\n", "\n", " the whitespace after the token\n", "\n", "
\n", "\n", "
\n", "
\n", "artmondriaanref\n", "
\n", "
str
\n", "\n", " Reference key to the details of an artwork by Mondriaan; the content is taken from rs@key[type=artwork-m]\n", "\n", "
\n", "\n", "
\n", "
\n", "chunk\n", "
\n", "
int
\n", "\n", " number of a chunk within a document\n", "\n", "
\n", "\n", "
\n", "
\n", "commodity\n", "
\n", "
str
\n", "\n", " this is TEI attribute commodity\n", "\n", "
\n", "\n", "
\n", "
\n", "corresp\n", "
\n", "
str
\n", "\n", " this is TEI attribute corresp\n", "\n", "
\n", "\n", "
\n", "
\n", "correspondent\n", "
\n", "
str
\n", "\n", " The person that Mondriaan corresponded with; the content is taken from profileDesc/correspDesc/correspAction[type=received]/name\n", "\n", "
\n", "\n", "
\n", "
\n", "country\n", "
\n", "
str
\n", "\n", " The country of preservation of a letter; the content is taken from sourceDesc/msDesc/msIdentifier/country\n", "\n", "
\n", "\n", "
\n", "
\n", "dim\n", "
\n", "
str
\n", "\n", " this is TEI attribute dim\n", "\n", "
\n", "\n", "
\n", "
\n", "empty\n", "
\n", "
int
\n", "\n", " whether a slot has been inserted in an empty element\n", "\n", "
\n", "\n", "
\n", "
\n", "estr\n", "
\n", "
str
\n", "\n", " the string value of the entity\n", "\n", "
\n", "\n", "
\n", "
\n", "exhibitionref\n", "
\n", "
str
\n", "\n", " Reference key to the details of an exhibition; the content is taken from rs@key[type=exhibition]\n", "\n", "
\n", "\n", "
\n", "
\n", "extraspace\n", "
\n", "
str
\n", "\n", " whether a space has been added after a character, when it is in the direct child of a pure XML element\n", "\n", "
\n", "\n", "
\n", "
\n", "f\n", "
\n", "
str
\n", "\n", " this is TEI attribute f\n", "\n", "
\n", "\n", "
\n", "
\n", "facs\n", "
\n", "
str
\n", "\n", " this is TEI attribute facs\n", "\n", "
\n", "\n", "
\n", "
\n", "file\n", "
\n", "
str
\n", "\n", " name of source file\n", "\n", "
\n", "\n", "
\n", "
\n", "folder\n", "
\n", "
str
\n", "\n", " name of source folder\n", "\n", "
\n", "\n", "
\n", "
\n", "form\n", "
\n", "
str
\n", "\n", " this is TEI attribute form\n", "\n", "
\n", "\n", "
\n", "
\n", "id\n", "
\n", "
str
\n", "\n", " this is TEI attribute id\n", "\n", "
\n", "\n", "
\n", "
\n", "institution\n", "
\n", "
str
\n", "\n", " The place where a letter is preserved; the content is taken from sourceDesc/msDesc/msIdentifier/institution\n", "\n", "
\n", "\n", "
\n", "
\n", "is_meta\n", "
\n", "
str
\n", "\n", " whether a slot or word is in the teiHeader element\n", "\n", "
\n", "\n", "
\n", "
\n", "is_note\n", "
\n", "
str
\n", "\n", " whether a slot or word is in the note element\n", "\n", "
\n", "\n", "
\n", "
\n", "key\n", "
\n", "
str
\n", "\n", " this is TEI attribute key\n", "\n", "
\n", "\n", "
\n", "
\n", "kind\n", "
\n", "
str
\n", "\n", " the kind of the entity\n", "\n", "
\n", "\n", "
\n", "
\n", "lang\n", "
\n", "
str
\n", "\n", " this is TEI attribute lang\n", "\n", "
\n", "\n", "
\n", "
\n", "lemma\n", "
\n", "
str
\n", "\n", " the lemma of the token\n", "\n", "
\n", "\n", "
\n", "
\n", "letterid\n", "
\n", "
str
\n", "\n", " The identifier of a letter; the content is taken from sourceDesc/msDesc/msIdentifier/altIdentifier/idno[type=letterId]\n", "\n", "
\n", "\n", "
\n", "
\n", "level\n", "
\n", "
str
\n", "\n", " this is TEI attribute level\n", "\n", "
\n", "\n", "
\n", "
\n", "location\n", "
\n", "
str
\n", "\n", " The place from where the letter is sent; the content is taken from profileDesc/correspDesc/correspAction[type=sent]/placeName\n", "\n", "
\n", "\n", "
\n", "
\n", "morph\n", "
\n", "
str
\n", "\n", " the morphological tag of the token\n", "\n", "
\n", "\n", "
\n", "
\n", "msid\n", "
\n", "
str
\n", "\n", " The manuscript identifier of a letter; the content is taken from sourceDesc/msDesc/msIdentifier/idno\n", "\n", "
\n", "\n", "
\n", "
\n", "n\n", "
\n", "
str
\n", "\n", " this is TEI attribute n\n", "\n", "
\n", "\n", "
\n", "
\n", "name\n", "
\n", "
str
\n", "\n", " this is TEI attribute name\n", "\n", "
\n", "\n", "
\n", "
\n", "nsent\n", "
\n", "
int
\n", "\n", " number of sentences in corpus\n", "\n", "
\n", "\n", "
\n", "
\n", "otype\n", "
\n", "
str
\n", "\n", " \n", "\n", "
\n", "\n", "
\n", "
\n", "period\n", "
\n", "
str
\n", "\n", " The date of the letter in YYYY-MM-DD; the content is taken from profileDesc/correspDesc/correspAction[type=sent]/date@when\n", "\n", "
\n", "\n", "
\n", "
\n", "periodlong\n", "
\n", "
str
\n", "\n", " The date of the letter as description; the content is taken from profileDesc/correspDesc/correspAction[type=sent]/date\n", "\n", "
\n", "\n", "
\n", "
\n", "personref\n", "
\n", "
str
\n", "\n", " Reference key to the details of a person; the content is taken from rs@ref[type=person]\n", "\n", "
\n", "\n", "
\n", "
\n", "place\n", "
\n", "
str
\n", "\n", " this is TEI attribute place\n", "\n", "
\n", "\n", "
\n", "
\n", "pos\n", "
\n", "
str
\n", "\n", " the part of speech of the token\n", "\n", "
\n", "\n", "
\n", "
\n", "quantity\n", "
\n", "
str
\n", "\n", " this is TEI attribute quantity\n", "\n", "
\n", "\n", "
\n", "
\n", "reason\n", "
\n", "
str
\n", "\n", " this is TEI attribute reason\n", "\n", "
\n", "\n", "
\n", "
\n", "ref\n", "
\n", "
str
\n", "\n", " this is TEI attribute ref\n", "\n", "
\n", "\n", "
\n", "
\n", "rend\n", "
\n", "
str
\n", "\n", " this is TEI attribute rend\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_above\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as above\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_blockletter\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as blockletter\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_bold\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as bold\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_center\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as center\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_indent\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as indent\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_italics\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as italics\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_norend\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as norend\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_overwritten\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as overwritten\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_right\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as right\n", "\n", "
\n", "\n", "
\n", " \n", "
int
\n", "\n", " whether text is to be rendered as right_underline\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_spaced\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as spaced\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_super\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as super\n", "\n", "
\n", "\n", "
\n", " \n", "
int
\n", "\n", " whether text is to be rendered as super_underline\n", "\n", "
\n", "\n", "
\n", " \n", "
int
\n", "\n", " whether text is to be rendered as super_underline2\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_underline\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as underline\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_underline2\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as underline2\n", "\n", "
\n", "\n", "
\n", "
\n", "rend_upsidedown\n", "
\n", "
int
\n", "\n", " whether text is to be rendered as upsidedown\n", "\n", "
\n", "\n", "
\n", "
\n", "scheme\n", "
\n", "
str
\n", "\n", " this is TEI attribute scheme\n", "\n", "
\n", "\n", "
\n", "
\n", "sender\n", "
\n", "
str
\n", "\n", " The sender of the letter; the content is taken from profileDesc/correspDesc/correspAction[type=sent]/name\n", "\n", "
\n", "\n", "
\n", "
\n", "source\n", "
\n", "
str
\n", "\n", " this is TEI attribute source\n", "\n", "
\n", "\n", "
\n", "
\n", "str\n", "
\n", "
str
\n", "\n", " the text of the token\n", "\n", "
\n", "\n", "
\n", "
\n", "target\n", "
\n", "
str
\n", "\n", " this is TEI attribute target\n", "\n", "
\n", "\n", "
\n", "
\n", "type\n", "
\n", "
str
\n", "\n", " this is TEI attribute type\n", "\n", "
\n", "\n", "
\n", "
\n", "unit\n", "
\n", "
str
\n", "\n", " this is TEI attribute unit\n", "\n", "
\n", "\n", "
\n", "
\n", "url\n", "
\n", "
str
\n", "\n", " this is TEI attribute url\n", "\n", "
\n", "\n", "
\n", "
\n", "when\n", "
\n", "
str
\n", "\n", " this is TEI attribute when\n", "\n", "
\n", "\n", "
\n", "
\n", "who\n", "
\n", "
str
\n", "\n", " this is TEI attribute who\n", "\n", "
\n", "\n", "
\n", "
\n", "link_ref\n", "
\n", "
none
\n", "\n", " links to node identified by xml:id in attribute ref\n", "\n", "
\n", "\n", "
\n", "
\n", "link_target\n", "
\n", "
none
\n", "\n", " links to node identified by xml:id in attribute target\n", "\n", "
\n", "\n", "
\n", "
\n", "oslots\n", "
\n", "
none
\n", "\n", " \n", "\n", "
\n", "\n", "
\n", "
\n", "parent\n", "
\n", "
none
\n", "\n", " edge between a node and its parent node\n", "\n", "
\n", "\n", "
\n", "
\n", "sibling\n", "
\n", "
int
\n", "\n", " edge between a node and its preceding sibling nodes; labeled with the distance between them\n", "\n", "
\n", "\n", "
\n", "
\n", "\n", " Settings:
specified
  1. apiVersion: 3
  2. appName: annotation/mondriaan
  3. appPath: /Users/me/github/annotation/mondriaan/app
  4. commit: no value
  5. css:
    .r_above {
    position: relative;
    top: -0.3em;
    }

    .r_below {
    position: relative;
    top: 0.3em;
    }

    .r_b,.r_bold {
    font-weight: bold;
    }

    .r_center {
    text-align: center;
    }

    .r_h1 {
    font-size: xx-large;
    font-weight: bold;
    margin-top: 3rem;
    margin-bottom: 1rem;
    }

    .r_h2 {
    font-size: x-large;
    font-weight: bold;
    margin-top: 2rem;
    margin-bottom: 1rem;
    }

    .r_h3 {
    font-size: large;
    font-weight: bold;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    }

    .r_h4 {
    font-size: large;
    font-style: italic;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
    }

    .r_h5 {
    font-size: medium;
    font-weight: bold;
    font-variant: small-caps;
    margin-top: 0.5rem;
    margin-bottom: 0.25rem;
    }

    .r_h6 {
    font-size: medium;
    font-weight: normal;
    font-variant: small-caps;
    margin-top: 0.25rem;
    margin-bottom: 0.125rem;
    }

    .r_i,.r_italic,.r_italics {
    font-style: italic;
    }

    .r_large {
    font-size: large;
    }

    .r_margin {
    position: relative;
    top: -0.3em;
    font-weight: bold;
    color: #0000ee;
    }

    .r_sc,.r_small_caps,.r_smallcaps {
    font-variant: small-caps;
    }

    .r_spaced,.r_spat {
    letter-spacing: .2rem;
    }

    .r_sub {
    vertical-align: sub;
    font-size: small;
    }

    .r_sup,.r_super {
    vertical-align: super;
    font-size: small;
    }

    .r_ul,.r_underline {
    text-decoration: underline;
    }

    .r_ {
    color: #dd22ff;
    text-decoration: underline;
    }
    .is_meta {
    font-family: monospace;
    color: #008800;
    }
    .is_note {
    font-size: small;
    color: #dd0055;
    }


    /* GRAPHICS */


    .graphic_item {
    display: inline-block;
    padding: 0.5rem;
    }

    .graphic_set {
    display: flex;
    flex-flow: row nowrap;
    justify-content: flex-start;
    align-items: center;
    align-content: flex-start;
    }

    .graphic_img {
    display: block;
    max-width: 15rem ! important;
    max-height: 15rem ! important;
    }
    .graphic_caption {
    display: block;
    max-width: 15rem ! important;
    max-height: 15rem ! important;
    }

  6. dataDisplay:
    • excludedFeatures: []
    • noneValues:
      • none
      • unknown
      • no value
      • NA
    • sectionSep1: @
    • textFormat: layout-orig-full
    • textFormats: {layout-orig-full: {method: layout}}
  7. docs:
    • docPage: about
    • featureBase: {docBase}/transcription.md
    • featurePage: transcription
  8. interfaceDefaults:
    • fmt: layout-orig-full
    • showGraphics: True
  9. isCompatible: True
  10. local: clone
  11. localDir: /Users/me/github/annotation/mondriaan/_temp
  12. provenanceSpec:
    • branch: master
    • corpus: {org} - {repo}{relative}
    • doi: 10.5281/zenodo.notyet
    • graphicsRelative: illustrations
    • moduleSpecs: []
    • org: annotation
    • relative: /tf
    • repo: mondriaan
    • version: 0.8.14
    • webBase: https://public.{org}.org/{repo}
    • webHint: Show this on the website
    • webLang: en
    • webUrl:{webBase}/<1>/<2>/<3>&version={version}
    • webUrlLex: {webBase}/word?version={version}&id=<lid>
  13. release: no value
  14. typeDisplay:
  15. \n", " rs:\n", "
    • features: type key
    • graphics: True
    \n", "
  16. writing: ''
\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "\n", "\n" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "data: ~/github/annotation/mondriaan/illustrations" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" }, { "data": { "text/html": [ "Found 28 artwork-ms
" ], "text/plain": [ "" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "A = use(f\"{ORG}/{REPO}:clone\", checkout=\"clone\")" ] }, { "cell_type": "code", "execution_count": 6, "id": "4294941c-1a76-4b00-99ac-ab23d840ea3a", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Working in repo ~/github/annotation/mondriaan\n", "Make a new commit ...\n", "[master 9dae75b] test\n", " 4 files changed, 27 insertions(+), 59 deletions(-)\n", " create mode 100644 tf/0.8.14/__checkout__.txt\n", "Compute a new tag ...\n", "Latest release = v0.8.13\n", "New release = v0.8.14\n", "Push the repo to GitHub, including tag v0.8.14\n", "Turn the tag into a release on GitHub with additional data\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "To https://github.com/annotation/mondriaan\n", " 6efbd48..9dae75b master -> master\n", " * [new tag] v0.8.14 -> v0.8.14\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "createReleaseUrl='https:/api.github.com/repos/annotation/mondriaan/releases' repr(response)=''\n", "Create the zip file with the complete data\n", "Data to be zipped:\n", "\tOK app (v0.8.14 5cf055) : ~/github/annotation/mondriaan/app\n", "\tOK main data (v0.8.14 5cf055) : ~/github/annotation/mondriaan/tf/0.8.14\n", "\tOK graphics (v0.8.14 5cf055) : ~/github/annotation/mondriaan/illustrations\n", "Writing zip file ...\n", "Upload the zip file and attach it to the release on GitHub\n", "https:/uploads.github.com/repos/annotation/mondriaan/releases/142814330/assets?name=complete.zip\n", "Release v0.8.14 created\n" ] } ], "source": [ "MESSAGE = \"test\"\n", "DESCRIPTION = \"\"\"\n", "For debugging\n", "\"\"\"\n", "\n", "A.publishRelease(3, message=MESSAGE, description=DESCRIPTION)" ] }, { "cell_type": "code", "execution_count": 6, "id": "71d4ac7a-7459-49ff-bcac-a2cbfe86767c", "metadata": { "tags": [] }, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "Working in repo ~/github/annotation/mondriaan\n", "Make a new commit ...\n", "[master 7d9be80] With Biblio\n", " 1 file changed, 21 insertions(+), 44 deletions(-)\n", "Compute a new tag ...\n", "Latest release = v0.8.11\n", "New release = v0.8.12\n", "Push the repo to GitHub, including tag v0.8.12\n", "Turn the tag into a release on GitHub with additional data\n" ] }, { "name": "stderr", "output_type": "stream", "text": [ "To https://github.com/annotation/mondriaan\n", " 51484fb..7d9be80 master -> master\n", " * [new tag] v0.8.12 -> v0.8.12\n" ] }, { "name": "stdout", "output_type": "stream", "text": [ "Create the zip file with the complete data\n", "Data to be zipped:\n", "\tOK app (v0.8.12 24d8fa) : ~/github/annotation/mondriaan/app\n", "\tOK main data (v0.8.12 24d8fa) : ~/github/annotation/mondriaan/tf/0.8.12\n", "\tOK graphics (v0.8.12 24d8fa) : ~/github/annotation/mondriaan/illustrations\n", "Writing zip file ...\n", "Upload the zip file and attach it to the release on GitHub\n", "https:/uploads.github.com/repos/annotation/mondriaan/releases/107810511/assets?name=complete.zip\n", "Release v0.8.12 created\n" ] } ], "source": [ "MESSAGE = \"With Biblio\"\n", "DESCRIPTION = \"\"\"\n", "New TEI source data:\n", "\n", "There is now additional *back matter*: a list of artworks.\n", "\n", "The file folder structure of the data is\n", "\n", "```\n", "proeftuin\n", "- letter\n", "- letter\n", "backmatter\n", "- artwork (template: artworklist)\n", "- biblio (template: bibliolist)\n", "```\n", "\n", "There are two new series of edge annotations: `link_ref` and `link_target`.\n", "They link elements via the `ref` and `target` atrributes to other elements identified by the \n", "`id` attributes. This can happen across files.\n", "\n", "The `ref` and `target` attributes are still present as annotations,\n", "the `link_ref` and `target_ref` have been generated from this.\n", "The targets of these annotations are pairs: *from* and *to*.\n", "The *from* corresponds to the element that contains the `ref` or `target` attribute,\n", "the *to* corresponds to the element that contains the `id` attribute.\n", "\n", "Nothing new has been done with the spacing and the newlines.\n", "\n", "This release has been published with the command `A.publish()`, a function in Text-Fabric.\n", "\"\"\"\n", "\n", "A.publishRelease(3, message=MESSAGE, description=DESCRIPTION)" ] } ], "metadata": { "kernelspec": { "display_name": "Python 3 (ipykernel)", "language": "python", "name": "python3" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.12.2" } }, "nbformat": 4, "nbformat_minor": 5 }