Skip to content

Commit

Permalink
deploy: 2bfeba6
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Oct 2, 2023
1 parent cb3c381 commit 6f5c1aa
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 5 deletions.
8 changes: 7 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -418,9 +418,11 @@ ALLINONE_MD_PAGE = $(srcdir)/$(GTLANG).md
LINKS = $(srcdir)/Links.md
HEADER = $(srcdir)/index-header.md
INDEX = $(srcdir)/index.md
REPONAME = $(shell grep '__REPO__' $(top_srcdir)/.gut/delta.toml | cut -d'"' -f2)
# " reset syntax colouring - gets confused by the single double quote in the previous line

# no regenerations while debugging
doc_DATA = $(INDEX) $(LINKS) $(ALLINONE_MD_PAGE) lemmacount.json
doc_DATA = $(INDEX) $(LINKS) $(ALLINONE_MD_PAGE) lemmacount.json maturity.json
DOCC2MDWIKI = $(GTCORE)/scripts/doccomments2ghpages.awk
DOCC2MDWIKI_CG3 = $(GTCORE)/scripts/doccomments2ghpages-vislcg.awk
GRAPHPLOTTER = $(GTCORE)/scripts/plot-speller-progress.R
Expand Down Expand Up @@ -937,6 +939,10 @@ regenerate-markdown: generate-markdown
$(srcdir)/lemmacount.json: $(top_srcdir)/src/fst/stems/*.lexc
$(AM_V_GEN)$(GTCORE)/scripts/make-lemmacount.json.sh $(abs_top_srcdir) > $@

# Generate a maturity.json file as endpoint for the maturity badge.
$(srcdir)/maturity.json:
$(AM_V_GEN)$(GTCORE)/scripts/make-maturity.json.sh $(REPONAME) > $@

# Convert source filenames to extracted documentation filenames, VPATH safe:
# ../../../src/fst/stems/adverbs.lexc => src-fst-stems-adverbs.lexc.md
define src2md
Expand Down
4 changes: 2 additions & 2 deletions index-header.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Central Yupik documentation

[![Maturity: Experiment](https://img.shields.io/badge/Maturity-Experiment-black.svg)](https://giellalt.github.io/MaturityClassification.html)
![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2Flang-esu%2Fgh-pages%2Flemmacount.json)
[![Maturity](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2Flang-esu%2Fgh-pages%2Fmaturity.json)](https://giellalt.github.io/MaturityClassification.html)
![Lemma count](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2Flang-esu%2Fgh-pages%2Flemmacount.json)
[![License](https://img.shields.io/github/license/giellalt/lang-esu)](https://github.com/giellalt/lang-esu/blob/main/LICENSE)
[![Issues](https://img.shields.io/github/issues/giellalt/lang-esu)](https://github.com/giellalt/lang-esu/issues)
[![Build Status](https://divvun-tc.giellalt.org/api/github/v1/repository/giellalt/lang-esu/main/badge.svg)](https://github.com/giellalt/lang-esu/actions)
Expand Down
4 changes: 2 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Central Yupik documentation

[![Maturity: Experiment](https://img.shields.io/badge/Maturity-Experiment-black.svg)](https://giellalt.github.io/MaturityClassification.html)
![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2Flang-esu%2Fgh-pages%2Flemmacount.json)
[![Maturity](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2Flang-esu%2Fgh-pages%2Fmaturity.json)](https://giellalt.github.io/MaturityClassification.html)
![Lemma count](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2Flang-esu%2Fgh-pages%2Flemmacount.json)
[![License](https://img.shields.io/github/license/giellalt/lang-esu)](https://github.com/giellalt/lang-esu/blob/main/LICENSE)
[![Issues](https://img.shields.io/github/issues/giellalt/lang-esu)](https://github.com/giellalt/lang-esu/issues)
[![Build Status](https://divvun-tc.giellalt.org/api/github/v1/repository/giellalt/lang-esu/main/badge.svg)](https://github.com/giellalt/lang-esu/actions)
Expand Down
1 change: 1 addition & 0 deletions maturity.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "schemaVersion": 1, "label": "Maturity", "message": "Beta", "color": "yellow" }

0 comments on commit 6f5c1aa

Please sign in to comment.