Company
Date Published
Author
Dom Harrington
Word count
202
Language
English
Hacker News points
None

Summary

A new API feature in the rdme command line tool now allows users to edit documentation pages locally and then upload changes back to ReadMe without losing the ability to continue editing on the platform. This feature is particularly useful for making quick fixes like find-and-replace operations directly from markdown files in a codebase. The docs:edit command facilitates downloading the page for local edits by fetching the page content through the API and opening it in the user's configured local editor. After making changes, the updated content is uploaded to the ReadMe project, and the local file is deleted, thus enabling advanced editing workflows while maintaining the flexibility of modifying content in ReadMe.