Skip to content

Commit

Permalink
deploy: 5dc8b82
Browse files Browse the repository at this point in the history
  • Loading branch information
snomos committed Oct 2, 2023
1 parent ffb3149 commit 953bada
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 5 deletions.
8 changes: 7 additions & 1 deletion Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -419,9 +419,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 @@ -938,6 +940,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
5 changes: 3 additions & 2 deletions index-header.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Faroese documentation

[![Maturity: Production](https://img.shields.io/badge/Maturity-Production-brightgreen.svg)](https://giellalt.github.io/MaturityClassification.html)
![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2Flang-fao%2Fgh-pages%2Flemmacount.json)[![License](https://img.shields.io/github/license/giellalt/lang-fao)](https://github.com/giellalt/lang-fao/blob/main/LICENSE)
[![Maturity](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2Flang-fao%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-fao%2Fgh-pages%2Flemmacount.json)
[![License](https://img.shields.io/github/license/giellalt/lang-fao)](https://github.com/giellalt/lang-fao/blob/main/LICENSE)
[![Issues](https://img.shields.io/github/issues/giellalt/lang-fao)](https://github.com/giellalt/lang-fao/issues)
[![Build Status](https://divvun-tc.giellalt.org/api/github/v1/repository/giellalt/lang-fao/main/badge.svg)](https://github.com/giellalt/lang-fao/actions)

Expand Down
5 changes: 3 additions & 2 deletions index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Faroese documentation

[![Maturity: Production](https://img.shields.io/badge/Maturity-Production-brightgreen.svg)](https://giellalt.github.io/MaturityClassification.html)
![Endpoint Badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2Flang-fao%2Fgh-pages%2Flemmacount.json)[![License](https://img.shields.io/github/license/giellalt/lang-fao)](https://github.com/giellalt/lang-fao/blob/main/LICENSE)
[![Maturity](https://img.shields.io/endpoint?url=https%3A%2F%2Fraw.githubusercontent.com%2Fgiellalt%2Flang-fao%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-fao%2Fgh-pages%2Flemmacount.json)
[![License](https://img.shields.io/github/license/giellalt/lang-fao)](https://github.com/giellalt/lang-fao/blob/main/LICENSE)
[![Issues](https://img.shields.io/github/issues/giellalt/lang-fao)](https://github.com/giellalt/lang-fao/issues)
[![Build Status](https://divvun-tc.giellalt.org/api/github/v1/repository/giellalt/lang-fao/main/badge.svg)](https://github.com/giellalt/lang-fao/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": "Production", "color": "green" }

0 comments on commit 953bada

Please sign in to comment.