File tree Expand file tree Collapse file tree
main/resources/io/jenkins/plugins/designlibrary/Home Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6161 <s : card icon =" symbol-sparkles-outline plugin-ionicons-api"
6262 title =" ${%use-with-ai}"
6363 description =" ${%use-with-ai-description}"
64- href =" ${rootURL}/${it.urlName}/ llms.txt"
64+ href =" llms.txt"
6565 tag =" ${%New}" />
6666 </div >
6767 </s : section >
Original file line number Diff line number Diff line change 22import static org .junit .jupiter .api .TestInstance .Lifecycle .PER_CLASS ;
33
44import io .jenkins .plugins .designlibrary .UISample ;
5- import java .util .ArrayList ;
65import java .util .List ;
76import java .util .stream .Stream ;
87import org .htmlunit .html .DomNode ;
@@ -22,6 +21,8 @@ class ValidRelativeUrlsTest {
2221
2322 private List <UISample > samples ;
2423
24+ private final List <String > otherUrls = List .of ("llms.txt" );
25+
2526 @ BeforeAll
2627 void beforeAll (JenkinsRule jenkins ) {
2728 this .jenkins = jenkins ;
@@ -39,8 +40,8 @@ void validRelativeUrls(String url) throws Exception {
3940 webClient .getOptions ().setPrintContentOnFailingStatusCode (false );
4041 webClient .getOptions ().setThrowExceptionOnFailingStatusCode (false );
4142
42- List <String > validUrls =
43- new ArrayList <>( samples . stream (). map ( UISample :: getUrlName ). toList () );
43+ List <String > validUrls = Stream . concat ( samples . stream (). map ( UISample :: getUrlName ), otherUrls . stream ())
44+ . toList ();
4445
4546 var page = webClient .goTo (url );
4647 var links = page .querySelectorAll (".jdl-section a" );
You can’t perform that action at this time.
0 commit comments