Skip to content

Commit

Permalink
remove website content
Browse files Browse the repository at this point in the history
We keep only the projects overview and add a workflow to only create html from the markdown using pandoc. Also adds an index.html for redirecting from the github page to the rdm website.
  • Loading branch information
jelletreep committed Apr 11, 2024
1 parent 4b383e2 commit 1299a76
Show file tree
Hide file tree
Showing 45 changed files with 141 additions and 2,539 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/pandoc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# pandoc

name: Docs to html
# This workflow is triggered on pushes to the repository.
on:
workflow_dispatch:
push:
branches:
- main
# Paths can be used to only trigger actions when you have edited certain files, such as a file within the /docs directory
paths:
- 'docs/projects.md'

jobs:
convert_via_pandoc:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: create output dir
run: mkdir output
- uses: docker://pandoc/core:2.9
with:
args: >- # allows you to break string into multiple lines
--css=styling.css
--from=gfm
--to=html
--standalone
--self-contained
--output=output/projects.html
docs/projects.md
- uses: actions/upload-artifact@v3
with:
name: html
path: output
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Gemfile.lock
Gemfile
_site
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
|[Home](index.md)|[Projects](_pages/projects/index.md)|[Publications](_pages/publications/index.md)|[Manuals](_pages/manuals/index.md)|
|---|---|---|---|

## Research Engineering at Utrecht University

This is the repo of our [team website](https://utrechtuniversity.github.io/research-engineering/) build with [GitHub Pages](https://docs.github.com/en/pages) and [Jekyll](https://jekyllrb.com/).

- To contribute, please create a pull request and ask a team member to review.
This used to be the repository for keeping our team website. Currently it is only used for maintaining our projects overview.

- You can also build the website locally to preview and test changes. See instructions for [testing Github pages locally](https://docs.github.com/en/pages/setting-up-a-github-pages-site-with-jekyll/testing-your-github-pages-site-locally-with-jekyll).
### To update the overview:

- If you like to customize the layout and style, please read the docs on the [Slate theme](https://github.com/pages-themes/slate).
1. Create a branch
2. Update `docs/projects.md`
3. Create a pull request and assign Raoul or Jelle to review it.
7 changes: 1 addition & 6 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
theme: jekyll-theme-slate
title: Research Engineering team
description: Connecting Research and IT at Utrecht University
baseurl: /research-engineering
include: ['_pages']
markdown: kramdown
theme: jekyll-theme-cayman
31 changes: 0 additions & 31 deletions _data/people.yml

This file was deleted.

8 changes: 0 additions & 8 deletions _includes/head-custom.html

This file was deleted.

7 changes: 0 additions & 7 deletions _includes/menu.html

This file was deleted.

74 changes: 0 additions & 74 deletions _includes/people.html

This file was deleted.

59 changes: 0 additions & 59 deletions _layouts/default.html

This file was deleted.

57 changes: 0 additions & 57 deletions _pages/hpc/index.md

This file was deleted.

42 changes: 0 additions & 42 deletions _pages/long-term-support/index.md

This file was deleted.

16 changes: 0 additions & 16 deletions _pages/manuals/index.md

This file was deleted.

Loading

0 comments on commit 1299a76

Please sign in to comment.