- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 70 for snippets (0.07 seconds)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/FindBadMultiLangSnippets.java
*/ private void flagIfReversed(File file, Map<File, List<Error>> errors, List<Snippet> snippets) { List<Snippet> pair = snippets.stream() .filter(s -> s.lang != Language.UNKNOWN) .limit(2) .toList(); if (pair.size() == 2 && pair.get(0).lang == Language.GROOVY && pair.get(1).lang == Language.KOTLIN) {Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Fri Aug 29 10:12:17 GMT 2025 - 7.2K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle.xml
<property name="message" value="Empty javadoc comments are forbidden" /> </module> <!-- We include snippets that are wrapped in `// tag` and `// end` into the docs, stripping the leading spaces. If the context is wider than 76 characters then it'll need to scroll. This fails the build if it sees such snippets. --> <module name="org.elasticsearch.gradle.internal.checkstyle.SnippetLengthCheck">
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Mon Sep 13 12:48:46 GMT 2021 - 6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/DslReference.java
* The stylesheet directory used by the DSL reference documentation. */ public abstract DirectoryProperty getStylesheetDirectory(); /** * The stylesheet used by the DSL reference to highlight code snippets. */ public abstract RegularFileProperty getHighlightStylesheet(); /** * Resources to include with the generated documentation. */ public abstract ConfigurableFileCollection getResources();Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 1.9K bytes - Click Count (0) -
build-conventions/src/main/java/org/elasticsearch/gradle/internal/checkstyle/SnippetLengthCheck.java
import java.util.regex.Pattern; /** * Checks the snippets included in the docs aren't too wide to fit on * the page. */ public class SnippetLengthCheck extends AbstractFileSetCheck { private static final Pattern START = Pattern.compile("^( *)//\\s*tag::(.+?)\\s*$", Pattern.MULTILINE); private int max; /** * The maximum width that a snippet may have. */ public void setMax(int max) {
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Thu Jun 10 23:06:44 GMT 2021 - 3.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/HighlightInfo.java
* This class manages highlighting parameters such as fragment size, number of fragments, * and highlighting type for displaying search query matches in result snippets. */ public class HighlightInfo { /** The highlighting type (e.g., plain, html). */ private String type; /** The size of each highlighted fragment in characters. */ private int fragmentSize;Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 05 10:17:07 GMT 2026 - 5.2K bytes - Click Count (0) -
build-tools-internal/src/main/groovy/org/elasticsearch/gradle/internal/doc/DocsTestPlugin.groovy
group 'Docs' description 'List each snippet' defaultSubstitutions = commonDefaultSubstitutions perSnippet { println(it.toString()) } } project.tasks.register('listConsoleCandidates', SnippetsTask) { group 'Docs' description 'List snippets that probably should be marked // CONSOLE'
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 3.6K bytes - Click Count (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/UserManual.java
public abstract class UserManual { /** * The root of the user manual documentation. This is the source of the adoc files. */ public abstract DirectoryProperty getRoot(); /** * Source of snippets that can be inserted into the user manual */ public abstract DirectoryProperty getSnippets(); /** * Working directory for staging directory for intermediate user manual files */Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Mar 12 22:33:18 GMT 2026 - 1.6K bytes - Click Count (0) -
.gitignore
# Gradle # ------ .gradle /build /*/build /*/*/build /*/*/*/build /*/*/*/*/*/build /**/docs/src/samples/**/build /**/docs/src/snippets/**/build /*/internal-android-performance-testing/build-android-libs test-splits/ /gradle/verification-keyring.gpg # Kotlin # ------ .kotlin # IDEA # ---- !/.idea /.idea/*
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Wed Mar 11 16:15:24 GMT 2026 - 1.8K bytes - Click Count (0) -
build-tools-internal/src/main/resources/checkstyle_suppressions.xml
<suppress files="modules[/\\]lang-painless[/\\]src[/\\]test[/\\]java[/\\]org[/\\]elasticsearch[/\\]painless[/\\]ContextExampleTests.java" checks="LineLength" /> <!-- Truly temporary suppressions suppression of snippets included in documentation that are so wide that they scroll. -->
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 5.5K bytes - Click Count (0) -
docs/fr/llm-prompt.md
others... More to come... ``` Result (French): ``` ... comme prévu. ... cela fonctionnerait : ... etc. D'autres ... La suite ... ``` - This does not apply in URLs, code blocks, and code snippets. Do not remove or add spaces there. ### Headings - Prefer translating headings using the infinitive form (as is common in the existing French docs): `Créer…`, `Utiliser…`, `Ajouter…`.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 16 11:57:08 GMT 2026 - 3.6K bytes - Click Count (0)