Skip to content

Commit 462d946

Browse files
committed
Fixed markdown linter findings
1 parent 72a43c6 commit 462d946

File tree

3 files changed

+67
-30
lines changed

3 files changed

+67
-30
lines changed

CONTRIBUTING.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Contributing to vidx2pidx
2+
23
We want to make contributing to this project as easy and transparent as possible, whether it's:
34

45
- Reporting a bug
@@ -7,10 +8,13 @@ We want to make contributing to this project as easy and transparent as possible
78
- Proposing new features
89

910
## We develop with Github
11+
1012
We use Github to host code, track issues and feature requests, as well as accept pull requests.
1113

1214
## We use [Github flow](https://guides.github.com/introduction/flow/index.html), so all code changes happen through Pull Requests
13-
Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html)). We actively welcome your pull requests:
15+
16+
Pull requests are the best way to propose changes to the codebase (we use [Github Flow](https://guides.github.com/introduction/flow/index.html)).
17+
We actively welcome your pull requests:
1418

1519
1. Fork the repo and create your branch from `main`.
1620
2. If you've added code that should be tested, add [tests](https://golang.org/pkg/testing/).
@@ -20,9 +24,11 @@ Pull requests are the best way to propose changes to the codebase (we use [Githu
2024
6. Open a [pull request](https://github.com/Open-CMSIS-Pack/vidx2pidx/pulls)!
2125

2226
## Report bugs using Github's [issues](https://github.com/Open-CMSIS-Pack/vidx2pidx/issues)
27+
2328
We use GitHub issues to track public bugs. Report a bug by [opening a new issue](https://github.com/Open-CMSIS-Pack/vidx2pidx/issues/new).
2429

2530
## Write bug reports with detail, background, and sample code
31+
2632
**Great Bug Reports** tend to have:
2733

2834
- A quick summary and/or background
@@ -34,4 +40,6 @@ We use GitHub issues to track public bugs. Report a bug by [opening a new issue]
3440
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
3541

3642
## Any contributions you make will be under the Apache 2.0 Software License
37-
In short, when you submit code changes, your submissions are understood to be under the same [Apache 2.0 License](https://choosealicense.com/licenses/apache-2.0/) that covers the project. Feel free to contact the maintainers if that's a concern.
43+
44+
In short, when you submit code changes, your submissions are understood to be under the same [Apache 2.0 License](https://choosealicense.com/licenses/apache-2.0/)
45+
that covers the project. Feel free to contact the maintainers if that's a concern.

DEVELOPING.md

Lines changed: 45 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,55 @@
1-
# Developing vidx2pidx
1+
# Developing `vidx2pidx`
22

3-
Follow steps below to start developing for `vidx2pidx`:
4-
1. Requirements:
5-
- [Install Make](https://www.gnu.org/software/make/)
6-
- [Install Golang](https://golang.org/doc/install)
7-
- [Install GolangCI-Lint](https://golangci-lint.run/usage/install/#local-installation)
3+
Follow these steps to set up and start developing for `vidx2pidx`:
84

9-
2. Clone the repo:
10-
`$ git clone https://github.com/open-cmsis-pack/vidx2pidx.git`
5+
## Prerequisites
116

12-
3. Enter the checked source
13-
`cd vidx2pidx`
7+
Ensure you have the following installed:
148

15-
4. Configure your local environment
16-
`make config`
9+
- [GNU Make](https://www.gnu.org/software/make/)
10+
- [Golang](https://golang.org/doc/install)
11+
- [GolangCI-Lint](https://golangci-lint.run/usage/install/#local-installation)
1712

18-
5. Make sure all tests are passing
19-
`make test-all`
13+
## Setup
2014

21-
6. Make sure it builds
22-
`make build/vidx2pidx`
15+
1. Clone the repository:
2316

24-
7. Done! You can now start changing the source code, please refer to [contributing guide](CONTRIBUTING.md) to start contributing to the project
17+
```sh
18+
git clone https://github.com/open-cmsis-pack/vidx2pidx.git
19+
```
2520

26-
# Releasing
21+
2. Navigate into the project directory:
2722

28-
If you have rights to push to the `main` branch of this repo, you might be entitled to
29-
make releases. Do that by running:
30-
`make release`
23+
```sh
24+
cd vidx2pidx
25+
```
3126

32-
*NOTE*: We use [Semantic Versioning](https://semver.org/) for versioning vidx2pidx.
27+
3. Configure your local environment:
28+
29+
```sh
30+
make config
31+
```
32+
33+
4. Run tests to verify everything is working:
34+
35+
```sh
36+
make test-all
37+
```
38+
39+
5. Build the project:
40+
41+
```sh
42+
make build/vidx2pidx
43+
```
44+
45+
6. You're all set! 🎉 Start modifying the source code and refer to the [Contributing Guide](CONTRIBUTING.md) for guidelines on contributing.
46+
47+
## Releasing
48+
49+
If you have push access to the `main` branch, you can create a new release by running:
50+
51+
```sh
52+
make release
53+
```
54+
55+
📌 **Note:** We follow [Semantic Versioning](https://semver.org/) for versioning `vidx2pidx`.

README.md

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,11 @@ and generate a `pidx`-formatted output listing packages.
1515

1616
Just head to the release page and download the binary for your system.
1717

18-
1918
## Usage
19+
2020
- update your `vendor.pidx` file as [documented](https://open-cmsis-pack.github.io/Open-CMSIS-Pack-Spec/main/html/packIndexFile.html#pidxFile)
21-
```
21+
22+
```xml
2223
<?xml version="1.0" encoding="UTF-8" ?>
2324
<index schemaVersion="1.0.0" xs:noNamespaceSchemaLocation="PackIndex.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance">
2425
<vendor>MyVendor</vendor>
@@ -30,8 +31,10 @@ Just head to the release page and download the binary for your system.
3031
</pindex>
3132
</index>
3233
```
33-
- create a vendor index file as [documented]( )
34-
```
34+
35+
- create a vendor index file as documented
36+
37+
```xml
3538
<?xml version="1.0" encoding="UTF-8" ?>
3639
<index schemaVersion="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" xs:noNamespaceSchemaLocation="PackIndex.xsd">
3740
<vendor>MyVendor</vendor>
@@ -43,7 +46,9 @@ Just head to the release page and download the binary for your system.
4346
</vindex>
4447
</index>
4548
```
49+
4650
- invoke `vidx2pidx vendor.vidx`
51+
4752
```bash
4853
$ vidx2pidx <index>.vidx
4954

@@ -58,6 +63,7 @@ Just head to the release page and download the binary for your system.
5863
```
5964

6065
Now the generated `index.pidx` can be used with cpackget to validate that all listed packs can be installed:
61-
- invoke `cpackget init ./index.pidx -R ./pack_root_test` to use the generated index.pidx in pack_root_test/.Web/index.pidx
62-
- invoke `cpackget --public -R /pack_root_test` to list all latest public pack versions
6366

67+
- invoke `cpackget init ./index.pidx -R ./pack_root_test` to use the generated index.pidx in
68+
pack_root_test/.Web/index.pidx
69+
- invoke `cpackget --public -R /pack_root_test` to list all latest public pack versions

0 commit comments

Comments
 (0)