code: public static void addExtraAssetsTo(OrchidContext context, String[] extraCss, String[] extraJs, AssetHolder holder, Object source, String sourceKey) {
          if(!EdenUtils.isEmpty(extraCss)) {
              Arrays.stream(extraCss)
                      .map(context::getResourceEntry)
                      .filter(Objects::nonNull)
                      .map(orchidResource -> new CssPage(
                              source,
                              sourceKey,
                              orchidResource,
                              orchidResource.getReference().getTitle(),
                              orchidResource.getReference().getTitle()
                      ))
                      .forEach(holder::addCss);
          }
          if(!EdenUtils.isEmpty(extraJs)) {
              Arrays.stream(extraJs)
                      .map(context::getResourceEntry)
                      .filter(Objects::nonNull)
                      .map(orchidResource -> new JsPage(
                              source,
                              sourceKey,
                              orchidResource,
                              orchidResource.getReference().getTitle(),
                              orchidResource.getReference().getTitle()
                      ))
                      .forEach(holder::addJs);
          }
      }
docs: ----------------------------------------------------------------------------------------------------------------------