Skip to content

Update README for headers/footers and fix stale examples#177

Merged
satoryu merged 1 commit into
masterfrom
update-readme-headers-footers
May 31, 2026
Merged

Update README for headers/footers and fix stale examples#177
satoryu merged 1 commit into
masterfrom
update-readme-headers-footers

Conversation

@satoryu
Copy link
Copy Markdown
Member

@satoryu satoryu commented May 31, 2026

Summary

Brings the README in line with the current code, including the header/footer features shipped in v0.11.0 (#173, #174, #175) and header/footer bookmark scanning (#176).

Changes

  • Bug fix: corrected a non-existent method in the Writing example — insert_multiple_lines_afterinsert_multiple_lines (the _after variant does not exist and would raise NoMethodError).
  • Accuracy: minimum Ruby version 2.62.7 to match docx.gemspec (required_ruby_version = '>= 2.7.0').
  • New docs: added a "Reading headers and footers" section (doc.headers / doc.footers).
  • New docs: noted that bookmarks in headers/footers are included and that their edits persist on save.
  • Summary: mentioned header/footer support in the capabilities line.

Notes

Documentation-only change. No code changes.

🤖 Generated with Claude Code

- Fix wrong method name: insert_multiple_lines_after -> insert_multiple_lines
- Correct minimum Ruby version (2.6 -> 2.7) to match the gemspec
- Document reading headers/footers (doc.headers / doc.footers)
- Note that header/footer bookmark edits are included and persisted on save
- Mention header/footer support in the capabilities summary

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@satoryu satoryu merged commit a1915aa into master May 31, 2026
6 checks passed
@satoryu satoryu deleted the update-readme-headers-footers branch May 31, 2026 12:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant