Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions content/guides/_index.es.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
+++
title="Guías"
+++
3 changes: 3 additions & 0 deletions content/guides/_index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
+++
title="Guides"
+++
89 changes: 55 additions & 34 deletions data/en/resources/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,105 +2,126 @@
{
"title": "Contributing Guide",
"text": "The purpose of this guide is to welcome you to rOpenSci and help you recognize yourself as a potential contributor.",
"url": "https://contributing.ropensci.org"
"url": "https://contributing.ropensci.org",
"type": "guide"
},
{
"title": "Packages",
"text": "Software helping work with local and remote scientific data sources.",
"url": "/packages"
"url": "/packages",
"type": "content"
},
{
"title": "Package Use Cases",
"text": "Practical illustrations of our software in action",
"url": "/usecases/"
"url": "/usecases/",
"type": "content"
},
{
"title": "Developer Guide",
"text": "Our best practice guide for R package development and peer-review.",
"url": "https://devguide.ropensci.org"
"url": "https://devguide.ropensci.org",
"type": "guide"
},
{
"title": "Software Peer Review",
"text": "About our system for R package peer review.",
"url": "/software-review"
},
{
"title": "Forum",
"text": " Ask and answer questions about our packages or resources; report use cases.",
"url": "https://discuss.ropensci.org"
"url": "/software-review",
"type": "content"
},
{
"title": "Archive",
"text": "All our blog posts, community calls and tech notes in one place.",
"url": "/archive"
"url": "/archive",
"type": "content"
},
{
"title": "Community Call Archive",
"text": "All recordings from previous webinars.",
"url": "/commcalls/"
"url": "/commcalls/",
"type": "content"
},
{
"title": "Newsletter",
"text": "A regular digest of recent rOpenSci activities and updates.",
"url": "/news"
"url": "/news",
"type": "content"
},
{
"title": "Books",
"text": "E-books about our tooling",
"url": "https://books.ropensci.org"
"url": "https://books.ropensci.org",
"type": "content"
},
{
"title": "Talks, Training and Publications",
"text": "External communications about our work and teaching",
"url": "https://ropensci.org/talks-papers/"
"url": "https://ropensci.org/talks-papers/",
"type": "content"
},
{
"title": "Our Blogging Guide",
"text": "Guide for authors and editors of blog posts and tech notes for the rOpenSci website.",
"url": "https://blogguide.ropensci.org/"
"url": "https://blogguide.ropensci.org/",
"type": "guide"
},
{
"title": "ropensci GitHub Organization",
"title": "ropensci",
"text": "Mature R packages contributed by rOpenSci staff or peer-reviewed packages.",
"url": "https://github.com/ropensci"
"url": "https://github.com/ropensci",
"type": "github"
},
{
"title": "ropenscilabs GitHub Organization",
"title": "ropenscilabs",
"text": "Incubator projects.",
"url": "https://github.com/ropenscilabs"
"url": "https://github.com/ropenscilabs",
"type": "github"
},
{
"title": "ropensci-review-tools GitHub Organization",
"title": "ropensci-review-tools",
"text": "Tooling (packages) for software review.",
"url": "https://github.com/ropensci-review-tools"
"url": "https://github.com/ropensci-review-tools",
"type": "github"
},
{
"title": "ropensci-books GitHub Organization",
"title": "ropensci-books",
"text": "Books about rOpenSci packages or maintained by rOpenSci.",
"url": "https://github.com/ropensci-books"
"url": "https://github.com/ropensci-books",
"type": "github"
},
{
"title": "ropensci-training GitHub Organization",
"title": "ropensci-training",
"text": "Mostly legacy training materials.",
"url": "https://github.com/ropensci-training"
"url": "https://github.com/ropensci-training",
"type": "github"
},
{
"title": "ropensci-org GitHub Organization",
"title": "ropensci-org",
"text": "Miscellaneous organization tooling.",
"url": "https://github.com/ropensci-org"
"url": "https://github.com/ropensci-org",
"type": "github"
},
{
"title": "r-universe GitHub Organization",
"title": "r-universe",
"text": "R-universe infrastructure.",
"url": "https://github.com/r-universe-org"
"url": "https://github.com/r-universe-org",
"type": "github"
},
{
"title": "ropensci-archive GitHub Organization",
"title": "ropensci-archive",
"text": "Abandoned projects.",
"url": "https://github.com/ropensci-archive"
"url": "https://github.com/ropensci-archive",
"type": "github"
},
{
"title": "ropensci-docs GitHub Organization",
"title": "ropensci-docs",
"text": "Documentation of rOpenSci packages, automatically updated.",
"url": "https://github.com/ropensci-docs"
"url": "https://github.com/ropensci-docs",
"type": "github"
},
{
"title": "rOpenSci Localization and Translation Guidelines",
"text": "Why and how we localize and translate our resources.",
"url": "https://translationguide.ropensci.org/",
"type": "guide"
}]
12 changes: 10 additions & 2 deletions data/es/resources/resources.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
{
"title": "Guía de colaboración",
"text": "El propósito de esta guía es darte la bienvenida a rOpenSci y ayudarte a reconocerte como potencial participante",
"url": "https://contributing.ropensci.org"
"url": "https://contributing.ropensci.org",
"type": "guide"
},
{
"title": "Paquetes",
Expand All @@ -17,7 +18,8 @@
{
"title": "Guía para desarrollar y revisar paquetes",
"text": "Nuestra guía de mejores prácticas para el desarrollo de paquetes R y la revisión por pares",
"url": "https://devguide.ropensci.org/es/index.es.html"
"url": "https://devguide.ropensci.org/es/index.es.html",
"type": "guide"
},
{
"title": "Revisión por Pares de Software",
Expand Down Expand Up @@ -103,4 +105,10 @@
"title": "Organización de GitHub ropensci-docs",
"text": "Documentación de los paquetes rOpenSci, actualizada automáticamente",
"url": "https://github.com/ropensci-docs"
},
{
"title": "Guía de localización y traducción de rOpenSci",
"text": "Cómo y porqué traducimos y localizamos nuestros recursos.",
"url": "https://translationguide.ropensci.org/es/index.es.html",
"type": "guide"
}]
5 changes: 4 additions & 1 deletion themes/ropensci/i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -356,4 +356,7 @@
other = "Interview"

[Interviews]
other = "Interviews"
other = "Interviews"

[Guides]
other = 'Guides'
3 changes: 3 additions & 0 deletions themes/ropensci/i18n/es.toml
Original file line number Diff line number Diff line change
Expand Up @@ -358,3 +358,6 @@
[Interviews]
other = "Entrevistas"

[Guides]
other = 'Guías'

29 changes: 29 additions & 0 deletions themes/ropensci/layouts/guides/list.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{{ define "main" }}


<section class="section">
<div class="container">
<!-- Header text -->
<div class="row">
<div class="col-md-8">
<h1>{{ .Title | markdownify }}</h1>
<p class="subtitle">
{{ .Content }}
</p>
</div>
</div>


{{ $data := index .Site.Data .Language.Lang }}
{{ $resources := $data.resources.resources }}
{{ $guides := (where $resources "type" "guide" )}}
{{ partial "resources/resources-cards" (dict "resources" $guides ) }}
</div>
</section>
{{ $askpartial := (partial "translate-path" (dict "name" "whole-page-fragments/ask" "language" .Language.Lang )) }}
{{ partial $askpartial (dict "Site" .Site "divider" "rl" ) }}
{{ $newsletterpartial := (partial "translate-path" (dict "name" "whole-page-fragments/newsletter" "language" .Language.Lang )) }}
{{ partial $newsletterpartial (dict "Site" .Site "divider" "rl" ) }}
{{ $brandpartial := (partial "translate-path" (dict "name" "whole-page-fragments/brands" "language" .Language.Lang )) }}
{{ partial $brandpartial (dict "Site" .Site "divider" "lr" ) }}
{{ end }}
1 change: 1 addition & 0 deletions themes/ropensci/layouts/partials/skeleton/navbar.html
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@
<li class="nav-item drp">
{{ partial "translate-url" (dict "name" "resources" "Site" .Site "class" "nav-link")}}{{ i18n "Resources" }}</a>
<ul class="sub-menu">
<li>{{ partial "translate-url" (dict "name" "guides" "Site" .Site )}}{{ i18n "Guides" }}</a></li>
<li>{{ partial "translate-url" (dict "name" "talks-papers" "Site" .Site )}}{{ i18n "Talks-Publications" }}</a></li>
<li>{{ partial "translate-url" (dict "name" "training" "Site" .Site )}}{{ i18n "Training"}} </a></li>
<li><a class="external-link" lang="en" href="https://docs.ropensci.org/">{{ i18n "Package-Docs" }}</a></li>
Expand Down
18 changes: 16 additions & 2 deletions themes/ropensci/layouts/resources/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,24 @@ <h1>{{ .Title | markdownify }}</h1>
</p>
</div>
</div>
{{ $data := index .Site.Data .Language.Lang }}
{{ $resources := $data.resources.resources }}

<h2>Content</h2>

{{ $content := (where $resources "type" "content" )}}
{{ partial "resources/resources-cards" (dict "resources" $content ) }}

<h2>Guides</h2>

{{ $guide := (where $resources "type" "guide" )}}
{{ partial "resources/resources-cards" (dict "resources" $guide ) }}

<h2>GitHub Organizations</h2>

{{ $github := (where $resources "type" "github" )}}
{{ partial "resources/resources-cards" (dict "resources" $github ) }}

{{ $data := index .Site.Data .Language.Lang }}
{{ partial "resources/resources-cards" (dict "resources" $data.resources.resources ) }}
</div>
</section>
{{ $askpartial := (partial "translate-path" (dict "name" "whole-page-fragments/ask" "language" .Language.Lang )) }}
Expand Down