Skip to content

Commit

Permalink
Merge pull request AeroRust#8 from AeroRust/update-and-text-improvements
Browse files Browse the repository at this point in the history
Update and text improvements
  • Loading branch information
elpiel authored May 29, 2021
2 parents 54ab409 + 365ae95 commit 8a23428
Show file tree
Hide file tree
Showing 17 changed files with 189 additions and 35 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
_site
_tmp
.sass-cache
.jekyll-cache
.jekyll-metadata
vendor
.bundle
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.3
2.7.0
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
source "https://rubygems.org"

gem 'jekyll', '~> 3.6'
gem 'jekyll', '~> 4.0', '>= 4.0.1'
62 changes: 39 additions & 23 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4,48 +4,64 @@ GEM
addressable (2.7.0)
public_suffix (>= 2.0.2, < 5.0)
colorator (1.1.0)
ffi (1.12.1)
concurrent-ruby (1.1.8)
em-websocket (0.5.2)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.7)
ffi (1.15.1)
forwardable-extended (2.6.0)
jekyll (3.6.3)
http_parser.rb (0.6.0)
i18n (1.8.10)
concurrent-ruby (~> 1.0)
jekyll (4.2.0)
addressable (~> 2.4)
colorator (~> 1.0)
jekyll-sass-converter (~> 1.0)
jekyll-watch (~> 1.1)
kramdown (~> 1.14)
em-websocket (~> 0.5)
i18n (~> 1.0)
jekyll-sass-converter (~> 2.0)
jekyll-watch (~> 2.0)
kramdown (~> 2.3)
kramdown-parser-gfm (~> 1.0)
liquid (~> 4.0)
mercenary (~> 0.3.3)
mercenary (~> 0.4.0)
pathutil (~> 0.9)
rouge (>= 1.7, < 3)
rouge (~> 3.0)
safe_yaml (~> 1.0)
jekyll-sass-converter (1.5.2)
sass (~> 3.4)
jekyll-watch (1.5.1)
terminal-table (~> 2.0)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-watch (2.2.1)
listen (~> 3.0)
kramdown (1.17.0)
kramdown (2.3.1)
rexml
kramdown-parser-gfm (1.1.0)
kramdown (~> 2.0)
liquid (4.0.3)
listen (3.2.1)
listen (3.5.1)
rb-fsevent (~> 0.10, >= 0.10.3)
rb-inotify (~> 0.9, >= 0.9.10)
mercenary (0.3.6)
mercenary (0.4.0)
pathutil (0.16.2)
forwardable-extended (~> 2.6)
public_suffix (4.0.3)
rb-fsevent (0.10.3)
public_suffix (4.0.6)
rb-fsevent (0.11.0)
rb-inotify (0.10.1)
ffi (~> 1.0)
rouge (2.2.1)
rexml (3.2.5)
rouge (3.26.0)
safe_yaml (1.0.5)
sass (3.7.4)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sassc (2.4.0)
ffi (~> 1.9)
terminal-table (2.0.0)
unicode-display_width (~> 1.1, >= 1.1.1)
unicode-display_width (1.7.0)

PLATFORMS
ruby

DEPENDENCIES
jekyll (~> 3.6)
jekyll (~> 4.0, >= 4.0.1)

BUNDLED WITH
1.17.2
2.1.4
2 changes: 0 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@ markdown: kramdown
exclude:
- README.md
- _tmp
- Gemfile
- LICENSE
- vendor

collections:
topics:
Expand Down
7 changes: 5 additions & 2 deletions _data/crates.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,8 @@
# - Crates with non-Github repos are fine, but will currently lack some generated data
# - Topics are defined are defined in the _topics directory; new topics require new topic pages

- name: crate-name
topics: ["type"]
- name: nyx-space
topics: ["astrodynamics"]

- name: uom
topics: ["units-of-measure"]
73 changes: 73 additions & 0 deletions _layouts/crates.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
layout: default
---
<article class="container post">

<header class="post-header">
<h1 class="post-title">{{ page.title }}</h1>
</header>

<div class="post-content">
{{ content }}
</div>

{% assign crates = site.data.crates_generated | where_exp:"item", "item.topics contains page.crate_tag" | sort: 'score' | reverse %}
{% for crate in crates %}
<div>
<hr>
<h3>
{%if crate.name %}{{crate.name}}{% else %}{{crate.github}}{% endif %}
<span style="font-size: small; vertical-align:middle;">
[
{%if crate.name %}<a href="https://crates.io/crates/{{crate.name}}">crate</a> &middot;{% endif %}
{%if crate.repository %}<a href="{{crate.repository}}">repo</a> &middot;{% endif %}
{%if crate.documentation %}<a href="{{crate.documentation}}">docs</a>{% endif %}
]
</span>
</h3>

<div style="line-height:1;">
{%if crate.name %}
<img src="https://img.shields.io/crates/v/{{crate.name}}.svg?maxAge=2592000">
<img src="https://img.shields.io/crates/d/{{crate.name}}.svg?maxAge=2592000">
<img src="https://img.shields.io/crates/dr/{{crate.name}}.svg?maxAge=2592000">
{% endif %}
{%if crate.github %}
<img src="https://img.shields.io/github/stars/{{crate.github}}.svg?style=social&amp;label=Star&amp;maxAge=2592000">
{% endif %}
</div>

<p>{{crate.description}}</p>

<div style="font-size: small;">

{%if crate.license %}
<span class="crate-stat"><b>License</b>: {{crate.license}}</span>
{% endif %}
{%if crate.github %}
<span class="crate-stat"><b>Last Commit</b>: {{crate.last_commit | date: "%d %b %Y"}}</span>
{% endif %}
{%if crate.name %}
<span class="crate-stat"><b>Last Published</b>: {{crate.updated_at | date: "%d %b %Y"}}</span>
{% endif %}
{%if crate.github %}
<span class="crate-stat"><b>Contributors</b>: {{crate.contributor_count}}</span>
<span class="crate-stat"><b>Open Issues</b>: {{crate.open_issues_count}}</span>
{% endif %}
</div>
</div>
{% endfor %}

<div class="followup">
Do you know of a crate that is missing?
<a href="https://github.com/AeroRust/are-we-in-space-yet/issues/new?title=Add+crate:+CRATE&amp;body=Please+add+crate+to+category:+{{ page.title | url_encode }}+%0A%0APro-tip%3a+a+quick+PR+to+_data/crates.yaml+often+gets+merged+quicker." target="_blank">
Create an issue
</a>
or a PR.
<br>
Looking for something you didn't find? Try asking on the
<a href='https://discord.gg/Xd98GjuEhu'>AeroRust's Discord server</a>.
</div>


</article>
8 changes: 8 additions & 0 deletions _topics/astrodynamics.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
layout: crates
title: Astrodynamics
crate_tag: astrodynamics
color: green
---

Astrodynamics - Celestial mechanics applied to space vehicles.
12 changes: 12 additions & 0 deletions _topics/units-of-measure.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
layout: crates
title: Units of measure
crate_tag: units-of-measure
color: green
---

<blockquote cite="https://en.wikipedia.org/wiki/Unit_of_measurement">
A unit of measurement is a definite magnitude of a quantity, defined and adopted by convention or by law, that is used as a standard for measurement of the same kind of quantity.
</blockquote>

- <a href="https://en.wikipedia.org/wiki/Unit_of_measurement">Wikipedia</a>
Binary file modified favicon.ico
Binary file not shown.
Binary file not shown.
Binary file modified images/favicon-16x16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/favicon-32x32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/ferris.gif
Binary file not shown.
Binary file added images/ferris_sidewalk.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
53 changes: 48 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
<div class="col-xs-12 col-sm-9 col-md-8">
<h1>Are we <strong>in space</strong> yet?</h1>
<p style="margin-top: 60px; position: relative;">
<span>A work-in-progress to catalog</span>
<span>A catalogue of crates </span>
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
the state of <b style="color: #00c3ff">Rust in the air and in space.</b>
in the <b style="color: #00c3ff">Rust ecosystem for (aero)space.</b>
</p>
</div>
</div>
Expand All @@ -73,9 +73,52 @@ <h1>Are we <strong>in space</strong> yet?</h1>

<div class="container section">
<div class="tldr-headline">
Coming soon !
Launchpad for professionals and hobbyists alike
</div>
<p>
TODO: Tell more about how Rust can help and ease development in aerospace.
</p>

<img src="images/ferris.gif" alt="ferris" style="width: 40%; margin: 0 auto;" />
<p>
You can check out what project we are currently building in Github <a
href='https://github.com/AeroRust'>github.com/AeroRust</a>
</p>

<p>
and join the Community on the <a href='https://discord.gg/Xd98GjuEhu'>AeroRust's Discord server</a>.
</p>
</div>

<div class="hero" style="background-position: center 70%;">
<div class="color-overlay"></div>
<div class="container" style="position:relative;">

<h3>Rust Aerospace Ecosystem</h3>
<div class="row tiles">
{% for post in site.topics %}
{% if page.skip_tiles contains forloop.index %}
<div class="col-md-2 col-sm-4 hide-xs hide-sm">&nbsp;</div>
{% endif %}
<div class="col-md-2 col-sm-4 col-xs-6">
<a href="{{post.url | prepend: site.baseurl }}">
<div class="tile tile-{{post.color}}">
{{ post.title }}
</div>
</a>
</div>
{% endfor %}
</div>
</div>
</div>

<div class="container section">
<h3>Additional resources</h3>

<ul>
<li><a href="https://github.com/aerorust/are-we-in-space-yet/issues/new">suggest additional resources</a> for
getting started with Aerospace in Rust</li>
</ul>

<img src="images/ferris_sidewalk.gif" alt="ferris" style="width: 40%; margin: 0 auto;" />
</div>
</div>
</div>
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "AWLY?",
"name": "AWISY?",
"icons": [
{
"src": "\/images\/android-chrome-192x192.png",
Expand Down

0 comments on commit 8a23428

Please sign in to comment.