Alexander Morozov
da7b9a6bbc
Use markdown.Config as pointer everywhere
...
* As value mutex was copied and therefore synchronization worked wrong
* It's pretty big structure with reference types, so copying create unnecessary
pressure on GC
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-09-10 15:12:50 -07:00
Matthew Holt
2e8a74ecff
markdown: Prefix log messages, and slight refactor
...
Also change sha1 to md5 for the directory scans; slightly faster.
2015-08-05 08:15:52 -06:00
Matthew Holt
7173764d6d
markdown: Render lists as part of summary (upstream bug workaround)
...
See github.com/russross/blackfriday/issues/189
2015-08-05 07:37:51 -06:00
Abiola Ibrahim
3b910645e7
Markdown: generate static sites after links.
2015-08-05 09:55:04 +01:00
Abiola Ibrahim
2ab466599d
Markdown: Modify development mode to generate links on page requests.
2015-08-05 00:41:04 +01:00
Abiola Ibrahim
851026d3fa
Markdown: Watch for file changes. Removed sitegen dependency for links.
2015-08-04 23:35:09 +01:00
Matthew Holt
36fa6e857b
markdown: Sitegen only occurs if directory exists
...
We do this by returning an error and stopping link generation (which scans the markdown path for files)
2015-08-01 16:09:10 -06:00
Matthew Holt
ff28bc8b0a
markdown: Change .Url -> .URL, increase summary length
...
Also, summary truncated at nearest space instead of middle of word, and code spans become part of summary.
2015-07-29 17:43:00 -06:00
Abiola Ibrahim
aa89f30f2a
renamed sorter to byDate.
2015-07-29 18:06:53 +01:00
Abiola Ibrahim
7b29568eb1
Code cleanups.
...
Fix more race conditions.
2015-07-29 12:21:34 +01:00
Abiola Ibrahim
e240cd5ba2
Metadata variables flattened.
...
Fix race condition on parsers.
Added page links generator.
2015-07-28 05:21:09 +01:00