@hestia-earth/guide 0.0.7 → 0.0.9

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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,15 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
+ ### [0.0.9](https://gitlab.com/hestia-earth/hestia-guide/compare/v0.0.8...v0.0.9) (2024-10-30)
6
+
7
+
8
+ ### Features
9
+
10
+ * start with header level 2 ([954721f](https://gitlab.com/hestia-earth/hestia-guide/commit/954721f1437679e110a8da7c0d6fff2539b91519))
11
+
12
+ ### [0.0.8](https://gitlab.com/hestia-earth/hestia-guide/compare/v0.0.7...v0.0.8) (2024-10-30)
13
+
5
14
  ### [0.0.7](https://gitlab.com/hestia-earth/hestia-guide/compare/v0.0.6...v0.0.7) (2024-10-29)
6
15
 
7
16
  ### [0.0.6](https://gitlab.com/hestia-earth/hestia-guide/compare/v0.0.5...v0.0.6) (2024-10-29)
package/README.md CHANGED
@@ -13,14 +13,14 @@ Note: only lower chars, dashes (`-`) and numbers are allowed in the filenames.
13
13
  ## Writing Guidelines
14
14
 
15
15
  1. Create a new file under `src/content` and make sure the filename only uses lowercase letters, numbers and dashes.
16
- 1. Start the file with a header level 1 using a single `#`. Example:
16
+ 1. Start the file with a header level 2 using a double `##`. Example:
17
17
 
18
18
  ```markdown
19
- # This is the header
19
+ ## This is the header
20
20
 
21
21
  This is the content.
22
22
 
23
- ## This is a sub-header
23
+ ### This is a sub-header
24
24
  ```
25
25
 
26
26
  The header level 1 will be automatically used as Title for the Guide page, so please try to keep it short.
@@ -1,3 +1,3 @@
1
1
  {
2
- "content": "# HESTIA 101"
2
+ "content": "## HESTIA 101"
3
3
  }
@@ -1,33 +1,33 @@
1
1
  {
2
- "pages": {
3
- "hestia-101": {
2
+ "pages": [
3
+ {
4
4
  "content": {
5
5
  "id": "hestia-101",
6
6
  "mdPath": "hestia-101/content.md",
7
7
  "jsonPath": "hestia-101/content.json",
8
- "title": "HESTIA 101",
9
- "createdAt": "2024-10-29T07:59:37.000Z",
10
- "updatedAt": "2024-10-29T07:59:37.000Z"
8
+ "title": "#HESTIA 101",
9
+ "createdAt": "2024-10-29T09:33:08.000Z",
10
+ "updatedAt": "2024-10-30T08:23:25.000Z"
11
11
  }
12
12
  },
13
- "models": {
13
+ {
14
14
  "content": {
15
15
  "id": "models",
16
16
  "mdPath": "models/content.md",
17
17
  "jsonPath": "models/content.json",
18
- "title": "Applying Models",
19
- "createdAt": "2024-10-29T07:59:37.000Z",
20
- "updatedAt": "2024-10-29T07:59:37.000Z"
18
+ "title": "#Applying Models",
19
+ "createdAt": "2024-10-29T09:33:08.000Z",
20
+ "updatedAt": "2024-10-30T08:23:25.000Z"
21
21
  },
22
- "pages": {
23
- "models-introduction": {
22
+ "pages": [
23
+ {
24
24
  "content": {
25
25
  "id": "models-introduction",
26
26
  "mdPath": "models/introduction.md",
27
27
  "jsonPath": "models/introduction.json",
28
- "title": "Introduction",
29
- "createdAt": "2024-10-29T07:59:37.000Z",
30
- "updatedAt": "2024-10-29T07:59:37.000Z",
28
+ "title": "#Introduction",
29
+ "createdAt": "2024-10-29T09:33:08.000Z",
30
+ "updatedAt": "2024-10-30T08:23:25.000Z",
31
31
  "tags": {
32
32
  "next": [
33
33
  "documentation"
@@ -35,14 +35,14 @@
35
35
  }
36
36
  }
37
37
  },
38
- "models-documentation": {
38
+ {
39
39
  "content": {
40
40
  "id": "models-documentation",
41
41
  "mdPath": "models/documentation.md",
42
42
  "jsonPath": "models/documentation.json",
43
- "title": "Documentation",
44
- "createdAt": "2024-10-29T07:59:37.000Z",
45
- "updatedAt": "2024-10-29T07:59:37.000Z",
43
+ "title": "#Documentation",
44
+ "createdAt": "2024-10-29T09:33:08.000Z",
45
+ "updatedAt": "2024-10-30T08:23:25.000Z",
46
46
  "tags": {
47
47
  "previous": [
48
48
  "introduction"
@@ -53,14 +53,14 @@
53
53
  }
54
54
  }
55
55
  },
56
- "models-contributing": {
56
+ {
57
57
  "content": {
58
58
  "id": "models-contributing",
59
59
  "mdPath": "models/contributing.md",
60
60
  "jsonPath": "models/contributing.json",
61
- "title": "Contributing",
62
- "createdAt": "2024-10-29T07:59:37.000Z",
63
- "updatedAt": "2024-10-29T07:59:37.000Z",
61
+ "title": "#Contributing",
62
+ "createdAt": "2024-10-29T09:33:08.000Z",
63
+ "updatedAt": "2024-10-30T08:23:25.000Z",
64
64
  "tags": {
65
65
  "previous": [
66
66
  "documentation"
@@ -68,17 +68,17 @@
68
68
  }
69
69
  }
70
70
  },
71
- "models-faq": {
71
+ {
72
72
  "content": {
73
73
  "id": "models-faq",
74
74
  "mdPath": "models/faq.md",
75
75
  "jsonPath": "models/faq.json",
76
- "title": "FAQ",
77
- "createdAt": "2024-10-29T07:59:37.000Z",
78
- "updatedAt": "2024-10-29T07:59:37.000Z"
76
+ "title": "#FAQ",
77
+ "createdAt": "2024-10-29T09:33:08.000Z",
78
+ "updatedAt": "2024-10-30T08:23:25.000Z"
79
79
  }
80
80
  }
81
- }
81
+ ]
82
82
  }
83
- }
83
+ ]
84
84
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "content": "# Applying Models"
2
+ "content": "## Applying Models"
3
3
  }
@@ -4,5 +4,5 @@
4
4
  "documentation"
5
5
  ]
6
6
  },
7
- "content": "# Contributing\n\n"
7
+ "content": "## Contributing\n\n"
8
8
  }
@@ -7,5 +7,5 @@
7
7
  "contributing"
8
8
  ]
9
9
  },
10
- "content": "# Documentation\n\n\n"
10
+ "content": "## Documentation\n\n\n"
11
11
  }
@@ -1,3 +1,3 @@
1
1
  {
2
- "content": "# FAQ"
2
+ "content": "## FAQ"
3
3
  }
@@ -4,5 +4,5 @@
4
4
  "documentation"
5
5
  ]
6
6
  },
7
- "content": "# Introduction\n\n"
7
+ "content": "## Introduction\n\n"
8
8
  }
package/dist/index.d.ts CHANGED
@@ -7,12 +7,9 @@ export interface IGuideIndexPageContent {
7
7
  updatedAt?: string;
8
8
  tags?: Record<string, string[]>;
9
9
  }
10
- type guidePages = {
11
- [url: string]: IGuideIndexPage;
12
- };
13
10
  export interface IGuideIndexPage {
14
11
  content?: IGuideIndexPageContent;
15
- pages?: guidePages;
12
+ pages?: IGuideIndexPage[];
16
13
  }
17
14
  export declare const loadIndex: () => IGuideIndexPage;
18
15
  export declare const listPages: () => IGuideIndexPageContent[];
@@ -22,4 +19,3 @@ export interface IGuidePageContent {
22
19
  tags?: Record<string, string[]>;
23
20
  }
24
21
  export declare const loadPage: ({ jsonPath }: IGuideIndexPageContent) => IGuidePageContent;
25
- export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hestia-earth/guide",
3
- "version": "0.0.7",
3
+ "version": "0.0.9",
4
4
  "description": "Hestia Guide pages",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",