Skip to content

Commit

Permalink
menu-api (#10): movido parte da logica de menus para _data/api.yml (e…
Browse files Browse the repository at this point in the history
…m vez de usar arquivos markdown para cada item)
  • Loading branch information
fititnt committed May 17, 2021
1 parent 0891b72 commit dc97dea
Show file tree
Hide file tree
Showing 5 changed files with 55 additions and 54 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ page_gen:
# dir: 'eng/api-TEMP/BR'
dir_expr: "record['linguam'] + '/' + record['gid']"
# filter_condition: "record['gid'] == 'api/BR' and record['linguam'] == 'eng'"
debug: true
# debug: true

# - data: 'api'
# template: 'api'
Expand Down
72 changes: 54 additions & 18 deletions _data/api.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,55 @@
# https://github.com/avillafiorita/jekyll-datapage_gen


# eng:
### UN _________________________________________________________________________

- gid: api/UN
lid: HDX
linguam: eng
openapi_filum: /api/UN/HDX/eng/openapi.yaml
slug: humanitarian-data-exchange
noindex: true
title: HDX - The Humanitarian Data Exchange API
# namen:
# descriptionen:

- gid: api/UN
lid: ReliefWeb
linguam: eng
openapi_filum: /api/UN/reliefweb/eng/openapi.yaml
slug: reliefweb
title: ReliefWeb - Informing humanitarians worldwide
# title: ReliefWeb - Informing humanitarians worldwide
noindex: true

- gid: api/UN
lid: CODV2API
linguam: eng
openapi_filum: /api/UN/CODV2API/eng/openapi.yaml
slug: common-operational-datasets-api
title: Common Operational Datasets Services 2 (COD Services)
noindex: true

### XZ _________________________________________________________________________

- gid: api/XZ
lid: HXL-Proxy
linguam: eng
openapi_filum: /api/XZ/HXL-Proxy/eng/openapi.yaml
slug: hxl-proxy
title: HXL-Proxy - Proxy of the Humanitarian Exchange Language
noindex: true

### BR _________________________________________________________________________

- gid: api/BR
lid: portais-ckan-brasil
linguam: eng
openapi_filum: /api/BR/brazilian-ckan-portals/eng/openapi.yaml
slug: brazilian-ckan-portals
title: Portais CKAN de dados abertos do Brasil
description: |
Discussão em https://github.com/HXL-CPLP/COD-Services-API-doc/issues/4
noindex: true
# namen:
# descriptionen:
Expand All @@ -15,28 +58,21 @@
lid: portais-ckan-brasil
linguam: por
openapi_filum: /api/BR/portais-ckan-brasil/por/openapi.yaml
slug: portais-ckan-brasil
slug: dados-abertos-ckan-brasil
title: Portais ArcGIS de dados abertos do Brasil
description: |
Discussão em https://github.com/HXL-CPLP/COD-Services-API-doc/issues/4
noindex: true
# namen:
# descriptionen:

- gid: api/UN
lid: HDX
linguam: eng
openapi_filum: /api/UN/HDX/eng/openapi.yaml
slug: humanitarian-data-exchange
noindex: true
# namen: Humanitarian Data Exchange
# namen:
# descriptionen:

- gid: api/UN
lid: ReliefWeb
linguam: eng
openapi_filum: /api/UN/reliefweb/eng/openapi.yaml
slug: reliefweb
- gid: api/BR
lid: portais-arcgis-brasil
linguam: por
openapi_filum: /api/BR/portais-arcgis-brasil/por/openapi.yaml
slug: ados-abertos-arcgis-brasil
title: Portais ArcGIS de dados abertos do Brasil
noindex: true
# namen: Humanitarian Data Exchange
# namen:
# descriptionen:

Expand Down
12 changes: 0 additions & 12 deletions documentum/eng/api/BR/brazilian-ckan-portals.md

This file was deleted.

12 changes: 0 additions & 12 deletions documentum/por/api/portais-arcgis-brasil.md

This file was deleted.

11 changes: 0 additions & 11 deletions documentum/por/api/portais-ckan-brasil.md

This file was deleted.

0 comments on commit dc97dea

Please sign in to comment.