Fix actiondoc and update doc builder script

Signed-off-by: Sayan Nandan <nandansayan@outlook.com>
next
Sayan Nandan 4 years ago
parent e31c08dbb0
commit 28f0666914
No known key found for this signature in database
GPG Key ID: C31EFD7DDA12AEE0

@ -73,7 +73,7 @@
"name": "MUPDATE",
"since": "0.4.0",
"complexity": "O(n)",
"args": "UPDATE <key1> <value1> <key2> <value2> ...",
"args": "MUPDATE <key1> <value1> <key2> <value2> ...",
"desc": "Update the value of 'n' keys",
"return": "Number of keys that were updated as an unsigned int"
},
@ -151,10 +151,10 @@
},
{
"name": "MKSNAP",
"since": "0.4.6",
"since": "0.5.0",
"complexity": "O(n)",
"args": "MKSNAP <SNAPNAME>",
"desc": "This action can be used to create a snapshot. Do note that this action **requires snapshotting to be enabled on the server side**, before it can create snapshots. <br>If you want to create snapshots **without** snapshots being enabled on the server-side, use a second argument (`[SNAPNAME]`) to specify a snapshot name and a snapshot will be create in a folder called `remote` under your snapshots directory. <br>For more information on snapshots, read [this document](/snapshots)",
"desc": "This action can be used to create a snapshot. Do note that this action **requires snapshotting to be enabled on the server side**, before it can create snapshots. \nIf you want to create snapshots **without** snapshots being enabled on the server-side, use a second argument (`[SNAPNAME]`) to specify a snapshot name and a snapshot will be create in a folder called `remote` under your snapshots directory. \nFor more information on snapshots, read [this document](/snapshots)",
"return": "Okay if succeeded, otherwise it returns `err-snapshot-disabled` if snapshotting is disabled or `err-snapshot-busy` if a snapshotting operation is already in progress"
}
]

@ -4,10 +4,10 @@
C_USER=$(git show -s --format='%an' HEAD)
C_MAIL=$(git show -s --format='%ae' HEAD)
cd ..
git clone https://github.com/Skytable/docs.git
git clone https://github.com/skytable/docs.git
cd docs
chmod +x builddoc.sh
sh ./builddoc.sh
chmod +x doc
./doc
git add . && git commit -m "Updated docs from upstream" -m "Triggered by ${GITHUB_SHA}" --author "$C_USER <$C_MAIL>"
eval '${BOT_API}'
} >>/dev/null

Loading…
Cancel
Save