plugin-icon

Writing On GitHub

作者:litefeel·
A WordPress plugin to allow you writing on GitHub (or Jekyll site).
评级
4.7/5
版本
1.11
活跃安装
10
最后更新
Apr 6, 2020

A WordPress plugin to allow you writing on GitHub (or Jekyll site).

Some code for this plugin comes from WordPress GitHub Sync, thanks.

Ever wish you could collaboratively author content for your WordPress site (or expose change history publicly and accept pull requests from your readers)?

Well, now you can! Introducing Writing On GitHub!

Writing On GitHub does three things:

  1. Allows content publishers to version their content in GitHub
  2. Allows readers to submit proposed improvements to WordPress-served content via GitHub’s Pull Request model

Writing On GitHub might be able to do some other cool things:

  • Allow teams to collaboratively write and edit posts using GitHub (e.g., pull requests, issues, comments)
  • Allow you to sync the content of two different WordPress installations via GitHub
  • Allow you to stage and preview content before “deploying” to your production server

How it works

The sync action is based on two hooks:

  1. A per-post sync fired in response to WordPress’s save_post hook which pushes content to GitHub
  2. A sync of all changed files triggered by GitHub’s push webhook (outbound API call)
免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.4.18
这个插件是可用的下载,适用于您的站点。