eclipsefdn-hugo-solstice-theme 0.0.176 → 0.0.177

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ ---
2
+ title: Adopters
3
+ description: Adopters component
4
+ ---
5
+
6
+ Renders a list of projects and their adopters.
7
+
8
+ ```md
9
+ {{</* eclipsefdn_adopters */>}}
10
+ ```
11
+
12
+ {{< eclipsefdn_adopters >}}
13
+
14
+ ## Parameters
15
+
16
+ ### List projects and adopters for a specific working group
17
+
18
+ The `working_group` parameter allows you to specify a working group.
19
+
20
+ #### Examples
@@ -2,7 +2,12 @@
2
2
  title: "ECD Tools Project Adopters"
3
3
  date: 2019-09-10T15:50:25-04:00
4
4
  hide_sidebar: true
5
- author: "Peter Test"
6
5
  ---
7
6
 
7
+ Displays projects and adopters for the ECDTools working group.
8
+
9
+ ```md
10
+ {{</* eclipsefdn_adopters working_group="cloud-development-tools" */>}}
11
+ ```
12
+
8
13
  {{< eclipsefdn_adopters working_group="cloud-development-tools" >}}
@@ -2,8 +2,12 @@
2
2
  title: "IoT Project Adopters"
3
3
  date: 2019-09-10T15:50:25-04:00
4
4
  hide_sidebar: true
5
- author: "Peter Test"
6
- email: "peter@demo.com"
7
5
  ---
8
6
 
7
+ Displays projects and adopters for the Eclipse IoT working group.
8
+
9
+ ```md
10
+ {{</* eclipsefdn_adopters working_group="internet-things-iot" */>}}
11
+ ```
12
+
9
13
  {{< eclipsefdn_adopters working_group="internet-things-iot" >}}
@@ -31,18 +31,6 @@
31
31
  })(jQuery, document);
32
32
  </script>
33
33
 
34
- <script>
35
- (function (eclipseFdnAdopters) {
36
- if (typeof eclipsefdn_adopters_configs !== 'undefined') {
37
- eclipseFdnAdopters.getWGList({
38
- src_root: 'https://api.eclipse.org/adopters',
39
- working_group: eclipsefdn_adopters_configs.working_group,
40
- ul_classes: eclipsefdn_adopters_configs.ul_classes,
41
- });
42
- }
43
- })(eclipseFdnAdopters);
44
- </script>
45
-
46
34
  {{ if eq (.Page.Scratch.Get "is_using_twitter") "true" }}
47
35
  <script src="https://platform.twitter.com/widgets.js" async></script>
48
36
  {{ end }}
@@ -8,15 +8,7 @@
8
8
 
9
9
  SPDX-License-Identifier: EPL-2.0
10
10
  -->
11
- {{ $container_id := .Get "container_id" | default "" }}
12
- {{ $class := .Get "class" | default "eclipsefdn-adopters" }}
13
11
  {{ $working_group := .Get "working_group" | default "" }}
14
- {{ $ul_classes := .Get "ul_classes" | default "text-center list-inline" }}
12
+ {{ $class := .Get "class" | default "" }}
15
13
 
16
- <div id="{{ $container_id }}" class="{{ $class }}"></div>
17
- <script>
18
- var eclipsefdn_adopters_configs = {
19
- working_group: "{{ $working_group }}",
20
- ul_classes: "{{ $ul_classes }}"
21
- }
22
- </script>
14
+ <div class="eclipsefdn-adopters {{ $class }}" data-working-group="{{ $working_group }}"></div>
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "main": "webpack.min.js",
5
5
  "author": "Christopher Guindon",
6
6
  "license": "EPL-2.0",
7
- "version": "0.0.176",
7
+ "version": "0.0.177",
8
8
  "bugs": {
9
9
  "url": "https://gitlab.eclipse.org/eclipsefdn/it/webdev/hugo-solstice-theme/-/issues"
10
10
  },
package/Makefile.win DELETED
@@ -1,11 +0,0 @@
1
- install:; yarn install --frozen-lockfile
2
- build: install; yarn run build
3
- run: build; hugo server -s exampleSite --themesDir=../..
4
- clean:;
5
- rmdir node_modules
6
- rm yarn.lock
7
- release: clean;
8
- yarn
9
- yarn run production
10
- git add .
11
- git commit -m "prepare new release" -s