| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
| |
Adopt the new -nvc option in Perl::Tidy 20211029 to disable the
intrusive vertical alignment formatting. Unfortunately, this
breaks all vertical alignment formatting, even when desired, so
work around that in a few places with special comments.
|
|
|
|
|
|
|
|
|
|
|
| |
Add a new *.spin input file for docknot spin that points to an external
file with instructions for how to convert it to HTML. Via this
mechanism, support formatting Markdown files as HTML via docknot spin.
This support requires the pandoc program be installed. The path to
pandoc may be specified in the DocKnot global configuration file.
Remove an extra blank line after the leading navbar in output
converted from thread.
|
|
|
|
| |
- Ignore backup files when checking for SPDX license identifiers
|
|
|
|
| |
Hopefully fixes test issues with CI.
|
|
|
|
|
| |
Instead of the legacy spin and spin-rss versions, put the version
of DocKnot in the comments in generated HTML and RSS.
|
|
|
|
|
|
|
|
|
|
|
| |
Rename spin-rss to App::DocKnot::Spin::RSS, add an API, and update
the documentation accordingly. Call App::DocKnot::Spin::Thread
instead of running spin. Add a basic test for RSS and thread
generation from .rss files. Call the new module instead of
spin-rss from App::DocKnot::Spin.
This has a few horrible hacks to deal with the working directory
of thread spinning that will need a better solution later.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The refactorings broke external converters. Fix that, hopefully,
and add a test for pod2html. Refactor the division of labor between
the conversion methods and the common method so that it works
without reinvoking spin via $FULLPATH. Drop the $FULLPATH global
variable.
Update perltidy configuration and apply the reformattings to avoid
some really horrible formatting decisions in some of the new test
code.
Add a dependency on Pod::Thread, which is currently only used for
the external script but will eventually be used for its API.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Plumb spin and spin-file through App::DocKnot::Command to the
docknot frontend again. Add documentation for those commands and
their options. Add a test for the command-line interface to
ensure that plumbing keeps working in the future.
Move the logic to compare a tree of spun files into the
Test::DocKnot::Spin module so that it can be shared between the
command-line test and the API test.
Add the test library modules to POD syntax and spelling checks.
|
|
|
|
|
| |
Move some of the functionality of spin/file.t to a new
Test::DocKnot::Spin module that will be used for later tests.
|
|
|
|
|
| |
In Test::RRA, is_file_contents didn't have any POD documentation.
Add some.
|
|
|
|
|
|
| |
The t/data/perl.conf variable @CRITIC_IGNORE had somewhat incorrect
documentation after previous changes to the implementation. Update
it.
|
|
|
|
|
| |
Only module version updates and a minor tweak to ignore the .pc
directory when checking for obsolete strings.
|
|
|
|
|
| |
* Fix style issues caught by Perl::Critic::Freenode.
* Ignore debian/changelog when checking for obsolete strings.
|
|
|
|
|
| |
Ignore a top-level .pc directory when checking for SPDX license
identifiers.
|
|
|
|
| |
Minor updates due to dropping compatibility with Perl 5.6.
|
| |
|
|
|
|
|
|
|
| |
Windows and other systems without diff just abort the test suite
if there is any mismatch in output, without reporting what the
mismatch is. Instead, fall back on printing the expected and seen
output if diff fails.
|
|
|
|
|
| |
* Fix t/style/strict.t to skip blib and .git directories.
* Update style for the latest perltidy.
|
|
|
|
|
|
|
|
| |
t/style/module-version.t -u was rewriting the version to be a
quoted string, since this is correct for $VERSION to avoid oddities
with trailing zeroes. But this is invalid syntax for package
directives including a version. Only do this rewrite for old-style
module versions.
|
|
|
|
| |
* Add SPDX-License-Identifier headers to all substantial source files.
|
| |
|
|
|
|
|
| |
Since we want to commit README and README.md to the repository
anyway, we can use them as additional test cases.
|
| |
|
| |
|
|
Leave out the POD coverage test for right now, since we have no
documentation yet, and turn down the expected code coverage to 90%
so that tests will pass.
Fix a few perltidy and perlcritic complaints.
|