Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for title (0.13 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/model/ClassDoc.groovy

            }
            return table
        }
    
        private Element getSection(String title) {
            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.")
            }
    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)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy

            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>
        </section>
        <section><title>Methods</title><table><thead><tr></tr></thead></table></section>
    </section>
    ''')
    
            when:
    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)
  3. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocConverterTest.groovy

            when:
            def result = parser.parse(classMetaData, listener)
    
            then:
            format(result.docbook) == '''<section><title>section1</title><para>
    text1
    </para><section><title>section 1.1</title><para>
    text2
    </para></section></section><section><title>section 2</title><para>
    text3</para></section>'''
        }
    
        def convertsTable() {
            _ * classMetaData.rawCommentText >> '''
    <table>
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 14.2K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocRendererTest.groovy

            formatTree(result) == '''<chapter>
        <section>
            <title>Properties</title>
            <para>No properties</para>
        </section>
        <section>
            <title>Methods</title>
            <para>No methods</para>
        </section>
        <section>
            <title>Script blocks</title>
            <table>
                <title>Script blocks - Class</title>
                <thead>
                    <tr>
    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)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/AssembleDslDocTask.groovy

        def mergeContent(Element typeTable, DslDocModel model) {
            def title = typeTable.title[0].text()
    
            //TODO below checks makes it harder to add new sections
            //because the new section will work correctly only when the section title ends with 'types' :)
            if (title.matches('(?i).* types')) {
                mergeTypes(typeTable, model)
            } else if (title.matches('(?i).* blocks')) {
                mergeBlocks(typeTable, model)
    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)
  6. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

            _ * 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>
                        <table><thead><tr><td/></tr></thead></table>
                    </section>
                </section>
            ''')
    
    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)
  7. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy

            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>
        </section>
        <section><title>Properties</title><table><thead><tr>Name</tr></thead></table></section>
    </section>
    ''')
    
            when:
    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)
Back to top