First off, thank you for considering contributing to PomoBar! It’s people like you that make the open-source community such a great place. We welcome any and all contributions, from bug reports to feature requests and code changes.
-
Fork and Clone: Fork the repository on GitHub, then clone it locally:
git clone https://github.com/semanticdata/obsidian-pomodoro.git cd obsidian-pomodoro -
Install Dependencies:
pnpm install
-
Start the Dev Server:
pnpm dev
-
Test in Obsidian:
- Copy or symlink this project folder to your Obsidian vault's
.obsidian/plugins/directory. - Reload Obsidian and enable the plugin.
- Copy or symlink this project folder to your Obsidian vault's
pnpm dev: Watch for changes and rebuild the plugin automatically.pnpm build: Create a production-ready build.pnpm lint: Check for code style issues.pnpm test: Run the test suite.
The project documentation can be found under the docs/ directory. It is built using MkDocs and Material for MkDocs. To work on the documentation, you'll need a Python environment and uv.
-
Install
uv: If you don't have it already, installuv:pip install uv
-
Sync the Development Environment: This command will create a virtual environment (if it doesn't exist) and install the dependencies from
pyproject.toml:uv sync
-
Run the Docs Server: Use
uv runto executemkdocswithin the managed environment:uv run mkdocs serve
You can now view the live-reloading documentation site at
http://127.0.0.1:8000. -
Build the Documentation: To generate the static site, use the
buildcommand:uv run mkdocs build
-
Create a Branch:
git checkout -b feature/your-awesome-feature
-
Make Your Changes:
- Ensure your code follows the existing style.
- Add tests for any new functionality.
- Update documentation if you are changing behavior.
-
Commit Your Work:
- Use clear and descriptive commit messages.
-
Create a Pull Request:
- Push your branch to your fork and open a pull request.
- Provide a detailed description of your changes and link any relevant issues.
Thank you for your contribution!