| Age | Commit message (Collapse) | Author |
|
|
|
#4451)
|
|
untitled to hide title (PR #4440)
|
|
|
|
|
|
|
|
document title (PR #4152)
|
|
|
|
references is eagerly substituted
|
|
|
|
|
|
|
|
- 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
|
|
|
|
assertions
|
|
|
|
|
|
|
|
attribute is locked (PR #4015)
|
|
|
|
|
|
|
|
eagerly (PR #3203)
- convert titles of cataloged block and section nodes containing attribute references eagerly to resolve attributes while in scope
- consolidate all processing of title and caption for block at end of next_block
- add tests to verify behavior
|
|
|
|
|
|
(PR #3153)
|
|
* make sure `numeral` is always a string, as it states in the RDoc
* store numeral for part as roman numeral
|
|
* still honor header_footer option as fallback for backwards compatibility
|
|
* remove the logic that registers entries in :ids table of the document catalog
* don't attempt to compute the reftext when registering an xref (as this information is available from the referenced node and can be retrieved on demnd)
* add a Document#resolve_id method to look up ID by reference text (reftext or title); cache the result of lookups once parsing is complete
* always look for existing IDs using :refs table (when checking for a duplicate or whether a target exists)
* leave the :ids table empty to avoid breaking existing programs and extensions
* update tests
* add test to verify :ids table is always empty
|
|
|
|
order (PR #3062)
|
|
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/
|
|
alphanumeric character (PR #3061)
- although documented this way, the parser was checking for at least one word character, which is different
|
|
|
|
- remove the DocBook45Converter class
- remove accomodations in DocBook5Converter for DocBook 4.5
- don't register the docbook45 backend name in the converter registry
- drop docbook45 from the backend CLI option values
- don't mention DocBook 4.5 in the man page
- don't mention DocBook 4.5 in the CLI usage statement
- update tests to use DocBook 5 instead of DocBook 4.5
|
|
- 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
|
|
- 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
|
|
- 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
|
|
|
|
- add value of part-signifier attribute to beginning of title for numbered part
- add value of chapter-signifier attribute to beginning of title for numbered chapter
- change trailing delimiter of part number from period to colon
|
|
section numbering is enabled (PR #2932)
|
|
- rename number property on AbstractBlock to numeral
- alias deprecated number property to numeral
- rename instance variable next_section_number to next_section_ordinal
- add tests
|
|
- rename render_string to convert_string
- rename render_embedded_string to convert_string_to_embedded
- rename render_inline_string to convert_inline_string
- use convert_inline_string where :doctype was being set to :inline
|
|
auto-generated ID
|
|
|
|
|
|
|
|
|
|
- number parts using roman numerals if the partnums attribute is set
- move method to convert integer to roman to Helpers module
- assign the value "Part" to the part-refsig attribute by default
- define the part-label attribute in the attributes-en.adoc data file
- add support for partnums and sectnums=all to create_section helper in extensions
- add partnums and sectnums=all scenarios to test for create_section helper
|
|
|