Skip to content

Commit

Permalink
Simplify main view - maturity does not make any sense for corpus reso…
Browse files Browse the repository at this point in the history
…rces
  • Loading branch information
snomos committed Oct 23, 2023
1 parent 413f0b6 commit 16fe9d0
Showing 1 changed file with 4 additions and 43 deletions.
47 changes: 4 additions & 43 deletions CorpusResources.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,11 @@ __*Under construction.*__

This page contains a dynamically built list of all corpus repositories. Private repositories are not listed.

# Grouped according to maturity of the resources

The [maturity levels](../MaturityClassification.md) are *production, beta, alpha* and *experimental*.
# Overview

{% assign lang_repos = site.github.public_repositories|jsonify %}

## [![Maturity: Production](https://img.shields.io/badge/Maturity-Production-brightgreen.svg)](MaturityClassification.html) Production language resources

<div id="prod_languges" ></div>

## [![Maturity: Beta](https://img.shields.io/badge/Maturity-Beta-yellow.svg)](MaturityClassification.html) Beta language resources

<div id="beta_languges" ></div>

## [![Maturity: Alpha](https://img.shields.io/badge/Maturity-Alpha-red.svg)](MaturityClassification.html) Alpha language resources

<div id="alpha_languges" ></div>

## [![Maturity: Experiment](https://img.shields.io/badge/Maturity-Experiment-black.svg)](MaturityClassification.html) Experimental language resources

<div id="exper_languges" ></div>

## [![Maturity: Undefined](https://img.shields.io/badge/Maturity-Undefined-lightgrey.svg)](MaturityClassification.html) Language resources of undefined maturity

<div id="undef_languges" class="twocolumn" ></div>
<div id="corp_languges" ></div>

# Grouped according to geography

Expand Down Expand Up @@ -99,29 +79,10 @@ The [maturity levels](../MaturityClassification.md) are *production, beta, alpha

<!-- Scripts for maturity classes: -->
<script src="/assets/js/langtable.js"></script>
<script>
const domProdLangs = document.querySelector('#prod_languges');
domProdLangs.appendChild(addDictRepoTable({{lang_repos}}, 'corpus-', ['maturity-prod']))
</script>

<script>
const domBetaLangs = document.querySelector('#beta_languges');
domBetaLangs.appendChild(addDictRepoTable({{lang_repos}}, 'corpus-', ['maturity-beta']))
</script>

<script>
const domAlphaLangs = document.querySelector('#alpha_languges');
domAlphaLangs.appendChild(addDictRepoTable({{lang_repos}}, 'corpus-', ['maturity-alpha']))
</script>

<script>
const domExperLangs = document.querySelector('#exper_languges');
domExperLangs.appendChild(addDictRepoTable({{lang_repos}}, 'corpus-', ['maturity-exper']))
</script>

<script>
const domUndefLangs = document.querySelector('#undef_languges');
domUndefLangs.appendChild(addNegUnorderedDictList({{lang_repos}}, 'corpus-', ['maturity-exper', 'maturity-beta', 'maturity-alpha', 'maturity-prod']))
const domProdLangs = document.querySelector('#corp_languges');
domProdLangs.appendChild(addRepoTable({{lang_repos}}, 'corpus-', ['']))
</script>

<!-- Scripts for Geographic areas: -->
Expand Down

0 comments on commit 16fe9d0

Please sign in to comment.