@@ -10,21 +10,21 @@ Based on this site generator it is easy for everybody to include some new inform
1010
1111## How to add a new example to the website?
1212
13- Examples are collected in the file ` <source_dir>/_data/examples.json ` . Each example is an entry in the dictionary, which has the following shape
13+ Examples are collected in the file ` <source_dir>/_data/examples.json ` . Each example is an entry in the dictionary, which has the following shape
1414
1515``` json
16- {
17- "title" : " Here comes the title" ,
18- "image" : {
19- "url" : " /images/capabilities/<image-name>" ,
20- "width" : 400 ,
21- "height" : " auto"
22- },
23- "featured" : false ,
24- "description" : " Here an explanatory sentence about the project should be given" ,
25- "link" : " <url_pointing_to_more_information.html" ,
26- "author" : " N. N."
27- }
16+ {
17+ "title" : " Here comes the title" ,
18+ "image" : {
19+ "url" : " /images/capabilities/<image-name>" ,
20+ "width" : 400 ,
21+ "height" : " auto"
22+ },
23+ "featured" : false ,
24+ "description" : " Here an explanatory sentence about the project should be given" ,
25+ "link" : " <url_pointing_to_more_information.html" ,
26+ "author" : " N. N."
27+ }
2828```
2929
3030The ` featured ` flag may be set to true if the examples should be shown on the home page.
@@ -66,15 +66,15 @@ To propose a change to the website, follow these steps:
6666
67671 . Open an issue to announce and discuss upcoming changes (optional, but recommended).
68681 . Fork and clone the repository.
69+ 1 . Run ` ./<source_dir>/set_up_dev_env.sh ` to set up the development environment and pre-commit hooks.
69701 . Create a feature branch, where you will make any change.
70711 . To inspect your changes, navigate into the website source code directory and
71- 1 . for setup: run ` bundle install `
72- ** Remark:** You might set the a path to not install the dependencies into the system installation: ` bundle install --path vendor/bundle `
73- 1 . run ` bundle exec jekyll serve ` from the terminal and follow the instructions there.
72+ 1 . for setup: run ` bundle install `
73+ ** Remark:** You might set the a path to not install the dependencies into the system installation: ` bundle install --path vendor/bundle `
74+ 1 . run ` bundle exec jekyll serve ` from the terminal and follow the instructions there.
74751 . Commit changes. Push the branch to your fork on GitHub.
75761 . Open a pull request.
7677
7778> Note: You might want to do a quick internet search for more details on ` jekyll ` , in case that these instructions are not sufficient.
7879
79- Since this website represents 4C publicly,
80- merging of PRs (i.e. actually publishing changes) always requires another set of eyes.
80+ Since this website represents 4C publicly, merging of PRs (i.e. actually publishing changes) always requires another set of eyes.
0 commit comments