This project maintains user documentation in the GitHub Wiki at https://github.com/hmislk/hmis/wiki. The wiki is managed as a separate git repository in a sibling directory alongside the main project.
🚨 NO WIKI FILES IN MAIN PROJECT: Do NOT create wiki markdown files inside the main project repository (e.g., no wiki-docs/ folder). This causes git submodule issues. All wiki content lives exclusively in the sibling ../hmis.wiki directory.
🚨 IMMEDIATE PUBLICATION: When creating user documentation, ALWAYS publish to GitHub Wiki immediately - don't wait for PR merge.
📝 GUIDELINES: Follow the Wiki Writing Guidelines
D:\Dev\hmis\
├── hmis\ ← Main project repository (NO wiki files here)
│ ├── src\
│ ├── developer_docs\
│ ├── CLAUDE.md
│ └── ...
└── hmis.wiki\ ← Wiki repository (sibling directory)
├── Home.md
├── Pharmacy\
│ ├── Pharmacy-Retail-Sale.md
│ └── ...
├── Developer\
│ ├── Claude-Code-Skills-Guide.md
│ └── ...
├── Lab\
├── OPD\
└── ...
Clone the wiki repository as a sibling directory to the main project:
# From the parent directory (e.g., D:\Dev\hmis\)
cd ..
git clone https://github.com/hmislk/hmis.wiki.git
cd hmiscd ../hmis.wiki
git pull origin masterCreate or edit markdown files directly in the sibling ../hmis.wiki directory:
# Example: Create a new pharmacy feature page
# Edit directly in ../hmis.wiki/Pharmacy/Feature-Name.mdOrganize files by module:
Pharmacy/- Pharmacy module documentationLab/- Laboratory module documentationOPD/- Outpatient department documentationDeveloper/- Developer-facing documentationAdministration/- Admin and configuration guides- Root level - General pages (Home.md, etc.)
Follow the Wiki Writing Guidelines:
- Write for end users (pharmacy staff, nurses, doctors, administrators)
- Use step-by-step instructions with numbered steps
- Bold all UI elements (Pharmacy > Reports)
- No code snippets or technical implementation details
cd ../hmis.wiki
git add .
git commit -m "Add [Feature Name] user documentation
Co-Authored-By: Claude <noreply@anthropic.com>"
git push origin masterAfter publishing, verify your documentation is live:
- Wiki URL:
https://github.com/hmislk/hmis/wiki/[Page-Name] - File name becomes page name (dashes become spaces)
- Example:
Stock-Ledger-Report.md-> https://github.com/hmislk/hmis/wiki/Stock-Ledger-Report
- Use descriptive kebab-case names:
Stock-Ledger-Report.md - Group related features in subdirectories by module
- Avoid spaces and special characters
- File name becomes the wiki page title
- Immediately after creating user documentation
- When adding new user-facing features
- When existing feature workflows change
- When user interface is modified
- When error messages or user workflows are updated
See Wiki Writing Guidelines for detailed content guidance.
- Cause: Sibling directory not cloned yet
- Solution: Clone from the parent directory:
cd .. git clone https://github.com/hmislk/hmis.wiki.git cd hmis
- Cause: Wiki repository out of sync
- Solution: Pull latest changes first:
cd ../hmis.wiki git pull origin master # Then retry your changes
- Cause: Incorrect directory or file format
- Solution:
- Verify file is in the
../hmis.wikidirectory (not in the main project) - Ensure file has
.mdextension - Check markdown formatting is valid
- Verify file is in the
- Cause: No write access to wiki repository
- Solution: Request repository access from maintainers
- During feature development: Create documentation directly in
../hmis.wiki/ - Before committing code: Review and finalize documentation
- After creating the wiki page: Commit and push to wiki immediately
- During PR review: Documentation already available for testing
- After PR merge: Documentation already published (no additional steps)
- QA testers need documentation during testing
- Stakeholders can review features immediately
- Documentation is available during PR review
- Reduces post-merge tasks
Wiki Repo Location: ../hmis.wiki (sibling directory)
Create Documentation: Edit files directly in ../hmis.wiki/Module/Feature-Name.md
Publish: cd ../hmis.wiki && git add . && git commit -m "message" && git push origin master
View Published: https://github.com/hmislk/hmis/wiki
Content Guidelines: Wiki Writing Guidelines