Skip to content

Commit 1e2836d

Browse files
committed
docs: restructure documentation following GitHub standards
- Move changelog to CHANGELOG.md - Move code of conduct to CODE_OF_CONDUCT.md - Move contributing guide to CONTRIBUTING.md - Update README to reference these new files - Add Unreleased section to CHANGELOG
1 parent 9a932fb commit 1e2836d

File tree

5 files changed

+81
-61
lines changed

5 files changed

+81
-61
lines changed

CHANGELOG.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
# Changelog
2+
3+
## Unreleased
4+
5+
### Added
6+
7+
- Test vault for easier development and testing
8+
- Hot-reload plugin to test vault for seamless development
9+
10+
### Changed
11+
12+
- Moved styles to external CSS file
13+
- Restructured documentation into separate files following GitHub standards
14+
15+
### Maintenance
16+
17+
- Added Dependabot configuration for GitHub Actions
18+
- Updated development dependencies:
19+
- TypeScript from 5.7.3 to 5.8.2
20+
- TypeScript ESLint parser from 8.25.0 to 8.26.0
21+
- TypeScript ESLint plugin to 8.26.0
22+
23+
## 1.1.0
24+
25+
- Added folder suggestion for the "Changelog path"
26+
- Added "Excluded folders"
27+
- Added input validation for "Datetime format" and "Max recent files"
28+
29+
## 1.0.0
30+
31+
- Transferred to a new maintainer.
32+
- Fixed file creation bug.
33+
- Improved error messages for file creation failures.
34+
- Added date format customization.
35+
- Refactored code to align with Obsidian community guidelines.
36+
- Updated README with revised installation and usage instructions.
37+
- Added LICENSE file.
38+
39+
## 0.1.0
40+
41+
- Initial release by Badr Bouslikhin.

CODE_OF_CONDUCT.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Code of Conduct
2+
3+
We are all human beings, being human.
4+
Treat each other with respect and decorum.
5+
Assume good intentions.
6+
Practice a **"Yes, and"** worldview.

CONTRIBUTING.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Contributing
2+
3+
💡 Want to improve the plugin? Here's how you can help:
4+
5+
- **Discussions**: [GitHub Discussions](https://github.com/philoserf/obsidian-vault-changelog/discussions)
6+
- **Bug Reports**: [Open an Issue](https://github.com/philoserf/obsidian-vault-changelog/issues)
7+
- **Feature Requests**: [Open a Pull Request](https://github.com/philoserf/obsidian-vault-changelog/pulls)
8+
- **Community**: [Obsidian Forum](https://forum.obsidian.md) | [Obsidian Discord](https://discord.gg/obsidianmd)
9+
10+
## Development
11+
12+
1. Clone this repository `gh repo clone philoserf/obsidian-vault-changelog`.
13+
2. Install dependencies with `npm install`.
14+
3. Build the project with `npm run build`.
15+
16+
### Using the test-vault
17+
18+
The project includes a test-vault for development:
19+
20+
1. Open the test-vault in Obsidian (`File > Open another vault > Open folder as vault` and select the `test-vault` directory)
21+
2. Build the plugin with hot-reload: `npm run dev`
22+
3. Changes will automatically be applied to the plugin in the test-vault
23+
24+
### Manual installation
25+
26+
Alternatively, you can manually install the plugin in your own vault:
27+
28+
1. Copy `manifest.json` and `main.js` into your **Obsidian plugins folder** (`.obsidian/plugins/obsidian-vault-changelog`).
29+
2. Reload Obsidian and enable the plugin.

README.md

Lines changed: 4 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -49,61 +49,8 @@ On behalf of the Obsidian community, we extend our gratitude to Badr for this va
4949
- **Max recent files**: Number of tracked files (`25` by default).
5050
- **Excluded folders**: Folders to exclude from the changelog (empty by default).
5151

52-
## Changelog
52+
## Documentation
5353

54-
### 1.1.0
55-
56-
- Added folder suggestion for the "Changelog path"
57-
- Added "Excluded folders"
58-
- Added input validation for "Datetime format" and "Max recent files"
59-
60-
### 1.0.0
61-
62-
- Transferred to a new maintainer.
63-
- Fixed file creation bug.
64-
- Improved error messages for file creation failures.
65-
- Added date format customization.
66-
- Refactored code to align with Obsidian community guidelines.
67-
- Updated README with revised installation and usage instructions.
68-
- Added LICENSE file.
69-
70-
### 0.1.0
71-
72-
- Initial release by Badr Bouslikhin.
73-
74-
## Code of Conduct
75-
76-
We are all human beings, being human.
77-
Treat each other with respect and decorum.
78-
Assume good intentions.
79-
Practice a **"Yes, and"** worldview.
80-
81-
## Contributing
82-
83-
💡 Want to improve the plugin? Here’s how you can help:
84-
85-
- **Discussions**: [GitHub Discussions](https://github.com/philoserf/obsidian-vault-changelog/discussions)
86-
- **Bug Reports**: [Open an Issue](https://github.com/philoserf/obsidian-vault-changelog/issues)
87-
- **Feature Requests**: [Open a Pull Request](https://github.com/philoserf/obsidian-vault-changelog/pulls)
88-
- **Community**: [Obsidian Forum](https://forum.obsidian.md) | [Obsidian Discord](https://discord.gg/obsidianmd)
89-
90-
## Development
91-
92-
1. Clone this repository `gh repo clone philoserf/obsidian-vault-changelog`.
93-
2. Install dependencies with `npm install`.
94-
3. Build the project with `npm run build`.
95-
96-
### Using the test-vault
97-
98-
The project includes a test-vault for development:
99-
100-
1. Open the test-vault in Obsidian (`File > Open another vault > Open folder as vault` and select the `test-vault` directory)
101-
2. Build the plugin with hot-reload: `npm run dev`
102-
3. Changes will automatically be applied to the plugin in the test-vault
103-
104-
### Manual installation
105-
106-
Alternatively, you can manually install the plugin in your own vault:
107-
108-
1. Copy `manifest.json` and `main.js` into your **Obsidian plugins folder** (`.obsidian/plugins/obsidian-vault-changelog`).
109-
2. Reload Obsidian and enable the plugin.
54+
- [Changelog](CHANGELOG.md)
55+
- [Code of Conduct](CODE_OF_CONDUCT.md)
56+
- [Contributing Guide](CONTRIBUTING.md)
Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
[
2-
"obsidian-vault-changelog",
3-
"hot-reload"
4-
]
1+
["obsidian-vault-changelog", "hot-reload"]

0 commit comments

Comments
 (0)