Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for linkTo (0.2 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

        def "validates present files for javadoc links"() {
            given:
            sampleDoc << """
    === Valid Javadoc Links
    
    Be sure to see: `@link:{javadocPath}/org/gradle/api/tasks/InputDirectory.html[InputDirectory]`
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Mon Nov 28 22:01:54 GMT 2022
    - 7.8K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleKotlinDslReferencePlugin.java

            defaultDokkaVersion.set(dokkaVersionOverride.convention(defaultDokkaVersion.get()));
        }
    
        /**
         * The name of the module is part of the URI for deep links, changing it will break existing links.
         * The name of the module must match the first header of {@code kotlin/Module.md} file.
         */
        private static void renameModule(Project project) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Jan 15 14:00:14 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleDslReferencePlugin.java

     *
     * TODO: It would be nice to replace the Docbook portion of this with Asciidoc so that it could be
     * generated in the same way as the user manual with cross-links between them.
     */
    public class GradleDslReferencePlugin implements Plugin<Project> {
        @Override
        public void apply(Project project) {
            ProjectLayout layout = project.getLayout();
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 5.7K bytes
    - Viewed (0)
  4. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleUserManualPlugin.java

    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Mar 01 05:46:51 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBrokenInternalLinks.java

                String link = linkMatcher.group(1);
                File referencedFile = new File(getJavadocRoot().get().getAsFile(), link);
                if (!referencedFile.exists() || referencedFile.isDirectory()) {
                    String errMsg = "Missing Javadoc file for " + link + " in " + sourceFile.getName();
                    if (link.startsWith("javadoc")) {
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Apr 05 07:57:56 GMT 2023
    - 8.6K bytes
    - Viewed (0)
  6. build-logic/documentation/src/main/groovy/gradlebuild/docs/GradleJavadocsPlugin.java

                options.tags("apiNote:a:API Note:", "implSpec:a:Implementation Requirements:", "implNote:a:Implementation Note:");
                // TODO: This breaks the provider
                options.links(javadocs.getJavaApi().get().toString(), javadocs.getGroovyApi().get().toString());
    
                task.source(extension.getDocumentedSource().filter(f -> f.getName().endsWith(".java")));
    
    Java
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Oct 16 13:03:20 GMT 2023
    - 6.9K bytes
    - Viewed (0)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupService.kt

        fun zip(destZip: File, srcDir: File) {
            val srcPath = srcDir.toPath()
            Files.walk(srcPath).use { paths ->
                zip(destZip,
                    paths.filter { Files.isRegularFile(it, LinkOption.NOFOLLOW_LINKS) }
                        .map { srcPath.relativize(it).toString() to it.toFile() }
                        .toList()
                )
            }
        }
    
        private
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Fri Jul 28 16:19:47 GMT 2023
    - 12.5K bytes
    - Viewed (0)
  8. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

        def rendersLinkToApiClass() {
            when:
            def link = renderer.link(type('org.gradle.SomeClass'), listener)
    
            then:
            format(link) == '<apilink class="org.gradle.SomeClass"/>'
            _ * model.isKnownType('org.gradle.SomeClass') >> true
        }
    
        def rendersLinkToApiClassArray() {
            when:
            def link = renderer.link(type('org.gradle.SomeClass', true), listener)
    
            then:
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 4.9K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

            def link = converter.resolve('org.gradle.SomeClass', classMetaData, listener)
    
            then:
            format(link) == '''<UNHANDLED-LINK>org.gradle.SomeClass</UNHANDLED-LINK>'''
        }
    
        def convertsClassAndMethodNameToLink() {
            ClassMetaData targetClass = Mock()
            MethodMetaData method = method('someName')
            _ * nameResolver.resolve('SomeClass', classMetaData) >> 'org.gradle.SomeClass'
    Groovy
    - Registered: Wed Apr 17 11:36:08 GMT 2024
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 8.7K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/CheckLinks.kt

    import model.Stage
    
    class CheckLinks(model: CIBuildModel, stage: Stage) : BaseGradleBuildType(stage = stage, failStage = false, init = {
        id("${model.projectId}_CheckLinks")
        name = "CheckLinks"
        description = "Check links in documentations"
    
        applyDefaults(
            model,
            this,
            ":docs:checkLinks",
            extraParameters = buildScanTag("CheckLinks") + " " + "-Porg.gradle.java.installations.auto-download=false"
        )
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Wed Jun 16 06:11:31 GMT 2021
    - 502 bytes
    - Viewed (0)
Back to top