summaryrefslogtreecommitdiff
path: root/test/manpage_test.rb
AgeCommit message (Collapse)Author
2024-05-16resolves #3583 preserve repeating spaces in verbatim content in manpage ↵Dan Allen
output (PR #4592)
2023-11-26resolves #4490 style cells in head row as bold in manpage output (PR #4491)Dan Allen
2023-09-18fix assertions for table output in tests for manpage converterDan Allen
2023-09-18resolves #4482 remove empty line at top of table cells in manpage outputMatthew "strager" Glazar
2023-09-07resolves #4481 preserve paragraph breaks in normal table cell in manpage ↵Dan Allen
output (PR #4484)
2023-05-06resolves #4448 apply reftext substitutions to value of mantitle attribute in ↵Dan Allen
DocBook output (PR #4449)
2023-04-18resolves #4402 don't uppercase monospace span in section title in manpage ↵Dan Allen
output (PR #4435)
2023-04-17resolves #4401 manify alt text of block image in manpage output (PR #4436)Dan Allen
2021-12-23Fix typos and misspellings in docs and code (PR #4222)Kian Meng, Ang
2021-10-16resolves #4182 support dropping principal text of list item or description ↵Dan Allen
text of dlist item if empty when converting to man page (PR #4183)
2021-07-27resolves #4110 fix missing automatic reftext for internal xrefs in manpage ↵Dan Allen
output (PR #4111)
2021-06-08add error class to assert_raises in test suite where missingDan Allen
2021-06-08use assert_raises in test suite where possibleDan Allen
2021-05-31use appropriate assertions in test suiteDan Allen
- assert_equal instead of == - assert instead of assert_equal true - refute instead of assert_equal false - specify literal value as first argument to assert_equal
2021-05-31use assert_empty/refute_empty where possible in test suiteDan Allen
2021-05-29use reject instead of select with negated condition in test suiteDan Allen
2021-05-27fix spaces and indentation in test suiteDan Allen
2021-05-15manpage: fix apostrophe portability (PR #4060)Felipe Contreras
convert neutral single quote to \*(Aq instead of \(aq Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2021-05-14replace numeric character reference for degree sign in manpage outputDan Allen
2021-05-14replace numeric character reference for plus in manpage outputDan Allen
2021-04-30leave empty line after magic comment [skip ci]Dan Allen
2021-04-26format keyboard references in monospace in manpage outputDan Allen
2021-04-26add tests for UI macros in manpage converterDan Allen
2021-04-10resolves #3892 don't mangle formatting macros when uppercasing section ↵Dan Allen
titles in man page output (PR #4008)
2021-04-09resolves #4004 remove redundant trailing space on URL followed by ↵Dan Allen
non-adjacent text in man page output (PR #4006)
2021-04-08resolves #4000 substitute attribute references in manpurpose inside NAME ↵Dan Allen
section of manpage (PR #4001)
2021-04-07resolves #3992 use .bp macro at location of page break in manpage output (PR ↵Dan Allen
#3993)
2021-04-07remove extra .sp before content of verse block in manpage outputDan Allen
2021-04-07don't escape hyphen when printing manname in NAME section in manpage outputDan Allen
2021-04-06add test for unresolved footnote reference in manpage converterDan Allen
2021-04-05resolves #3988 fix formatting of footnote text with URL in manpage output ↵Dan Allen
(PR #3991)
2021-04-04resolves #3989 fix layout of footnotes in manpage output and add tests (PR ↵Dan Allen
#3990)
2020-07-17port fix for #3543 to manpage converterDan Allen
2020-07-16resolves #3714 honor start attribute on ordered list in manpage output (PR ↵Dan Allen
#3715)
2020-05-10resolves #3645 fix escaping ellipsis at start of line (PR #3644)Jean-Noël Avila
2019-11-04resolves #3456 preserve repeating backslashes when generating manpage output ↵Dan Allen
(PR #3457)
2019-03-14resolves #1444 rename header_footer option to standalone (PR #3146)Dan Allen
* still honor header_footer option as fallback for backwards compatibility
2019-03-01resolves #3111 drop verse table cell style (treat as normal table cell) (PR ↵Dan Allen
#3112)
2019-02-16resolves #3077 implement full support for styled xreftext in manpage converterDan Allen
2019-02-15clean up newline handling in test suite (PR #3074)Dan Allen
- use chop instead of chomp to remove trailing newline from heredoc string - document all uses of non-quoted squiggly heredoc to preserve indentation - fix incorrect preparation of uniform indentation in list tests - remove unnecessary uses of chomp
2019-02-14remove trailing spaces from source [skip ci]Dan Allen
2019-02-10fix indentation in api_test and manpage_testDan Allen
2019-02-10resolves #3054 never mutate strings; add `frozen_string_literal: true` ↵Dan Allen
comment to source files (PR #3055) - replace gsub! and sub! with gsub and sub, respectively - add `frozen_string_literal: true` magic comment to all Ruby source files - see https://www.mikeperham.com/2018/02/28/ruby-optimization-with-one-magic-comment/
2019-02-05implement handler for image node in converter for manpage backendDan Allen
2019-02-02use indented (squiggly) heredoc strings in preamble_test and manpage_testDan Allen
2019-01-06switch to modern hash syntaxDan Allen
- switch to modern hash syntax (from :key => value to key: value) - put space inside hash brackets (from {key: value} to { key: value } - use dangling comma on last entry of multi-line hash
2019-01-06use require_relative instead of modifying $LOAD_PATHDan Allen
- use require_relative in place of require when it relied on $LOAD_PATH manipulation - configure bin scripts to work with require_relative - rename ROOT_PATH to ROOT_DIR - rename DATA_PATH to DATA_DIR - rename STYLESHEETS_DATA_PATH to STYLESHEETS_DIR - define LIB_DIR - simplify test helper require and setup - add bindir helper to test suite - remove unneeded constants in test helper - reorder autoload statements - require version directly instead of autoloading
2019-01-06remove workarounds for Ruby < 2.3Dan Allen
- remove constants for differentiating between Ruby versions - remove fallback assignment for RUBY_ENGINE constant - remove rubygems require - use unicode character properties in regular expressions (e.g., \p{Word}) - remove COERCE_ENCODING constant - always set FORCE_ENCODING constant to true unless default external encoding is not UTF-8 - remove workaround for computing line length - use lines method instead of lines.entries to get lines for string - always normalize lines - check if JRuby class is defined instead of checking for JRuby engine - remove global RUBY_ENGINE_JRUBY constant - move RUBY_ENGINE_OPAL constant inside Asciidoctor module - remove magic encoding comments (since default script encoding is UTF-8) - remove workaround when printing encoding information - remove fallback assignments for passthrough escape characters - remove Ruby core backports (only leave Asciidoctor-specific extensions) - use __dir__ instead of File.dirname __FILE__ - use Float#truncate to truncate column widths - override Float#truncate on Ruby 2.3 to implement precision argument - remove concurrent/hash backport - simplify class_for_name helper - don't call to_sym on constants returned from constants method - remove unnecessary aliasing of regexp match variables; use magic variable instead (e.g., m = $~) - remove workaround for sub_specialchars to accomodate gsub with map argument - remove comment about %:z placeholder for strftime - don't call .to_a on return value of Hash#keys - get home directory using Dir.home - remove exceptions and exclusions for Ruby < 2 in test suite - update list of supported Ruby engines and versions in READMEs - update ruby versions in run-tests.sh
2018-10-27resolves #1639 generate manpage even if input is non-conforming or malformed ↵Dan Allen
(PR #2937)
2018-09-29normalize all whitespace in manpurposeDan Allen