Skip to content

Commit

Permalink
mvp-tema-i18n (#9): upgrade Jekyll 4.2; gem 'jekyll-spaceship'
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed May 16, 2021
1 parent 804aaaa commit 6dbb4f8
Show file tree
Hide file tree
Showing 5 changed files with 73 additions and 86 deletions.
5 changes: 4 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,17 @@ source "https://rubygems.org"
# gem "github-pages", group: :jekyll_plugins
# gem "jekyll", "~> 3.9"

gem "jekyll", "~> 3.9"
gem "jekyll", "~> 4.2"

group :jekyll_plugins do
# @see https://github.com/toshimaru/jekyll-toc
gem 'jekyll-toc'
gem 'jekyll-feed'
gem 'jekyll-seo-tag'
gem 'jekyll-spaceship'
gem 'kramdown-parser-gfm'
end

gem 'html-proofer'

# TODO: https://github.com/jeffreytse/jekyll-spaceship
81 changes: 26 additions & 55 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,58 +5,29 @@
[![GitHub Repo stars](https://img.shields.io/github/stars/HXL-CPLP/Auxilium-Humanitarium-API?style=social)](https://github.com/HXL-CPLP/Auxilium-Humanitarium-API)
[![Download .zip](https://img.shields.io/badge/Download-.zip-brightgreen)](https://github.com/HXL-CPLP/Auxilium-Humanitarium-API/archive/refs/heads/main.zip)

<!--
![Repo license](https://img.shields.io/github/license/HXL-CPLP/Auxilium-Humanitarium-API)
- https://jekyllrb.com/docs/step-by-step/06-data-files/
- https://unicode.org/udhr/translations.html
- https://unicode.org/udhr/d/udhr_por_PT.txt
- https://udhr.audio/UDHR_Video.asp?lng=por&p=Preamble
-->

> - [Documentation in English language here](eng.md)
> - [Documentação na língua portuguesa aqui](por.md)
<!--
TODOs:
- https://github.com/frictionlessdata/schemas/blob/master/definitions.json
- https://github.com/frictionlessdata/specs/blob/master/schemas/registry.csv
**[working-draft] <span lang="en">Argumented documentation of common APIs for
humanitarian aid with [OpenAPI](https://www.openapis.org/), the _de facto_
open industry standard to document REST APIs.</span>**
Old documentation: [README-old.md](README-old.md)
-->

<!--
> Trivia:
> - "Auxilium humanitarium"
> - https://la.wikipedia.org/wiki/Auxilium_humanitarium
> - "documentōrum"
> - https://en.wiktionary.org/wiki/documentum#Latin
> API
> - "applicātiōnem"
> - https://en.wiktionary.org/wiki/applicatio#Latin
> - "programma"
> - https://en.wiktionary.org/wiki/programma#Italian
> - "interface", inter- (“between”) +‎ face (“shape, figure, form”).
> - "inter"
> - https://en.wiktionary.org/wiki/inter-#Latin
> - "faciem"
> - https://en.wiktionary.org/wiki/facies#Latin
> "specificationem"
> - https://en.wiktionary.org/wiki/specification
> "situm"
> - https://en.wiktionary.org/wiki/situs#Latin
> "online"
> - https://en.wiktionary.org/wiki/online#English
# - on +‎ line
> - "līneam", https://en.wiktionary.org/wiki/linea#Latin
> - "on"
> - ???
-->

---
## Links

- 🌐:
- https://hapi.etica.ai/
- https://github.com/HXL-CPLP/hapi.etica.ai
- https://github.com/HXL-CPLP/Auxilium-Humanitarium-API/actions
-

> @TODO: [por] adicionar mais links
> @TODO: https://plantuml.com/
## English

### Note to maintainers in English

- <https://translate.google.com/translate?sl=pt&tl=en&u=https://github.com/HXL-CPLP/Auxilium-Humanitarium-API/blob/main/README.md>

## Español

### Nota para mantenedores en español

- <https://translate.google.com/translate?sl=pt&tl=es&u=https://github.com/HXL-CPLP/Auxilium-Humanitarium-API/blob/main/README.md>

## Português

61 changes: 32 additions & 29 deletions _layouts/fiat-lux.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,35 +10,38 @@
<div class="px-4 pt-5 my-5 text-center border-bottom">
<h1 class="display-4 fw-bold">{% include fn/L10n vocab="L10n_HAPI_namen" %} <sup>(alpha)</sup></h1>
<div class="col-lg-6 mx-auto">
<!--
<p class="lead mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p>
-->
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center mb-5">
<a href="/eng/" class="btn btn-primary btn-lg px-4 me-sm-3">{% include fn/L10n vocab="L10n_HAPI_linguam_ego" linguam="eng" %}</a>
<br>
<a href="/por/" class="btn btn-primary btn-lg px-4">{% include fn/L10n vocab="L10n_HAPI_linguam_ego" linguam="por" %}</a>
</div>
</div>
</div>

{% comment %}
@TODO: [por] Centralizar esta div que aparece na pagina inicial https://hapi.etica.ai/ (Emerson Rocha, 2021-05-16 16:50 UTC)
{% endcomment %}

<ul class="list-group list-group-horizontal">
<li class="list-group-item">
<a href="https://hapi.etica.ai"><img src="https://img.shields.io/badge/Site-hapi.etica.ai-blue" alt="hapi.etica.ai"></a>
</li>
<li class="list-group-item">
<a href="https://github.com/HXL-CPLP/Auxilium-Humanitarium-API"><img src="https://img.shields.io/badge/GitHub-HXL--CPLP%2FAuxilium--Humanitarium--API-lightgrey?logo=github&style=social" alt="HXL-CPLP/Auxilium-Humanitarium-API"></a>
</li>
<li class="list-group-item">
<a href="https://github.com/HXL-CPLP/Auxilium-Humanitarium-API"><img src="https://img.shields.io/github/stars/HXL-CPLP/Auxilium-Humanitarium-API?style=social" alt="GitHub Repo stars"></a>
</li>
<li class="list-group-item">
<a href="https://github.com/HXL-CPLP/Auxilium-Humanitarium-API/archive/refs/heads/main.zip"><img src="https://img.shields.io/badge/Download-.zip-brightgreen" alt="Download .zip"></a>
</li>
</ul>
<!--
<p class="lead mb-4">Quickly design and customize responsive mobile-first sites with Bootstrap, the world’s most popular front-end open source toolkit, featuring Sass variables and mixins, responsive grid system, extensive prebuilt components, and powerful JavaScript plugins.</p>
-->
<div class="d-grid gap-2 d-sm-flex justify-content-sm-center mb-5">
<a href="/eng/" class="btn btn-primary btn-lg px-4 me-sm-3">{% include fn/L10n vocab="L10n_HAPI_linguam_ego" linguam="eng" %}</a>
<br>
<a href="/por/" class="btn btn-primary btn-lg px-4">{% include fn/L10n vocab="L10n_HAPI_linguam_ego" linguam="por" %}</a>
</div>
<br>
<a href="/sitemap.html" class="btn btn-success btn-md px-4" alt="Mappa">🌐</a>
</div>
<br>
</div>

{% comment %}
@TODO: [por] Centralizar esta div que aparece na pagina inicial https://hapi.etica.ai/ (Emerson Rocha, 2021-05-16 16:50 UTC)
{% endcomment %}

<ul class="list-group list-group-horizontal">
<li class="list-group-item">
<a href="https://hapi.etica.ai"><img src="https://img.shields.io/badge/Site-hapi.etica.ai-blue" alt="hapi.etica.ai"></a>
</li>
<li class="list-group-item">
<a href="https://github.com/HXL-CPLP/Auxilium-Humanitarium-API"><img src="https://img.shields.io/badge/GitHub-HXL--CPLP%2FAuxilium--Humanitarium--API-lightgrey?logo=github&style=social" alt="HXL-CPLP/Auxilium-Humanitarium-API"></a>
</li>
<li class="list-group-item">
<a href="https://github.com/HXL-CPLP/Auxilium-Humanitarium-API"><img src="https://img.shields.io/github/stars/HXL-CPLP/Auxilium-Humanitarium-API?style=social" alt="GitHub Repo stars"></a>
</li>
<li class="list-group-item">
<a href="https://github.com/HXL-CPLP/Auxilium-Humanitarium-API/archive/refs/heads/main.zip"><img src="https://img.shields.io/badge/Download-.zip-brightgreen" alt="Download .zip"></a>
</li>
</ul>
</div>
</main>

Expand Down
3 changes: 2 additions & 1 deletion documentum/eng/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ toc: true
- eng: <https://en.wikipedia.org/wiki/ReliefWeb>
-->


##### ReliefWeb-eng
- **{% include fn/L10n vocab="L10n_canonicum_catanam" %}**: <https://hapi.etica.ai/api/UN/reliefweb/eng/>
- **{% include fn/L10n vocab="L10n_canonicum_catanam" %}**: </api/UN/reliefweb/eng/>
- **{% include fn/L10n vocab="L10n_openapi_filum" %}**: [/api/UN/reliefweb/eng/openapi.yaml](/api/UN/reliefweb/eng/openapi.yaml)

#### HDX - The Humanitarian Data Exchange
Expand Down
9 changes: 9 additions & 0 deletions documentum/sitemap.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,11 @@
exclude: 'yes'

# See http://www.independent-software.com/generating-a-sitemap-xml-with-jekyll-without-a-plugin.html
# Trivia:
# - mappam
# - https://en.wiktionary.org/wiki/mappa#Latin
# - '🌐'
# - https://emojipedia.org/globe-with-meridians/
---

<!doctype html>
Expand All @@ -22,6 +27,10 @@
<header>
<div class="container">
<h1>Sitemap</h1>
<div class="alert alert-danger" role="alert">
<p lang="eng">[eng]👷🏽 Work in progress</p>
<p lang="pt">[por]👷🏽 Trabalho em progresso</p>
</div>
</div>
</header>
<main>
Expand Down

0 comments on commit 6dbb4f8

Please sign in to comment.