GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - workflow4metabolomics/website: Workflow4Metabolomics website

BranchesTags
Open more actions menu

Latest commit

 

History

95 Commits
95 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
W4E
W4E
 
 
W4M_datasets
W4M_datasets
 
 
images
images
 
 
people
people
 
 
ressources
ressources
 
 
.gitignore
.gitignore
 
 
.nojekyll
.nojekyll
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
_quarto.yml
_quarto.yml
 
 
about.qmd
about.qmd
 
 
cite_us.qmd
cite_us.qmd
 
 
contribute.qmd
contribute.qmd
 
 
create_map.qmd
create_map.qmd
 
 
get_help.qmd
get_help.qmd
 
 
index.qmd
index.qmd
 
 
listing_team.qmd
listing_team.qmd
 
 
logo_main_infra.qmd
logo_main_infra.qmd
 
 
news.qmd
news.qmd
 
 
references.bib
references.bib
 
 
renv.lock
renv.lock
 
 
resources1.qmd
resources1.qmd
 
 
resources2.qmd
resources2.qmd
 
 
resources3.qmd
resources3.qmd
 
 
resources4.qmd
resources4.qmd
 
 
script_map.R
script_map.R
 
 
styles.css
styles.css
 
 
tool1.qmd
tool1.qmd
 
 
tool2.qmd
tool2.qmd
 
 
tool_general.qmd
tool_general.qmd
 
 
tooladmin.qmd
tooladmin.qmd
 
 
tooldev.qmd
tooldev.qmd
 
 
tooluser.qmd
tooluser.qmd
 
 

Repository files navigation

Deploy Quarto site

workflow

How to contribute to the documentation?

If you want to contribute to this documentation on Workflow4Metabolomics, you will need to have a Github account first. Indeed, every files of this documentation are pushed in github and will stay there. To be able to accept new things from different people, we need to set some steps to follow:

  1. Start by forking the repository:

fork this thing

  1. Then you can work directly on github or clone the repository to your local environment (link clone)

  2. Once you have saved your changes (with commits pushed on your forked repository) there should be an orange band like the following to ask for a pull request This is my PR

  3. You just have to open this pull request and we will review it in order to validate it. Please think about explaining your changes in your newly opened pull request for us to know what is is all about. Once the pull request is aprouved, changes will appear on the website.

Tip: Adding information on a page

If you just want to add some information on an existing page or update some deprecated information, it is quite easy to do. During the previous step n°2, you just have to open the file you want to change (on Github or on your local computer if cloned), make your changes and then save it in a new commit. When your commit is saved with changes, the orange band will appear and you can proceed with the previous step n°3 (or continue by updating further content).

Tip: Creating a new page

It is also possible to add a new page on the website. This is different from the previous point because you will need to change the _quarto.yml file also. To be able to do this, start with thinking about Where can my new page be on the website? A new item in the menu? A new tab in an existing one?. Then in the file named _quarto.yml find the good part and add it with these information:

 - text: "Tools"
        icon: "tools"
        menu: 
          - text: "Tool 1"
            href: tool1.qmd
          - text: "My new tool"
            href: mynewtool.qmd

As you can see, you now need to create your new mynewtool.qmd file. In this file you can write all you want (in accordance with where it will be in the website of course!). After all this is completed, as in the previous tip, just save and open the pull request explaining what you want to add for us to be able to evaluate its accordance to the website.

Understand the website building

The publish.yml file for deploying the website

The publish.yml file is a configuration file for GitHub Actions that automates the deployment of the Workflow4Metabolomics website. It is located in the .github/workflows directory of the GitHub repository. This file contains instructions on how to build and deploy the website whenever there is a change in the repository.

Why set the target to the gh-pages branch?

The gh-pages target (defined in target: gh-pages) is used to specify the branch where the content generated by Quarto will be deployed. Here’s why this is important:

  1. Dedicated deployment branch: The gh-pages branch is a convention used by GitHub Pages to host the static files of a website. By configuring this branch as the target, you indicate to GitHub Pages where to find the files to serve.

  2. Separation of source code and deployed content: The source code of your project (e.g., Quarto, R files, etc.) remains in the main branch (main), while the generated files (HTML, CSS, JS, etc.) are deployed to gh-pages. This helps keep the repository clean and organized.

  3. Compatibility with GitHub Pages: GitHub Pages is configured to automatically serve content from the gh-pages branch (or another branch specified in the repository settings). By using this branch, you ensure that the site will be correctly published.

In summary, the target: gh-pages directive is essential to indicate where the generated files should be deployed so that GitHub Pages can serve them as a website.

About

Workflow4Metabolomics website

workflow4metabolomics.github.io/website/

Resources

Readme
GPL-3.0 license
Activity
Custom properties

Stars

1 star

Watchers

7 watching

Forks

1 fork
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.