Skip to content

Commit

Permalink
Update readme, remove layout
Browse files Browse the repository at this point in the history
  • Loading branch information
kinow committed Apr 14, 2024
1 parent 2f7f859 commit 6396500
Show file tree
Hide file tree
Showing 10 changed files with 110 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ jobs:
strategy:
fail-fast: false
matrix:
language: ['javascript-typescript', 'go']
language: ['javascript-typescript']
# CodeQL supports the following values keywords for 'language': 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift'
# Use `c-cpp` to analyze code written in C, C++ or both
# Use 'java-kotlin' to analyze code written in Java, Kotlin or both
Expand Down
109 changes: 109 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,119 @@

BioUno website.

## Building

You must install Hugo to build the project locally. The
Hugo [website][hugo] contains information to install it on
Linux, macOS, and Windows. Hugo is written in Go, so you
will have to install Go as well — refer to Hugo website.

Go into the directory where you cloned this repository, and
run Hugo to build or to serve the website locally.

```console
# This will build
$ hugo

# This will serve and watch for changes
$ hugo server --watch
```

If you want to have a more verbose output, you can use this
variation.

```console
$ hugo server --navigateToChanged --buildDrafts --buildFuture --watch --verbose
```

And if you want to make sure that you are not having problems
with caching, you can remove the `public` directory, which is
used by Hugo to build the blog.

```console
$ rm -rf public && hugo server --navigateToChanged --buildDrafts --buildFuture --watch --verbose
```

### Creating a new page

If you create a new section (e.g. `faq`), you will have to create
a directory with a `_index.md` file. See existing directories like
`./content/blog/` or `./content/tutorials/` for example.

To add a page to an existing section, the simplest option is to just
copy an existing page. You can also create an empty Markdown page
(e.g. `./content/faq/new-file.md`).

If you are building the site with `--watch`, you should be able to
navigate to that page already at <http://localhost:1313/faq/new-file.html>.

Existing pages (and posts) contain a YAML header, called “front matter”.
You can copy an existing header as example.

```markdown
---
title: Give it some nice title
---

This is markdown.

<p>Or HTML...</p>
```

### Creating a new post

Blog posts are created in the directory `/content/blog/`. The
existing posts were migrated from Jekyll, so we need to follow
the existing pattern for consistency.

- `2020-01-20-url-friendly-title.md`

In the example above, `2020-01-20` is the post date. This is not
really used, but it can be added just for the sake of keeping up
with the existing pattern.

The `url-friendly-title` is the part that will be used in the URL,
so choose one that is unique and simple, with dashes or underscores.

Before writing the post content, the front matter YAML header
needs to be added, as in the example below.

```markdown
---
title: "Advanced Cross-Project Linking of Jenkins Artifacts"
description: "Linking Data-Source Builds and their Metadata"
tags: [Jenkins, workflow, data-sciences, analysis, bioinformatics, metadata]
author: Ioannis K. Moutsatsos
date: 2020-02-02
---

Any markdown **content** here. Like in GitHub.

<p>Or some <strong>HTML</strong>.</p>
```

The front matter header above defines a title, that appears in
the web page generated. The description is used in the blog
listing as a summary for the post (when visiting the URL `/blog/`).

The tags are used to classify the post. Fill in the author name
and the date. The date will be used to produce the URL slug
name (`/2020/02/02/advanced...` in the example above).

Preview your post locally — building and serving locally, as
per instructions above — and commit to a pull request or to
a branch like `master` once you are done. In a few seconds the
GitHub Actions pipeline will run, and if it succeeds the site
will be updated with your post.

GitHub Actions builds take seconds to one or minutes.

## Contributing

All contributions are welcome! Send us your issues, pull requests or suggestions.

## License

[MIT](http://opensource.org/licenses/MIT)

[hugo]: https://gohugo.io/
1 change: 0 additions & 1 deletion content/documentation/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: single
title: Documentation
weight: 200
---
Expand Down
1 change: 0 additions & 1 deletion content/projects/jenkins-plugins.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: single
title: Jenkins Plug-ins
aliases:
- /jenkins-plugins.html
Expand Down
1 change: 0 additions & 1 deletion content/projects/jenkins-update-site.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: single
title: Jenkins Update Site
aliases:
- /jenkins-update-site.html
Expand Down
1 change: 0 additions & 1 deletion content/tutorials/active-choices-plugin/_index.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: single
title: Active Choices Plugin Tutorials
url: /tutorials/active-choices-plugin/
---
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: single
title: Running Structure in parallel using Jenkins slaves
---

Expand Down
1 change: 0 additions & 1 deletion content/tutorials/misc/using-the-figshare-plugin.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: single
title: Using the figshare Plug-in
---

Expand Down
1 change: 0 additions & 1 deletion content/tutorials/r-plugin/tutorial01-jenkins-rscript.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: single
title: Tutorial 1 - Integrating Jenkins with R-script
---

Expand Down
1 change: 0 additions & 1 deletion content/tutorials/r-plugin/using-the-jenkins-r-plugin.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
---
layout: single
title: Using the Jenkins R Plug-in
---

Expand Down

0 comments on commit 6396500

Please sign in to comment.