π€ Contributing
We welcome contributions to the Lightweight Secure TCP project!
Whether it's a bug fix, new feature, test improvement, or documentation update, your help is appreciated.
π§° How to Contributeβ
-
Fork the Repository
Go to GitHub and click the Fork button.
-
Clone Your Fork
git clone https://github.com/YOUR_USERNAME/lightweight-secure-tcp.git
cd lightweight-secure-tcp -
Create a New Branch
git checkout -b your-meaningful-branch-name
-
Make Your Changes
- For core C++ code, edit files under
lib/LightweightSecureTCP/
. - For examples, use the
examples/
directory. - For documentation, update markdown files inside
docusaurus/docs/
.
- For core C++ code, edit files under
-
Build and Test
Use the
test_runner
executable to verify that your changes donβt break existing logic.- The project uses a top-level
CMakeLists.txt
. You can open this file directly in your IDE. - If you're using Qt Creator, simply open the root
CMakeLists.txt
, select a kit, and buildtest_runner
.
You can also add your own test cases inside the
tests/
directory. - The project uses a top-level
-
Build the Documentation (if edited)
cd docusaurus
npm install
npm start
npm run buildMake sure the documentation builds successfully before committing.
-
Commit and Push
git add .
git commit -m "your-clear-and-descriptive-message"
git push origin your-meaningful-branch-name -
Open a Pull Request
Go to your fork and open a PR against the
main
branch of the original repo.
π‘ Tipsβ
- Keep commits focused and atomic.
- Use descriptive PR titles and explanations.
- Test your code before submitting.
Thanks for contributing!