Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[rebased, test WIP] i559 TexyServiceEngine #485

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Commits on Oct 31, 2018

  1. Add Texy markup engine

    imports cleanup.
    Final touches.
    Extract the title from the Texy documents.
    Improve hasHeader(): only scan first N lines, skip #... lines, skip blank lines, test against a regex; do not require status and type if defaults are set.
    Add DebugUtil with map printing, since JBake code uses maps heavily
    Wrap Crawler iteration into a try/catch
    Start refactoring MarkupEngine so it supports files without a header.
    Make DebugUtil more generic
    Improve MarkupEngine: Support no header if all values are known; Improve validation; Refactor.
    Extract title from Texy documents.
    Implement RawMarkupEngine: Extract title from the HTML; Normalize HTML; Pretty print HTML; Export as XHTML; Change exported charset;
    Introduce `input.charset`. Fix MarkupEngine - don't return headers map if the header separator is not found.
    Allow .-_ in the header names
    Refactor HtmlUtil#fixImageSourceUrls(). Keeps the same behavior.
    Fix jbake-org#499 file names encoding.
    Implements jbake-org#500  Make URL fixing optional jbake-org#500
    Refactor createUri() and createNoExtensionUri() into one.
    Make index creation bit more readable (just reorder)
    Make index creation bit more readable (reuse the attrib name)
    Refactor Crawler#crawlSourceFile() logic around updating cache flag.
    Implement ContentStore#mergeDocument(Map<String, Object>) to update docs.
    Implement Make "relative <img src> points to assets" optional jbake-org#502
    Implement Make URL fixing optional jbake-org#500
    These two are hitting the same code, so it's hard to split them.
    MarkupUtil and RawMarkupUtil cleanup DebugUtil call
    Force normalize HTML files if they contain <body>.
    Rename vars
    Allow deduplication of title autodetected from the document's header - mark that header with a CSS class.
    Fix: Storing the altered DOM wrapped in <div> resulted in this <div> being serialized too. This removes it.
    Make innerXml more robust.
    OndraZizka committed Oct 31, 2018
    Configuration menu
    Copy the full SHA
    cce1dd3 View commit details
    Browse the repository at this point in the history
  2. Fixes after grand rebase

    OndraZizka committed Oct 31, 2018
    Configuration menu
    Copy the full SHA
    fe97417 View commit details
    Browse the repository at this point in the history
  3. Add .../out/ to gitignore

    OndraZizka committed Oct 31, 2018
    Configuration menu
    Copy the full SHA
    5172c3a View commit details
    Browse the repository at this point in the history
  4. Make javadoc lint happy

    OndraZizka committed Oct 31, 2018
    Configuration menu
    Copy the full SHA
    9bbf009 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    c7a3b5d View commit details
    Browse the repository at this point in the history
  6. Fix bugs revealed by tests

    OndraZizka committed Oct 31, 2018
    Configuration menu
    Copy the full SHA
    b95f8d0 View commit details
    Browse the repository at this point in the history