Skip to content

Commit c3ee2fb

Browse files
VanshajPooniarohan-pandeyycoderabbitai[bot]
authored
Fix markdown linting issues and add CI check (#1266)
* Fix markdown linting issues and add CI check * Relocate markdownlint configuration file and update workflow to use it * Apply suggestions from code review Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> * Fix linting issues --------- Co-authored-by: ROHAN PANDEY <95585299+rohan-pandeyy@users.noreply.github.com> Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent 23ddb1f commit c3ee2fb

19 files changed

Lines changed: 183 additions & 125 deletions

File tree

.github/.markdownlint-cli2.jsonc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"config": {
3+
"MD013": false,
4+
"MD024": {
5+
"siblings_only": true
6+
}
7+
},
8+
"globs": [
9+
"**/*.md",
10+
"!**/node_modules/**",
11+
"!**/target/**",
12+
"!**/venv/**",
13+
"!**/.venv/**",
14+
"!LICENSE.md"
15+
]
16+
}

.github/workflows/pr-check-tests.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,11 @@ jobs:
1313
- name: Checkout Code
1414
uses: actions/checkout@v3
1515

16+
- name: Markdown lint
17+
uses: DavidAnson/markdownlint-cli2-action@v23
18+
with:
19+
config: .github/.markdownlint-cli2.jsonc
20+
1621
- name: Set up Node.js
1722
uses: actions/setup-node@v3
1823
with:
@@ -87,4 +92,3 @@ jobs:
8792
run: |
8893
cd backend
8994
pytest
90-

CODE_OF_CONDUCT.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ representative at an online or offline event.
6060

6161
Instances of abusive, harassing, or otherwise unacceptable behavior may be
6262
reported to the community leaders responsible for enforcement at
63-
aossie.oss@gmail.com.
63+
<aossie.oss@gmail.com>.
6464
All complaints will be reviewed and investigated promptly and fairly.
6565

6666
All community leaders are obligated to respect the privacy and security of the
@@ -116,13 +116,13 @@ the community.
116116

117117
This Code of Conduct is adapted from the [Contributor Covenant][homepage],
118118
version 2.0, available at
119-
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
119+
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.
120120

121121
Community Impact Guidelines were inspired by [Mozilla's code of conduct
122122
enforcement ladder](https://github.com/mozilla/diversity).
123123

124124
[homepage]: https://www.contributor-covenant.org
125125

126126
For answers to common questions about this code of conduct, see the FAQ at
127-
https://www.contributor-covenant.org/faq. Translations are available at
128-
https://www.contributor-covenant.org/translations.
127+
<https://www.contributor-covenant.org/faq>. Translations are available at
128+
<https://www.contributor-covenant.org/translations>.

CONTRIBUTING.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Hi there! Thank you for considering contributing to **PictoPy** – we’re exci
44

55
NOTE: Please do not open a PR for the issue which is not yet reviewed and labelled by the maintainer. Wait for the maintainer to give a green light.
66

7-
# Setting Up the Project
7+
## Setting Up the Project
88

99
## Setup
1010

@@ -20,40 +20,40 @@ To set up and run the docs website on your local machine:
2020
1. Ensure you have **Python 3** and **pip** installed. Navigate to the `/docs` folder.
2121
2. Create a virtual environment:
2222

23-
```bash
24-
python -m venv .docs-env
25-
```
23+
```bash
24+
python -m venv .docs-env
25+
```
2626

2727
3. Activate the virtual environment:
2828

29-
```bash
30-
# On macOS/Linux:
31-
source .docs-env/bin/activate
32-
# On Windows:
33-
.docs-env\Scripts\activate
34-
```
29+
```bash
30+
# On macOS/Linux:
31+
source .docs-env/bin/activate
32+
# On Windows:
33+
.docs-env\Scripts\activate
34+
```
3535

3636
4. Install the required Python packages:
3737

38-
```bash
39-
pip install -r requirements.txt
40-
```
38+
```bash
39+
pip install -r requirements.txt
40+
```
4141

4242
5. Start the local MkDocs server:
4343

44-
```bash
45-
mkdocs serve -f ../mkdocs.yml
46-
```
44+
```bash
45+
mkdocs serve -f ../mkdocs.yml
46+
```
4747

48-
6. Open your browser and navigate to: http://127.0.0.1:8000.
48+
6. Open your browser and navigate to: <http://127.0.0.1:8000>.
4949

5050
7. Edit Markdown files inside the `docs/` folder. The site will automatically reload when changes are saved.
5151

5252
8. To build the static site for production deployment, run:
5353

54-
```bash
55-
mkdocs build -f ../mkdocs.yml
56-
```
54+
```bash
55+
mkdocs build -f ../mkdocs.yml
56+
```
5757

5858
## Testing
5959

@@ -67,10 +67,12 @@ npm test
6767
### Backend
6868

6969
- FastAPI
70+
7071
```bash
7172
cd backend
7273
pytest
7374
```
75+
7476
- Tauri
7577

7678
```bash

COPYRIGHT.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
1-
Copyright © 2026 AOSSIE <br />
1+
# Copyright Notice
2+
3+
Copyright © 2026 AOSSIE
24
All rights reserved.
35

4-
All works in this repository may be used according to the conditions
6+
All works in this repository may be used according to the conditions
57
stated in the LICENSE.md file available in this repository.
68

79
These works are WITHOUT ANY WARRANTY, without even the implied warranty of

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- markdownlint-disable MD033 MD041 -->
12
<!-- Don't delete it -->
23
<div name="readme-top"></div>
34

@@ -42,16 +43,19 @@ Find out more at [https://pictopy.aossie.org/](https://pictopy.aossie.org/).
4243

4344
## Features
4445

45-
**AI-powered**
46+
### AI-powered
47+
4648
* Smart tagging based on detected faces and objects
4749
* Advanced image analysis with object detection and facial recognition
4850
* Smart search and retrieval
4951

50-
**Gallery management**
52+
### Gallery management
53+
5154
* Album management with traditional gallery features
5255
* Cross-platform compatibility
5356

54-
**Privacy & performance**
57+
### Privacy & performance
58+
5559
* Privacy-focused design with fully offline functionality
5660
* Efficient data handling and parallel processing
5761

@@ -94,7 +98,7 @@ Find out more at [https://pictopy.aossie.org/](https://pictopy.aossie.org/).
9498

9599
## Want to Contribute?
96100

97-
<a href="https://discord.gg/hjUhu33uAn"><img src="https://img.shields.io/discord/1022871757289422898?style=flat&logo=discord&logoColor=white&logoSize=auto&label=Discord&labelColor=5865F2&color=57F287" height="30"></a>
101+
<a href="https://discord.gg/hjUhu33uAn"><img src="https://img.shields.io/discord/1022871757289422898?style=flat&logo=discord&logoColor=white&logoSize=auto&label=Discord&labelColor=5865F2&color=57F287" alt="Discord" height="30"></a>
98102

99103
1. First, join the **[Discord Server](https://discord.gg/hjUhu33uAn) (Go to Projects->PictoPy)** to chat with everyone.
100104
2. For detailed setup instructions, coding guidelines, and the contribution process, please check out our [CONTRIBUTING.md](./CONTRIBUTING.md) file.
@@ -103,7 +107,6 @@ Don't forget to star this repository if you find it useful! ⭐
103107

104108
Our Code of Conduct: [CODE_OF_CONDUCT.md](./CODE_OF_CONDUCT.md)
105109

106-
107110
## License
108111

109112
This project is licensed under the GNU General Public License v3.0.
@@ -115,4 +118,4 @@ Thanks a lot for spending your time helping TODO grow. Keep rocking 🥂
115118

116119
[![Contributors](https://contrib.rocks/image?repo=AOSSIE-Org/PictoPy)](https://github.com/AOSSIE-Org/PictoPy/graphs/contributors)
117120

118-
© 2026 AOSSIE
121+
© 2026 AOSSIE

backend/dist/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
## Do not delete the "dist" folder.
1+
# Do not delete the "dist" folder
22

33
This folder is essential for the development environment to start.

0 commit comments

Comments
 (0)