Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add dev and test category type #76

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ public String renderAsHtml() {
.replaceAll("@messaging@", categoryRenderer.renderAsHtml(categoryFetcher.fetch(Type.MESSAGING).orElseThrow()))
.replaceAll("@misc@", categoryRenderer.renderAsHtml(categoryFetcher.fetch(Type.MISC).orElseThrow()))
.replaceAll("@reactive@", categoryRenderer.renderAsHtml(categoryFetcher.fetch(Type.REACTIVE).orElseThrow()))
.replaceAll("@views@", categoryRenderer.renderAsHtml(categoryFetcher.fetch(Type.VIEWS).orElseThrow()));
.replaceAll("@views@", categoryRenderer.renderAsHtml(categoryFetcher.fetch(Type.VIEWS).orElseThrow()))
.replaceAll("@dev-and-test@", categoryRenderer.renderAsHtml(categoryFetcher.fetch(Type.DEV_AND_TEST).orElseThrow()));

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ public enum Type {
MESSAGING("messaging"),
MISC("misc"),
REACTIVE("reactive"),
VIEWS("views");
VIEWS("views"),
DEV_AND_TEST("dev-and-test");

private final String value;

Expand Down
2 changes: 2 additions & 0 deletions buildSrc/src/main/resources/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,8 @@ <h2 class="title">Snapshot Documentation</h2>
</div>

</div>
@dev-and-test@

@analytics@

@api@
Expand Down
30 changes: 17 additions & 13 deletions modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,6 @@ categories:
slug: 'micronaut-aot'
title: 'Micronaut AOT'
description: 'Implements ahead-of-time (AOT) optimizations for Micronaut applications'
control-panel:
slug: 'micronaut-control-panel'
title: 'Micronaut Control Panel'
description: 'The Micronaut Control Panel module provides a web UI that allows you to view and manage the state of your Micronaut application, typically in a development environment'
snapshot: true
gradle-plugin:
standard-docs: false
slug: 'micronaut-gradle-plugin'
Expand Down Expand Up @@ -254,14 +249,6 @@ categories:
title: 'Micronaut Session'
description: 'Integration for HTTP sessions with the Micronaut Framework.'
snapshot: true
test-resources:
slug: 'micronaut-test-resources'
title: 'Micronaut Test Resources'
description: 'Test resources integration (like Testcontainers) for the Micronaut Framework'
test:
slug: 'micronaut-test'
title: 'Micronaut Test'
description: 'Testing framework (Junit5/Spock) extensions for Micronaut'
toml:
slug: 'micronaut-toml'
title: 'Micronaut TOML'
Expand Down Expand Up @@ -321,3 +308,20 @@ categories:
slug: 'micronaut-liquibase'
title: 'Micronaut Liquibase'
description: 'Configuration to integrate Micronaut and Liquibase'
dev-and-test:
title: 'Dev & Test'
image: 'https://micronaut.io/wp-content/uploads/2021/01/MicronautTraining.svg'
repositories:
test:
slug: 'micronaut-test'
title: 'Micronaut Test'
description: 'Testing framework (Junit5/Spock) extensions for Micronaut'
test-resources:
slug: 'micronaut-test-resources'
title: 'Micronaut Test Resources'
description: 'Test resources integration (like Testcontainers) for the Micronaut Framework'
control-panel:
slug: 'micronaut-control-panel'
title: 'Micronaut Control Panel'
description: 'The Micronaut Control Panel module provides a web UI that allows you to view and manage the state of your Micronaut application, typically in a development environment'
snapshot: true