Skip to content

windysky/jungukhur.github.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 

Repository files navigation

ICBO-2022: International Conference on Biomedical Ontology

This repository hosts to documents for the ICBO 2022 website. The website is built using mkdocs and the deployment of the website is controlled using the github action .github/workflows/build-deploy-documentation.yaml. The github action has been configured to run if any changes are made to mkdocs.yaml, files in the docs/ or docs/images/ directories, or after a pull request is merged. This allows to closely track the repository history using pull requests (if desired).

Editing website content

The website content is contained in the docs/ and docs/images directories. Editing any of the *.md files or adding/changing an image should fire off an action to build and deploy the website. This github action can be checked by navigating to the Actions page:

github-actions-link

and verifying that the changes fired off an action. For example, here is an action that started as a result of an update the to the call-for-submissions.md:

github-actions-call-for-submissions-example

After the action has finished running (it will have green check), verify that the edits are displayed on the website.

Adding new webpages

Adding new webpage takes two steps:

  1. Create the new md file in the docs/ directory.
  2. Edit the nav section of mkdocs.yml to reference the new document and its title.

Adding new images

A new image is added to the website is done by simply saving a the image to the docs/images/ directory. However, referencing the image from the md file is a bit nuanced.

If you reference the image using markdown syntax, you include the images directory in the path to the images. For example, in the docs/submit-jbms-icbo.md document, the reference to the submission type image is done like so:

![submission type](images/jbms-choose-article-type.png)

However, if you are customizing the image with an HTML <img> tag, you use the ../images directory in the path to the image. For example, in the docs/keynote-speakers.md document, Chris Stoeckert's image is referenced like this:

<img src='../images/chris-stoeckert.png' align='left' style='margin:10px 20px 0px 0px' />

The reason for this has to do with how read the docs processes images, but I don't know the details of why.

Manually deploying the website

If (for some reason) the github action does not fire, you can manually run it. First, on the Actions page, select the Build and Deploy Static Mkdocs Documentation workflow.

github-actions-select-workflow

Next, click on the Run workflow button.

github-actions-run-build-workflow

Once the workflow starts running, you will see yellow dot beside the workflow name.

github-actions-build-running

After the workflow, completes you will see a green check beside the workflow name.

github-actions-build-complete

Verify that the edits are displayed on the website.

About

Junguk Hur's Website

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published