| Age | Commit message (Collapse) | Author |
|
|
|
(PR #4161)
|
|
target has no id)
|
|
caption (PR #3806)
|
|
|
|
* 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
|
|
attribute (PR #2706)
- allow xrefstyle to be overridden per xref by assigning xrefstyle attribute on xref macro
- allow xrefstyle to be overridden in different parts of the document
|
|
detected
- if attribute signature is detected in text of xref macro, parse text as attributes
- if role is set on xref, add it to class attribute of <a> element in HTML5 converter
- rename append_anchor_constraint_attrs to append_link_constraint_attrs
- add link contraint attributes to <a> element of interdoc xref
|
|
- 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
|
|
generating ID for section
- drop character refs and non-word chars (except for hyphen and space) instead of replacing with ID separator
- drop XML tags (but not the contents of the tag)
- replace spaces and hyphens with ID separator
- optimize logic in Section.generate_id method
|
|
(PR #2593)
- add content class to div surrounding AsciiDoc cell content
- collapse bottom margin of last block in AsciiDoc table cell
- simplify margin collapsing on last paragraph in normal cell
- remove unused styles
- update tests
|
|
|
|
(PR #2460)
- add the compliance setting natural_xrefs for disabling natural cross references
- don't resolve xref by reference text if compliance setting is disabled
- don't resolve xref by reference text if compat-mode is on
- add test scenario
- rename scenarios related to natural xrefs
|
|
- store referenceable nodes under refs key in document catalog
- when registering a ref, store entry in both refs table and deprecated ids table
- update tests to use consolidated register method
- add xreftext method to AbstractBlock, Section, and Inline to produce formatted text for xref
- add API docs to the xreftext methods
- format xref text according to xrefstyle attribute, if set (full, short, or basic)
- move reftext? and reftext methods down to AbstractBlock and Inline; contextualize
- apply reftext substitutions (specialchars, quotes, replacements) to value returned by reftext method
- drop support for reftext document attribute
- don't catalog inline anchor if reftext containing attribute reference resolves to empty string
- use reftext method instead of text method for :ref in DocBook converter
- add feature tests for explicit reftext
- add feature tests for generated reftext using xrefstyle
- introduce language attributes for chapter, section, and appendix reference signifier
* name attributes chapter-refsig, section-refsig, and appendix-refsig, respectively
- enable chapter-label attribute in translations file; map to chapter-refsig attribute to it
- map appendix-refsig attribute to value of appendix-caption attribute in translations file
- add placeholders in translations file for chapter-refsig where missing and section-refsig
- handle refsig document attribute values consistently (only use if attribute is non-nil)
- update link and xref tests to populate refs key in document catalog
- encode double quote and strip XML tags in value of xreflabel attribute in DocBook converter
- don't store return value of target in inline_anchor method of HTML converter
|
|
|
|
|
|
- rewrite converter API
- separate built-in converters from template converter
- rename renderer/render to converter/convert
- make converter an extension point (resolves #778)
- base built-in converters on the converter API
- rename template_name property to node_name on AbstractNode
- make block_ prefix on file name of block-level templates optional
- use thread_safe gem for template and converter caches (resolves #638)
- introduce Stylesheets API to manage stylesheets
- move file write logic to Document
- delegate file write logic to converter that implements Writer
- remove compact logic, deprecate related options
- duplicate options and attributes passed to APIs, add tests
- assign doctype / backend attributes correctly when document is loaded, add tests
- report proper error if nil is passed to load_file and convert_file
- use span tag to group kbd combination in html5 backend
- setup toc in preamble if toc attribute is preamble
- Opal compatibility fixes, use built-in HTML5 converter
- make the outline method accessible to all html converters
- document the converter APIs along with some minor cleanups in terminology
- load stylesheets from data directory
- rename ruler block to thematic_break
- add inline? and block? query methods to AbstractNode
- use Timings class to measure and report timings from processor steps
- fix cucumber tests
- upgrade tilt dependency to 2.0.0
- minor optimizations
|
|
|
|
- add cucumber and rspec-expectations dependencies
- add cucumber Rake task definition
- add sample cucumber tests and a step definition rough-in
- set version ranges for library dependencies
|