Skip to content

nmshd/documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

documentation

This is the source code of the enmeshed documentation hosted at enmeshed.eu.

Purpose of this documentation

This documentation is meant as an overarching documentation for the whole enmeshed open source project. It describes overarching concepts whereas the individual repositories provide technical documentation for the respective source code or functionality.

Documentation guidelines

  • So far, English only
  • Keep it simple
  • Think about the audience
  • Links to other pages of the documentation are rendered using jekyll's liquid: {% link {path_to_file} %}#{fragment_identifier}

Contribute to the documentation

The documentation itself uses GitHub pages and thus jekyll as the technical framework.
The preferred way of setting up a local "instance" of the environment is via a so-called "Development Container" in VS Code:

VSCode JavaScript

Install:

Then in VS Code, clone the repository with the command Dev Containers: Clone Repository in Container Volume...

This will

  • Clone the Repository in a Container Volume
  • Build the Docker Image
  • Start the Docker Container and map the required ports
  • Mount the created Container Volume
  • Install the required npm packages
  • Install the required ruby gems

Finally, open the Terminal in VS Code (it is attached to the running Development Container), and start the "instance":

bundle exec jekyll serve --livereload

Alternatively, you can use the predefined VS Code Tasks

  • Serve → see above
  • Build → build the jekyll site

update dependencies

You can update dependencies using the command bundle update.

regenerate diagrams

execute

java -jar puml.jar _docs_integrate/diagrams/*.pu -o "$PWD/assets/diagrams/integrate"

regenerate header

  1. add excel file to root directory
  2. execute script
npx ts-node scripts/update.ts