revert-425-githubActions
2 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
4a3ee6c5ca | Feature/open api v3 support (#405) | ||
|
|
f853550748 |
Migrated markup document builder (#374)
* Initial commit * Updated documentation * Test travis CI * Added library to bintray * Updated documentation * Updated documentation * Updated documentation * Published Version 1.1 to Maven Central * Updated Bintray Badge * Updated Bintray Badge * Fixed maven pom issue * Fixed issue: Comma should be escapes when constructing table in csv format in asciidoc Fixed issue: logback.xml on the classpath * New version number * New version number * Added Apache2 Copyright Header * Updated documentation * Updated documentation * Updates documentation * Fix Markdown level 3 title * Fixed SECTION_TITLE_LEVEL3 in Markdown enum * Added twitter batch * Updated documentation * Added method sectionTitleLevel4 * Added Artifactory Gradle Plugin in order to deploy snapshots to oss.jfrog.org * Added artifactoryPublish task to TravisCI to publish SNAPSHOTS to OSS Artifactory * Fixed coveralls badge * Introduced new commands : anchor(anchor), crossReference(anchor, text) Refactored writeToFile for robustness Cleanups and fixes * Enhanced support for tables * Introduce inline commands : inlineAnchor, inlineCrossReference for easier markup composition * More tests * Renamed inline* to *AsString * Implemented anchors and crossReferences for Markdown (GFM style) * Updated readme * Fixed anchor normalization * Cleanups * Cleanups * Fixed replacing error * Renamed TableColumnSpec to MarkupTableColumn * Travis Secure Environment variables must be escaped * Fixed travis.yml * Fixed travis.yml * fixed anchor normalization (again). Asciidoc anchor normalization differs between title and custom anchors => introducted crossReferenceTitle * fixed tests compilation * Update dependency-management-plugin to work with Gradle versions newer than 2.5 * Update Gradle wrapper to 2.10 * Fixed inter-document cross-references * renamed crossReference -> crossReferenceAnchor and crossReferenceTitle -> crossReference as it's the default behavior introduced addFilenameExtension (e.g. needed for inter-document cross-references) fixed anchor normalization (support for ASCII characters in AsciiDoc) Several workarounds with inter-document cross-references Removed documentTitleWithAttributes as it's no use as-is * Support for inter-document cross-references in Markdown * fixed #9 Refactor anchor and cross-reference interface and implementation * Updated asciidoctor-gradle-plugin: and asciidoctorj-pdf Gradle plugins to newer versions. * [Bug] The document title must not have a anchor in front of it. * Ignore punctuation in normalizeAnchor Added new functions to create sections with a custom anchor not directly derived from the title * Use paragrah local hardbreaks instead of global attribute * fixed normalization and provided tests for normalization (finally) ! * missing Mockito in Gradle fixed tests * anchor normalization better manages beginning and ending escape characters, and intermediate punctuation * introduce text, italicText, boldText remove *AsString builders, use a new MarkupDocBuilder with toString() method instead * Create a builder instance from another builder instance, for easier composition * introduce forceLineBreak on all *Line methods * Introduce new sectionTitleWithAnchor* to allow users to create titles without anchor, with a custom anchor (will be normalized anyway), or with an auto-generated anchor. * sectionTitleWithAnchor* consistency fix when anchor == null => auto-generate anchor * Introduce global builder configuration .withAnchorPrefix Introduce copy() method to easily duplicate builders with configuration * Introduce Markup-dependent specifiers on tables * Added public interface complete documentation * Added 2 newlines at the end of generated output when output are files. This protect the final AsciiDoc when you later include these files. * MarkupTableColumn documentation enhancements * Added importMarkup(markupText, levelOffset) * Check for levelOffset < 0 in importMarkup(markupText, levelOffset) * Support for levelOffset < 0 in importMarkup * Use Reader in importMarkup instead of a String * MAX_TITLE_LEVEL = 4 -> 5 * Added new interface methods to support java.nio.file.Path parameters * Added new block methods (supporting title and admonitions) Refactored listing() and method() methods Does not flush buffer anymore when writeToFile * Renamed addfileExtension to addFileExtension * logging fix * Support level 5 titles. Added sectionTitleLevel(int level, String title) for convenience. * Line separators (Mac, Windows, Linux) of input data are replaced by the system line separator. * Removed source folder mainpjava. * Fixed AbstractMarkupDocBuilderTest on windows machines by setting newLine to a fixed value. * Added validation that input values are not null and empty. * Added the functionality to provide a custom line separator which should be used. * Added Mac line separator. * Removed io.spring.gradle:dependency-management-plugin * Added default line separator if provided lineSeparator is null. * Updated versions of commons-collection, commons-lang3, commons-codec and slf4j-api. * Removed Guava library. * New lines in Table headers are replaced by a whitespace New lines in Table cells are replaced by the configured line separator. * Opens MarkupDocBuilders for additional/external markup builders (includes an example for Confluence wiki markup) * Make changes Java 1.7 compatible. * Adds a markup builder for Atlassian's Jira/Confluence wiki markup. * Updated README. * Renamed ATLASSIAN to ATLASSIAN_WIKI * Updated publishing and coverage gradle scripts. * Updated publishing gradle script. * Moved source code which does not belong to the external API into an internal package. * Copy newLine in copy() method + non regression test * simplify empty constructors added missing copyright headers * factored importMarkupStyle1/2 + Style2 tests removed deprecated tableWithHeaderRow refactored ConfluenceMarkupBuilder * copy with optional copyBuffer * Added assertj-diff. * fixing ConfluenceMarkupBuilder fixed MarkdownBuilder with null block styles * remove FILE_EXTENSION from Markups, use MarkupLanguage::getFileNameExtensions instead * fixed documentTitle level for ConfluenceMarkupBuilder * fixed LINE_BREAK for ConfluenceMarkupBuilder * fixed empty cells for ConfluenceMarkupBuilder * fixed crossReferences for ConfluenceMarkupBuilder * cleanups * removed deprecated writeToFile* * Support column headers style generically in MarkupTableColumn * Use DiffAssertions to check generated markup result in tests * Introduce MarkupLanguage conversion in importMarkup. Currently support Markdown -> AsciiDoc. * remove unnecessary newlines when importMarkup text is blank * removed hardbreaks from AsciiDoc paragraph() * fixed tests after removing hardbreaks * better cell formatting : content trimming and newLines management * fixed pipe escaping management in ConfluenceMarkup cell formatter (does not escape pipe in links in cells) fixed corner cases in Regexp replacements (quoting) * added OpenOption parameter in writeToFile() * Fixed MarkupDocBuilderTests on windows by fixing line separator to LineSeparator.UNIX * Adapted group id, versioning and root package to other swagger2markup projects * introduced paragraph(text, hardbreaks), force line breaks on each line for Markdown and ConfluenceMarkup * ImportMarkup, writeToFile and writeToFileWithoutExtension don't throw IOExceptions anymore, but RuntimeExceptions. * Upgrade to Java8 * Fixed JavaDoc * Fixed JavaDoc Removed commons-collection by using Java8 Streams * Updated readme * Updated readme * reintroduce literalTextLine(text) rename listing -> listingBlock * Support <> in cross-reference texts in AsciiDoc * fixed sectionTitleWithAnchor and auto-generated anchor (and fixed tests) fixed ConfluenceBuilder : missing replaceNewLinesWithWhiteSpace on title/anchor, removed extra newLine * supports for blank value for text and textLine only to support adding simple spaces to document * Released v1.0.0 * Updated readme * Updated readme * Updated readme * Updated readme * Updated readme * Changed bold to ** and italic to __ so that special chars in the text are possible * Updated version to 1.1.0-SNAPSHOT * Release v1.0.0 * Updated bintray badge * Updated docs * Add support for page breaks * Add page breaks to unit tests * Updated version from 1.1.0 to 1.1.1-SNAPSHOT * Released v1.1.1 * Updated README * Improve code blocks in markdown (#28) * Prepare release 1.1.2 * Update AbstractMarkupDocBuilder.java (#29) Support relative file names both of "filename" and "./filename" while `writeToFileWithoutExtension` * Issue #21: AsciidocBuilder should enable option to set pegdown timeout (#31) * Upgraded gradle (#33) * upgrade to gradle 5.6.3 * update dependencies versions * Moved markup-document-builder files and folders into swagger2markup-builder/ * Fix merge problems from markup-document-builder * correct expected file for instagram/overview.adoc * fix paths to examples files in documentation files |