-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #24 from OpenRailAssociation/project-list
Project list on web site
- Loading branch information
Showing
4 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
title: OpenRail Projects | ||
introduction: | | ||
These are the Open Source projects which are officially hosted by the | ||
OpenRail Association. They have been accepted through the <a href="https://github.com/OpenRailAssociation/technical-committee/blob/main/incubation_process.md">incubation process</a>. | ||
If you would like to suggest a new project to the OpenRail Association please | ||
have a look at the <a href="https://github.com/OpenRailAssociation/technical-committee/blob/main/new-project-questionnaire.md">questionnaire for new projects</a>. | ||
listclass: style1 medium less-bottom-margin less-top-margin | ||
|
||
projects: | ||
- publiccode: https://raw.githubusercontent.com/OpenRailAssociation/osrd/dev/publiccode.yml | ||
- publiccode: https://raw.githubusercontent.com/OpenRailAssociation/landscape/main/data/openrail/rcm-oss.yml | ||
- publiccode: https://raw.githubusercontent.com/OpenRailAssociation/landscape/main/data/openrail/dac-migration-dss.yml | ||
- publiccode: https://raw.githubusercontent.com/OpenRailAssociation/landscape/main/data/openrail/nge.yml | ||
- publiccode: https://raw.githubusercontent.com/OpenRailAssociation/landscape/main/data/openrail/liblrs.yml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<!-- Projects --> | ||
<section class="wrapper style1 align-center" id="projects"> | ||
<div class="inner"> | ||
<h2>{{ .title }}</h2> | ||
<p> | ||
{{ with .introduction }}{{ . | safeHTML }}{{ end }} | ||
</p> | ||
<div class="items {{ .listclass }}" id="projects-overview"> | ||
{{- range .projects }} | ||
<section> | ||
{{- $data := dict }} | ||
{{- $url := .publiccode }} | ||
{{- with resources.GetRemote $url }} | ||
{{- with .Err }} | ||
{{- errorf "%s" . }} | ||
{{- else }} | ||
{{- $data = . | transform.Unmarshal }} | ||
{{- end }} | ||
{{- else }} | ||
{{- errorf "Unable to get remote resource %q" $url }} | ||
{{- end }} | ||
|
||
{{- with $data }} | ||
<h3>{{ .name }}</h3> | ||
<p>{{ chomp .description.en.shortDescription }}</p> | ||
{{- with .url }} | ||
<a href="{{ . }}">GitHub</a> | ||
{{- end }} | ||
<p>Status: {{ .developmentStatus }}</p> | ||
{{- end }} | ||
</section> | ||
{{- end }} | ||
</div> | ||
</div> | ||
</section> |