Mercurial > prosody-modules
comparison mod_pubsub_github/README.markdown @ 3512:5fb14ae57b4c
mod_pubsub_github/README: Mark up options as code snippets
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 31 Mar 2019 16:59:08 +0200 |
parents | b583cce491de |
children | 8811b7dbe6e2 |
comparison
equal
deleted
inserted
replaced
3511:b583cce491de | 3512:5fb14ae57b4c |
---|---|
20 Component "pubsub.example.com" "pubsub" | 20 Component "pubsub.example.com" "pubsub" |
21 modules_enabled = { "pubsub_github" } | 21 modules_enabled = { "pubsub_github" } |
22 | 22 |
23 The module also takes the following config options: | 23 The module also takes the following config options: |
24 | 24 |
25 Name Default Description | 25 Name Default Description |
26 ---------------- ----------- ------------------------------------------- | 26 ----------------------- ------------------- ------------------------------------------------------------ |
27 github\_node "github" The pubsub node to publish commits on. | 27 `github_node` `"github"`{.lua} The pubsub node to publish commits on. |
28 github\_secret *not set* Shared secret used to sign HTTP requests. | 28 `github_secret` *not set* Shared secret used to sign HTTP requests. |
29 | 29 |
30 The URL for Github to post to would be either: | 30 The URL for Github to post to would be either: |
31 | 31 |
32 - http://pubsub.example.com:5280/pubsub\_github | 32 - http://pubsub.example.com:5280/pubsub\_github |
33 - https://pubsub.example.com:5281/pubsub\_github | 33 - https://pubsub.example.com:5281/pubsub\_github |