blob: 2211670c90b69091da3073da7b3ffeadabd75641 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
program structure:
- check for pandoc existence
- render each file to pandoc format (checking for typos, etc)
- connect to server
- for each doc:
parse for metadata
read page to see if it exists
if no change, pass
else, upload
TODO:
- `--help`
- installation procedure
- extract space, title, and/or page ID from pandoc yaml header
- don't push if no change
Nice to have, but unlikely to be implemented:
- optional table of contents
- more than just markdown (restructured text, html, etc)
- configurable banner at the top of rendered pages ("this uploaded from...")
- color output, one line per file
- detecting and uploading included image files as attachments.
`confluence-sync` does this
|