Skip to content

Commit

Permalink
Upgrading website to docusaurus v2.
Browse files Browse the repository at this point in the history
  • Loading branch information
nating committed Apr 2, 2021
1 parent 53b1f4d commit 65a4593
Show file tree
Hide file tree
Showing 10,321 changed files with 231,328 additions and 1,004,015 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# cs-exams

<p align="center">
<a alt="cs-exams logo" href="https://cs-exams.com">
<img alt="cs-exams-logo" src="https://raw.githubusercontent.com/nating/cs-exams/master/website/static/img/cs-exams.svg?sanitize=true" width="200"><a/>
</p>

<p align="center">
<a href="http://makeapullrequest.com"><img alt="pull requests welcome" src="https://img.shields.io/badge/pull%20requests-welcome-brightgreen.svg"><a/>
</p>
Expand All @@ -17,19 +17,19 @@

cs-exams.com is a website to make accessing resources for study less convoluted for Computer Science students in Trinity.

It is put together by students and maintained by students so that it can be as beneficial for them as possible.
It is put together by students for students so that it can be as beneficial for them as possible.

## Contributing

Contributing is highly encouraged! It is great to help other students out!

Contributing is also extremely easy:
1. Click the `EDIT` button in the top right hand corner of a module's page:<br><img alt="edit button example" src="./assets/images/edit-button-example.png" height="200"/>
2. Make the changes and make sure that the changes work:<br><img alt="making changes example" src="./assets/images/edit-page-example.png" height="200"/>
Contributing should be easy:
1. Click `"Edit this page"` at the bottom of a module's page:<br><img alt="edit button example" src="./assets/images/edit-button-example.png" height="200"/>
2. Make your changes and make sure that your changes work:<br><img alt="making changes example" src="./assets/images/edit-page-example.png" height="200"/>
3. Write an appropriate commit title that captures the change, and hit `Propose file change`:<br><img alt="appropriate commit title example" src="./assets/images/commit-message-example.png" height="150"/>
4. Review your changes and hit `Create pull request`:
1. <img alt="creating pull request step 0" src="./assets/images/create-pull-request-example-0.png" height="150"/>
2. <img alt="creating pull request step 1" src="./assets/images/create-pull-request-example-1.png" height="150"/>
5. Wait a few hours for your pull request to be merged and published!
5. Wait for your pull request to be reviewed, merged and published!

Thanks for helping out 😁
Binary file modified assets/images/commit-message-example.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 assets/images/create-pull-request-example-0.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 assets/images/create-pull-request-example-1.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 assets/images/edit-button-example.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 assets/images/edit-page-example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
33 changes: 33 additions & 0 deletions website/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# Website

This website is built using [Docusaurus 2](https://v2.docusaurus.io/), a modern static website generator.

## Installation

```console
yarn install
```

## Local Development

```console
yarn start
```

This command starts a local development server and open up a browser window. Most changes are reflected live without having to restart the server.

## Build

```console
yarn build
```

This command generates static content into the `build` directory and can be served using any static contents hosting service.

## Deployment

```console
GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy
```

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.
3 changes: 3 additions & 0 deletions website/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
presets: [require.resolve('@docusaurus/core/lib/babel/preset')],
};
18 changes: 0 additions & 18 deletions website/blog/2016-03-11-blog-post.md

This file was deleted.

18 changes: 0 additions & 18 deletions website/blog/2017-04-10-blog-post-two.md

This file was deleted.

11 changes: 0 additions & 11 deletions website/blog/2017-09-25-testing-rss.md

This file was deleted.

10 changes: 0 additions & 10 deletions website/blog/2017-09-26-adding-rss.md

This file was deleted.

8 changes: 0 additions & 8 deletions website/blog/2017-10-24-new-version-1.0.0.md

This file was deleted.

10 changes: 0 additions & 10 deletions website/build/cs-exams/.circleci/config.yml

This file was deleted.

1 change: 0 additions & 1 deletion website/build/cs-exams/CNAME

This file was deleted.

Loading

0 comments on commit 65a4593

Please sign in to comment.