This online documentation for the GWAS Catalog Harmonisation Pipeline(gwas-sumstats-harmoniser) is built using Docusaurus, a modern static website generator.
Node.js version 18.0 or above
- You can check the installed version by running
node -v
- You can use nvm to manage Node versions.
- To learn how to edit the documentation or blog posts, refer to the Docusaurus.
- For practical examples and frequently used features, the Docusaurus tutorial provides quick instructions.
The npm run start
(or yarn start
, pnpm run start
) command builds your website locally and serves it through a development server, ready for you to view at http://localhost:3000/.
This repository uses GitHub Actions, specifically the action/upload-pages-artifact
, to automatically deploy the website to GitHub Pages whenever updates are pushed to the master branch.
To set up deployment, we followed the Docusaurus-deploying-to-github-pages.
Navigate to Settings -> Pages -> Build and Deployment -> Source -> GitHub Actions. Here you can check the workflow run details.
- All documentations markdown files are under the folder of
/docs
(more details: docusaurus-Docs) - All blog markdown files are udner the folder of
/blog
(more details: docusaurus-Blog) docusaurus.config.tc
file contains key configurations for your Docusaurus site and is located in the root directory. This file allows you to customize various aspects of your site, including icons, navigation bar, website name, URL, github link, theme and footer.