Repository navigation
Contributing
Hammad Maqbool edited this page Oct 29, 2026
·
1 revision
English · 简体中文 · 繁體中文 · Español · العربية · Français · Português (Brasil) · Deutsch · हिन्दी · 日本語 · 한국어 · Русский · Bahasa Indonesia · Türkçe · Italiano · Tiếng Việt
Bug reports, fixes, documentation and translations are all welcome. This page explains how to report a problem and what a pull request needs. To set up a working copy, see Development Setup.
Open an issue at github.com/hammad417/docxi/issues with:
- a short Ruby script that reproduces the problem
- the versions of Ruby, docxi, nokogiri and rubyzip (and Rails, if you use it)
- what you expected, and what you got. For broken documents, say which program you opened them in
Report security problems privately instead. See Security.
- Fork the repository and create a branch.
- Make the change, and match the style of the surrounding code.
- Add or update tests, and run
bundle exec rake test. - If the generated XML changes on purpose, run
bundle exec rake goldenand explain the change in the pull request. The golden files guard the output that existing users rely on. - Update
CHANGELOG.mdand the documentation if behaviour changes. - Open the pull request. CI runs the tests on Ruby 2.5 to 4.0 and Rails 5.2 to 8.1, and checks that LibreOffice opens the sample documents.
Changes that alter existing documents, such as the fixes planned for 0.2.0, belong in their own pull request so the golden file diff is easy to review.
- The English README is the source for 15 translations in
docs/i18n/. Followdocs/i18n/TRANSLATION_GUIDE.mdin the repository when you change it. - This wiki is written in the
wiki/folder of the repository and published from there.wiki/README.mdexplains how.
docxi wiki · README · Installation · Troubleshooting · Report an issue · MIT License
Start
Build documents
Help
Project
Links
Languages