| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
The asciidoc-py website is now stored in a separate repo, so we no longer
need to build the gh-pages as part of this repo.
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Otherwise the test fails in environments without `source-highlight`:
[snip]
70: Newline Tests (Override To MAC)
SOURCE: asciidoc: tests/data/newline.txt
PASSED: html5: tests/data/newline-mac-html5.html
71: Include Line Ranges
SOURCE: asciidoc: tests/data/include-lines-test.txt
FAILED: html5: tests/data/include-lines-html5.html
TOTAL PASSED: 233
TOTAL FAILED: 1
TOTAL SKIPPED: 10
/bin/sh: source-highlight: command not found
/bin/sh: source-highlight: command not found
/bin/sh: source-highlight: command not found
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
|
|
| |
Backport of 289c42d179be0bf665cca9b618fb282384175c4f (#172)
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
|
|
|
| |
Problems seen with inconsistent newlines in the Table Of Contents HTML pulled in from the configuration file. While the rest of the contents in the resulting HTML file honored the newline style configured by the user, this specific snippet of HTML always used "\r\n".
This root of this problem existed for some time, but in earlier versions, the newline style was always "\n". The symptoms changed as a side effect of the issue "Extra line padding in source and literal blocks" (#139). In this issue, the newline style changed to "\r\n", and was noticed by users.
Change the System Attribute Evaluation function to use the newline setting from the global "config" instead of using the default newline.
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
| |
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
| |
|
| |
|
|
|
|
|
|
|
| |
* test newlines as part of test suite
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
* fix failing toc tests
|
| |
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
|
|
|
| |
Problems noticed on Windows where preformatted blocks (e.g. source & literal blocks) have an extra space between each line. In fact, *all* lines have this extra space, but it is only noticeable on preformatted blocks where the extra line spacing is visible.
By default, Python 3 has universal newlines mode enabled, which makes outputting files with various line endings simpler. However, AsciiDoc is already handling this internally, so we ended up with extra lines being inserted. In the actual output file, every line on Windows ended with "/r/r/n". This was not a problem on systems that used UNIX line endings.
Solve this by disabling universal newlines when outputting the file.
|
| |
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
|
|
|
|
|
| |
$SOURCE_DATE_EPOCH is now the officially supported mechanism for
guaranteeing stable output timestamps, which means we can simply run the
tests using that, and drop some code.
This also fixes #131 since the variable would override the mocked time,
resulting in tests failing if $SOURCE_DATE_EPOCH was set in the
environment (e.g. for linux distro packaging).
|
| |
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
| |
This reverts commit e3fd0a7de6fe0f24f8e671720bf3c9ed9c18005e.
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|
|
|
|
| |
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
|