Skip to content

Commit 485a8c3

Browse files
lefoulostiniceland
authored andcommitted
Rudimentarily fix webpage generation
1 parent e218ec2 commit 485a8c3

File tree

3 files changed

+26
-4
lines changed

3 files changed

+26
-4
lines changed

website/docs/modules/ROOT/nav.adoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@
5757
*** xref:javascriptlib/linting.adoc[]
5858
*** xref:javascriptlib/publishing.adoc[]
5959
*** xref:javascriptlib/build-examples.adoc[]
60+
** xref:groovylib/intro.adoc[]
61+
*** xref:groovylib/testing.adoc[]
6062
* xref:comparisons/why-mill.adoc[]
6163
** xref:comparisons/maven.adoc[]
6264
** xref:comparisons/gradle.adoc[]

website/docs/modules/ROOT/pages/groovylib/intro.adoc

Lines changed: 23 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,31 @@
1-
21
= Building Groovy with Mill
32
:page-aliases: Groovy_Intro_to_Mill.adoc
43
:language: Groovy
54
:language-small: groovy
65

7-
include::partial$Intro_Header.adoc[]
6+
// START-COPY-AND-PASTE
7+
// Instead of this include
8+
// include::partial$Intro_Header.adoc[]
9+
// We copy the text here, as we currently have no publishing page
10+
11+
This page contains a quick introduction to getting start with using Mill to build
12+
a simple {language} program. It walks through a series of Mill builds of increasing
13+
complexity to show you the key features and usage of the Mill build tool.
14+
The other pages of this section of the docs go into more depth into individual Mill features.
15+
These aren't intended to be read comprehensively top-to-bottom, but
16+
rather looked up when you have a particular interest e.g. in
17+
xref:{language-small}lib/testing.adoc[testing],
18+
xref:javalib/publishing.adoc[publishing], and so on.
19+
20+
The API reference for Mill's {language} toolchain can be found at:
21+
22+
* {mill-doc-url}/api/latest/mill/{language-small}lib.html[mill.{language-small}lib]
23+
24+
If you aren't sure why you would use Mill, see xref:comparisons/why-mill.adoc[] for
25+
a discussion on the motivations of the project. If you are migrating an existing project,
26+
see xref:migrating/migrating.adoc[Migrating to Mill].
27+
28+
// END-COPY-AND-PASTE
829

930
NOTE: Mill Groovy support is currently still under active development.
1031
It is expected to continue evolving over time.

website/docs/modules/ROOT/pages/groovylib/testing.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
:page-aliases: Testing_Groovy_Projects.adoc
33

44

5-
65
This page will discuss common topics around working with test suites using the Mill build tool
76

87
== Defining Unit Test Suites
@@ -19,7 +18,7 @@ include::partial$example/groovylib/testing/3-spock.adoc[]
1918

2019
== Using Spock in Java projects with Maven layout
2120

22-
include::partial$example/groovylib/testing/4-java-spock.adoc[]
21+
include::partial$example/groovylib/testing/4-spock-for-java.adoc[]
2322

2423
== Github Actions Test Reports
2524

0 commit comments

Comments
 (0)