- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for Content (0.19 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy
def sections = classSection.section.findAll { it.title[0] && it.title[0].text().trim() == title } if (sections.size() < 1) { throw new RuntimeException("Docbook content for $className does not contain a '$title' section.") } return sections[0] } Element getDescription() { if (comment.isEmpty() || comment[0].tagName != 'para') {
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.2K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy
PropertyDoc propertyDocC = propertyDoc('c') ClassDoc superType1 = classDoc("org.gradle.SuperType1") ClassDoc superType2 = classDoc("org.gradle.SuperType2") def content = parse(''' <section> <section><title>Properties</title> <table> <thead><tr><td>Name</td></tr></thead> <tr><td>b</td></tr> <tr><td>a</td></tr> </table>
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 7.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/HtmlToXmlJavadocLexerTest.groovy
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 6.5K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/UserGuideTransformTaskTest.groovy
given: String content = "test\ttest\ttest" when: def actual = UserGuideTransformTask.normalise(content) then: actual == "test test test" } def usesUnixLineEndings() { given: String content = "test\r\ntest\r\ntest" when: def actual = UserGuideTransformTask.normalise(content) then:
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Tue Jul 27 19:28:51 GMT 2021 - 1.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy
def classDoc(Map<String, ?> args = [:], String name) { ClassDoc classDoc = Mock() def content = args.content ?: parse('<section></section>') def propertiesSection = withCategories { content.section.find { it.title[0].text().trim() == 'Properties' } } def propertyDetailsSection = withCategories { content.section.find { it.title[0].text().trim() == 'Property details' } }
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 40.8K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy
Set<ApiChange> seenApiChanges = (Set<ApiChange>) context.userData["seenApiChanges"] Set<AccessorKey> seenOldAccessorsOfUpgradedProperties = (Set<AccessorKey>) context.userData[SEEN_OLD_ACCESSORS_OF_UPGRADED_PROPERTIES] UpgradedProperties.maybeGetKeyOfOldAccessorOfUpgradedProperty(member, context).ifPresent { seenOldAccessorsOfUpgradedProperties.add(it) } def change = new ApiChange(
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Apr 23 08:40:36 GMT 2024 - 10.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy
element.setTextContent(normalise(element.getTextContent())) } } static String normalise(String content) { content.replace('\t', ' ').stripIndent().replace('\r\n', '\n') } def transformApiLinks(Document doc) {
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 5.6K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy
try { //classDoc renderer renders the content of the class and also links to properties/methods new ClassDocRenderer(new LinkRenderer(document, model)).mergeContent(classDoc, document.documentElement) def linkMetaData = linkRepository.get(classDoc.name)
Groovy - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 9.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy
_ * docModel.getClassDoc('org.gradle.ExtensionA2') >> extensionA2 _ * docModel.getClassDoc('org.gradle.ExtensionB') >> extensionB def content = parse('''<section> <section><title>Properties</title> <table><thead><tr><td/></tr></thead></table> </section> <section><title>Methods</title>
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 7.5K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy
ClassDoc superClass = classDoc('org.gradle.SuperClass') ClassDoc superType1 = classDoc("org.gradle.SuperType1") ClassDoc superType2 = classDoc("org.gradle.SuperType2") def content = parse(''' <section> <section><title>Methods</title> <table> <thead><tr><td>Name</td></tr></thead> <tr><td>a</td></tr> <tr><td>b</td></tr> </table>
Groovy - Registered: Wed Apr 17 11:36:08 GMT 2024 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 8.4K bytes - Viewed (0)