Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for programlisting (0.2 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

            doc.documentElement.bookinfo[0]?.appendChild(releaseInfo)
        }
    
        def fixProgramListings(Document doc) {
            doc.documentElement.depthFirst().findAll { it.name() == 'programlisting' || it.name() == 'screen' }.each {Element element ->
                element.setTextContent(normalise(element.getTextContent()))
            }
        }
    
        static String normalise(String content) {
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri May 16 07:58:02 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/JavadocConverter.java

                if (!"pre".equals(element)) {
                    return false;
                }
                Element newElement = document.createElement("programlisting");
                //we're making an assumption that all <pre> elements contain java code
                //this should mostly be true :)
                //if it isn't true then the syntax highlighting won't spoil the view too much anyway
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed May 21 06:20:45 UTC 2025
    - 29.3K bytes
    - Viewed (0)
Back to top