From 30ca05f28154764b7d91675897643298b98c5b36 Mon Sep 17 00:00:00 2001 From: Mireille Raad Date: Fri, 6 Nov 2020 12:28:43 -0500 Subject: [PATCH 1/2] classify as a featured blog post for the homepage --- .../2020-04-05-how-to-contribute-by-cpython-unittest.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_posts/2020-04-05-how-to-contribute-by-cpython-unittest.markdown b/_posts/2020-04-05-how-to-contribute-by-cpython-unittest.markdown index 6d3a6fd10..9425b310b 100644 --- a/_posts/2020-04-05-how-to-contribute-by-cpython-unittest.markdown +++ b/_posts/2020-04-05-how-to-contribute-by-cpython-unittest.markdown @@ -2,7 +2,7 @@ layout: post title: "How to contribute to RustPython by CPython unittest" date: 2020-04-05 01:45:00 +0900 -categories: guideline +categories: guideline, featured --- At the very end of 2019, we finally reached one of the short-term goals: CPython unittest support. Due to this enhancement, finding CPython compatibility is easier than before. From 0217cdfeff1966d626030720d30af0b1006770da Mon Sep 17 00:00:00 2001 From: Mireille Raad Date: Fri, 6 Nov 2020 12:30:00 -0500 Subject: [PATCH 2/2] create a list in the config file for all the dashboards, show list on homepage under dashboard section --- _config.yml | 4 +++ _layouts/home.html | 63 ++++++++++++++++++++++++++++------------------ index.markdown | 6 +---- 3 files changed, 44 insertions(+), 29 deletions(-) diff --git a/_config.yml b/_config.yml index 018b6a9a5..a5044bc97 100644 --- a/_config.yml +++ b/_config.yml @@ -41,6 +41,10 @@ navigation: - title: Gitter url: https://gitter.im/rustpython/Lobby +dashboards: + - title: CPython test compatibility + url: /pages/regression-tests-results.html + # Build settings theme: minima plugins: diff --git a/_layouts/home.html b/_layouts/home.html index 810492179..3683c89b7 100644 --- a/_layouts/home.html +++ b/_layouts/home.html @@ -7,13 +7,14 @@
-
+
{{ site.title }}

- {{ site.description }} + {{ site.description }}

@@ -29,14 +30,15 @@

- {{ page.explainer }} + {{ page.explainer }}

@@ -47,9 +49,10 @@
Installation
{% for install in page.installation %} - {{ install.command }} + {{ install.command }} {% endfor %} - +
@@ -61,28 +64,37 @@
{% for goals in page.goals %}
-
+
{{ goals.goal }} -
+
{% endfor %}
- {{ content }} + {{ content }}
- Learn more - -
    - {%- for post in site.posts -%} - {% if post.categories contains "featured" %} -
  • {{ post.title | escape }}
  • - {% endif %} - {%- endfor -%} -
+ Featured Posts + +
+ +
+ Dashboard + + +
+
@@ -96,12 +108,15 @@

{{ site.contributor_excerpt}}

- + \ No newline at end of file diff --git a/index.markdown b/index.markdown index 8dba405b7..c34f0a9e8 100644 --- a/index.markdown +++ b/index.markdown @@ -38,8 +38,4 @@ IronPython is well-integrated with .NET, which means IronPython can use the .NET We want to unlock the same possibilities that Jython and IronPython enable, but for the Rust programming language. In addition, thanks to Rusts' minimal runtime, we're able to compile RustPython to WebAssembly and allow users to run their Python code easily in the browser. -Check the "learn more" section for an explainer of all those jargon-y words, or read the blog for more in-depth technical discussion. - -### Other Resources - -- [CPython test compatibility]({% link pages/regression-tests-results.markdown %}) +Check the "learn more" section for an explainer of all those jargon-y words, or read the blog for more in-depth technical discussion. \ No newline at end of file