Skip to content

PDC-support/PDC-support-web

Repository files navigation

NAISS support documentation

Support documentation for NAISS. These pages are written using Hugo, with the exception of the support/software pages which are written in mkDocs. Both tools however enable to publish material in MarkDown.

Installation and using mkDocs

  1. Find instructions at https://www.mkdocs.org/getting-started/
  2. You need some extra extensions to render these documents
    1. In order to install attr_list, adminition and superfences pip install mkdocs-material

Installation and using Hugo

Hugo is a software for creating static webpages in markdown.

  1. Find instructions for installing hugo at https://gohugo.io/installation/

Published material

The published webpages reside on different location depending if you are changing the support documentation or that main website.

Main website

The primary document is available in web/config.yaml whereas all the markdown file are found in web/content

Support documentation

The primary document is available in support-docs/mkdocs.yaml whereas all the markdown file are found in support-docs/docs

Software documentation

The primary document is available in software-docs/mkdocs.yaml whereas all the markdown file are found in software-docs/docs Also there is a file called software-docs/clusters.yaml which directs what softwares will be published by pointing out active clusters, and their os.

Files for software

Files for different software should be stored under software/[software name]

  1. general.md Contains general information about the software and a section on how to use the software on clusters
  2. versions.yaml A YAML file containing information about at which clusters the software is installed and what versions are installed
  3. keywords.yaml A YAML file containing information about what keywords could be associated with the software

build site

To create material for both hugo and mkdocs just make build which will create a web/public folder with all html files for both hugo and mkdocs. This folder can the be moved to the actual site.

Running site locally

In order to start mkdocs and Hugo at the local computer use make serve from top level folder and navigate to https://127.0.0.1:1313

Running mkdocs locally

You can also just run and test the mkdocs documentation but using mkdocs build -f [support/software]-docs/mkdocs.yml and navigate to http://127.0.0.1:8000/

publish site

In order to publish these documents to the official PDC webportal you need to have those specific access rights to KTH ITA. Publishing is achieve by running command make public

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published