Skip to content

Commit 11490ca

Browse files
authored
docs: fix documentation (#45)
* docs: fix documentation * docs: readme indentation
1 parent 66f8d18 commit 11490ca

File tree

9 files changed

+30
-19
lines changed

9 files changed

+30
-19
lines changed

.github/ISSUE_TEMPLATE/02-feature_request.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
name: Feature request
22
description: Request a new feature
3-
labels: [enhancement request]
3+
labels: [enhancement]
44
body:
55
- type: markdown
66
attributes:
77
value: |
88
Thank you for submitting an idea !
99
- type: dropdown
10-
id: application_or_command
10+
id: command
1111
attributes:
1212
label: Which command is this feature request for?
1313
options:

.github/labeler.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,3 +27,9 @@ command:start:
2727
- any-glob-to-any-file:
2828
- src/command/commands/start.ts
2929
- src/action/actions/start.ts
30+
31+
documentation:
32+
- changed-files:
33+
- any-glob-to-any-file:
34+
- docs/*
35+
- docs/**/*

.github/workflows/push-docs.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
1-
name: synchronize-docs
1+
name: Synchronize Docs
22

33
on:
44
push:
55
branches:
66
- main
7+
paths:
8+
- "docs/**"
79
workflow_dispatch:
810

911
jobs:

README.md

Lines changed: 14 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
<div align="center">
2-
<br />
3-
<p>
4-
<a href="https://github.com/NanoForge-dev"><img src="https://github.com/NanoForge-dev/CLI/blob/main/.github/logo.png" width="546" alt="NanoForge" /></a>
5-
</p>
6-
<br />
7-
<p>
8-
<a href="https://github.com/NanoForge-dev/CLI/actions"><img src="https://github.com/NanoForge-dev/CLI/actions/workflows/tests.yml/badge.svg" alt="Tests status" /></a>
9-
<a href="https://github.com/NanoForge-dev/CLI/commits/main"><img src="https://img.shields.io/github/last-commit/NanoForge-dev/CLI.svg?logo=github&logoColor=ffffff" alt="Last commit." /></a>
10-
<a href="https://github.com/NanoForge-dev/CLI/graphs/contributors"><img src="https://img.shields.io/github/contributors/NanoForge-dev/CLI.svg?maxAge=3600&logo=github&logoColor=fff&color=00c7be" alt="contributors" /></a>
11-
<a href="https://github.com/NanoForge-dev/docs/actions/workflows/deploy.yml"><img src="https://github.com/NanoForge-dev/docs/actions/workflows/deploy.yml/badge.svg" alt="Documentation status" /></a>
12-
</p>
2+
<br />
3+
<p>
4+
<a href="https://github.com/NanoForge-dev"><img src="https://github.com/NanoForge-dev/CLI/blob/main/.github/logo.png" width="546" alt="NanoForge" /></a>
5+
</p>
6+
<br />
7+
<p>
8+
<a href="https://www.npmjs.com/package/@nanoforge-dev/cli"><img src="https://img.shields.io/npm/v/@nanoforge-dev/cli.svg?maxAge=3600" alt="npm version" /></a>
9+
<a href="https://www.npmjs.com/package/@nanoforge-dev/cli"><img src="https://img.shields.io/npm/dt/@nanoforge-dev/cli.svg?maxAge=3600" alt="npm downloads" /></a>
10+
<a href="https://github.com/NanoForge-dev/CLI/actions/workflows/tests.yml"><img src="https://github.com/NanoForge-dev/CLI/actions/workflows/tests.yml/badge.svg" alt="Tests status" /></a>
11+
<a href="https://github.com/NanoForge-dev/CLI/actions/workflows/push-docs.yml"><img src="https://github.com/NanoForge-dev/CLI/actions/workflows/push-docs.yml/badge.svg" alt="Documentation status" /></a>
12+
<a href="https://github.com/NanoForge-dev/CLI/commits/main"><img src="https://img.shields.io/github/last-commit/NanoForge-dev/CLI.svg?logo=github&logoColor=ffffff" alt="Last commit" /></a>
13+
<a href="https://github.com/NanoForge-dev/CLI/graphs/contributors"><img src="https://img.shields.io/github/contributors/NanoForge-dev/CLI.svg?maxAge=3600&logo=github&logoColor=fff&color=00c7be" alt="Contributors" /></a>
14+
</p>
1315
</div>
1416

1517
## About
@@ -31,6 +33,7 @@ And then create a new project :
3133
```bash
3234
nf new
3335
```
36+
3437
## Documentation
3538

3639
The documentation for nanoforge cli can be found at : [https://nanoforge-dev.github.io/docs/cli](https://nanoforge-dev.github.io/docs/cli)

docs/build-config.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"outDir": {
1212
"type": "string",
1313
"description": "the directory where to put the built files"
14-
},
14+
}
1515
},
1616
"required": ["entryFile", "outDir"]
1717
}

docs/client-config.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"build": {
1515
"$ref": "https://nanoforge-dev.github.io/docs/cli/build-config.schema.json"
16-
},
16+
},
1717
"runtime": {
1818
"$ref": "https://nanoforge-dev.github.io/docs/cli/run-config.schema.json"
1919
}

docs/config.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
},
1717
"client": {
1818
"$ref": "https://nanoforge-dev.github.io/docs/cli/client-config.schema.json"
19-
},
19+
},
2020
"server": {
2121
"$ref": "https://nanoforge-dev.github.io/docs/cli/server-config.schema.json"
2222
}

docs/run-config.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"dir": {
88
"type": "string",
99
"description": "the directory to use"
10-
},
10+
}
1111
},
1212
"required": ["dir"]
1313
}

docs/server-config.schema.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
},
1414
"build": {
1515
"$ref": "https://nanoforge-dev.github.io/docs/cli/build-config.schema.json"
16-
},
16+
},
1717
"runtime": {
1818
"$ref": "https://nanoforge-dev.github.io/docs/cli/run-config.schema.json"
1919
}

0 commit comments

Comments
 (0)