Skip to content

Commit

Permalink
v00.1 first production draft
Browse files Browse the repository at this point in the history
  • Loading branch information
Milton Choo committed May 13, 2020
1 parent 98f3aac commit 1b6821c
Show file tree
Hide file tree
Showing 11 changed files with 45 additions and 31 deletions.
1 change: 0 additions & 1 deletion _layouts/default.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
{%- include head.html -%}
<body>
{%- include nav.html -%}
<div class=center> This site is still under constructions</div>
<main class="page-content" aria-label="Content">
<div class="container">
{{ content }}
Expand Down
4 changes: 2 additions & 2 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
<body>
{%- include nav.html -%}
<img src="/assets/img/achieve_banner.jpg" class='img-fluid w-100'>
<main>
<div class="wrapper">
<main class='page-content'>
<div class="wrapper container">
{{ content }}
</div>
</main>
Expand Down
6 changes: 5 additions & 1 deletion _posts/2020-05-01-bitbuckit-and-gitlab-users.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: bitbucket/gitlab users
author: milton choo
---
upload to ntu-rris from bitbucket/gitlab

Expand All @@ -8,11 +9,14 @@ please ensure the following:

* your github account has 2FA with NTU's enterprise authentication server
* your new repository is created on ntu-rris central repository
* Add RRIS's github URL as a "SSH" connection to ntu-rris's with name as "rris"
* optional but highly recommended that you get Single-Sign-On (SSO) to work with github
* on your local git repository, add RRIS's github URL as a "SSH" connection to ntu-rris's with name as "rris", assuming the origin name was taken for bitbucket or gitlab.
{% highlight ruby %}
$ git remote add rris ssh://[email protected]/ntu-rris/yournewrepositoryname.git
{% endhighlight %}
* push the master branch using this command
{% highlight ruby %}
$ git push rris master
{% endhighlight %}

it is also recommended that you update the central repository at least weekly for all your active projects
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
author: milton choo
---
this is just a recommendation for markdown, please use whatever format you
like, as the crucial factor is any documentation is better than none at all

however, there are several advantages for using *markdown*
* supported by Github and Bitbucket
* supported in most of the languages you will write in
* you can write it immediately in your code editor
* there are serveral nice tools to convert markdown to any format you like
* its easier than reST(i know most of you love python) but i digress






13 changes: 0 additions & 13 deletions _sass/main.scss

This file was deleted.

12 changes: 9 additions & 3 deletions _sass/myapp.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
// warning: no frontmatter in _sass/files
body {
padding-top: 0px;
margin-top: 0px;
}
.current {
color: green;

main {
margin-top: 5px;
}

.navbar {
padding-bottom: 0px;
margin-bottom: 0px !important;
}
8 changes: 3 additions & 5 deletions about.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ on Github.
We expect all active projects to make at least a weekly update of their software
repository on Github.

[Link to a document]({% link collections/name-of-document.md %})

[Link to a post]({% link _posts/2020-05-01-bitbuckit-and-gitlab-users.md %})

[Link to a page]({% link news/index.md %})
[Bitbucket/Gitlab users]({% link _posts/2020-05-01-bitbuckit-and-gitlab-users.md %})<br>
[Recommendation of markdown for documentation]({% link _posts/2020-05-02-recommendation-for-markdown-documentation-format.md%})<br>
[What's new]({% link news/index.md %})
2 changes: 1 addition & 1 deletion assets/css/style.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
---
@import "main"; //import from _sass
@import "myapp"; //import from _sass
@import "native.css";
2 changes: 1 addition & 1 deletion home.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ layout: default
title: RRIS home
---
{% for r in site.data.myrepos %}
[{{ r.name }}]({{r.html_url|absolute_url}})
[{{r.name}}]({{r.html_url|absolute_url}})
<br/>**{{ r.description| default: "No Description" }}**
<br/> contributors: {% for j in r.contrib %} [{{j.login}}]({{j.html_url|absolute_url}}) {% endfor %}
{% endfor %}
4 changes: 0 additions & 4 deletions index.html

This file was deleted.

6 changes: 6 additions & 0 deletions index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
layout: home
title: RRIS
---
please visit our official website
[Rehabilitation Research Institute of Singapore](http://rris.ntu.edu.sg)

0 comments on commit 1b6821c

Please sign in to comment.