Commit Graph

85 Commits (96596f8eccebd08e845e534c91eeabfebf9b23b9)

Author SHA1 Message Date
Andy Wilkinson 78871d7a5d Tighten up sourceDocumentExtensions used for single and multi-page docs
Previously, the sourceDocumentExtension used for the single-page
documentation was htmlsingleadoc and for the multi-page docs they
were adoc and htmladoc. When finding source files to render, the
Asciidoctor Maven Plugin looks for files with a name that ends with
one of the configured extensions. This resulted in the
index.htmlsingleadoc file matching the adoc extention in the
multi-page configuration in addition to the intended match for the
index.htmladoc. As a result both the single-page and multi-page
indexes were rendered when rendering the multi-page documentation.

In addition to this unwanted rendering, if the single-page index was
rendered after the multi-page index, the multi-page index would be
overwritten by the single-page index, leaving the multi-page docs with
the wrong index file. Asciidoctor uses File.listFiles() during its
source file discovery which is documented as having no guarantee
that the resulting array will be in any specific order. As a result,
there was also no guarantee about which index we'd end up with.

Closes gh-17263
5 years ago
Andy Wilkinson 741d8735d2 Merge branch '2.1.x'
Closes gh-17576
5 years ago
dreis2211 43833c7bf0 Remove unused java-statsd-client dependencies
See gh-17508
5 years ago
Stephane Nicoll 3a49996dbd Merge branch '2.1.x'
Closes gh-17547
5 years ago
Stephane Nicoll a64317b114 Fix broken link to Spring Integration metrics section
Closes gh-17543
5 years ago
Brian Clozel 32ecb63002 Add reactor-tools dependency for javadoc generation
See gh-17128
5 years ago
dreis2211 7c6fd31d06 Use Spring 5 module of Jersey
See gh-17412
5 years ago
Andy Wilkinson 4ab4198168 Switch to Infinispan's Spring 5 integration
Closes gh-17333
5 years ago
Phillip Webb 8d03214389 Import attributes from appendix files
See gh-12005
5 years ago
Phillip Webb 61b771042d Restore version asciidoc variables
See gh-12005
5 years ago
Madhura Bhave 7e22901bb2 Fail build on unresolved documentation links
Closes gh-12005
5 years ago
Phillip Webb 1e0cf960f0 Reinstate single page HTML and PDF docs
Closes gh-16854
5 years ago
gaurav bhatnagar 1ec5fb9972 Drop deprecated 'spring.version' POM property
See gh-17043
6 years ago
Andy Wilkinson a084cc3f6c Merge branch '2.1.x'
Closes gh-17112
6 years ago
dreis2211 23b09ecca6 Make dependency available for javadoc generation
See gh-17111
6 years ago
Andy Wilkinson 23f803c6b6 Upgrade to Hamcrest 2.1, switch to hamcrest artifact from -core and -library
Closes gh-15555
6 years ago
Brian Clozel e8d39a1539 Add support for CBOR codecs in RSocket
This commit auto-configures CBOR (see https://cbor.io/) codecs in the
RSocketStrategies, using Jackson binary format support.

The required dependency is added to the rsocket starter. Binary codecs
are well suited for RSocket payloads, so this codec is added first to
the list of codecs (before the JSON one already supported).

Closes gh-16830
6 years ago
Brian Clozel ddc8b6f6b9 Fix Javadoc build for new RSocket dependencies
See gh-16021
6 years ago
Stephane Nicoll 5e58f4a8c6 Fix unresolved directives in generated documentation
Closes gh-16452
6 years ago
Stephane Nicoll df79808d38 Polish 6 years ago
Andy Wilkinson b828b398b5 Merge branch '2.1.x' 6 years ago
Andy Wilkinson a36aa67b52 Merge branch '2.0.x' into 2.1.x 6 years ago
Spring Operator 3e2b6ac8ed Update build and setup configuration to use HTTPS
See gh-16246
6 years ago
Stephane Nicoll 2b4845b335 Add dependency needed by javadoc generation on JDK 11 6 years ago
Andy Wilkinson 39971bbbd3 Add dependency needed by javadoc generation on JDK 11 6 years ago
Andy Wilkinson 0959698c32 Upgrade to Jersey 2.28
Closes gh-16114
6 years ago
Andy Wilkinson d6a869fa98 Switch to Jakarta EE API dependencies where possible
Closes gh-16113
Closes gh-16112
Closes gh-16111
Closes gh-15916
Closes gh-15689
6 years ago
Stephane Nicoll 0c45019200 Upgrade to Spring Doc Resources 0.1.0.RELEASE
Closes gh-15805
6 years ago
Brian Clozel 2a2bfb9915 Auto-generate the "Common application properties"
Prior to this commit, the application properties listed in the reference
documentation would be manually managed and updated.

This commit adds a new `spring-boot-configuration-docs` project that
extracts that information from the available JSON metadata and writes
Asciidoctor tables ready for inclusion in the reference documentation.

The `generateConfigurationPropertyTables.groovy` is using this library
and configures the sections and how namespaces should be organized.

Fixes gh-8237
6 years ago
Andy Wilkinson b339c92871 Merge branch '2.1.x' 6 years ago
Andy Wilkinson a0cf4ec017 Add dependency now needed for javadoc generation on Java 11
See gh-15775
6 years ago
Stephane Nicoll 5e2d5959f3 Polish 6 years ago
Brian Clozel b2c5fd84b9 Use spring-doc-resources 0.1.0.BUILD-SNAPSHOT 6 years ago
Brian Clozel ed3347f00d Configure Asciidoctor toolchain for ref docs
This commit replaces the Docbook+Asciidoctor documentation toolchain by
a single Asciidoctor generation process.

First, we need to unzip the contents of the Spring Asciidoctor
documentation resources provided by the
`io.spring.docsresources:spring-docs-resources` distribution zip. This
is done in a `/target/refdocs` folder. We then copy all files from
`src/main/asciidoc` to the same location, and then launch the generation
process.

Closes gh-12611
6 years ago
Stephane Nicoll 5f2517f889 Auto-configure AppOptics metrics
Closes gh-14819
6 years ago
Andy Wilkinson 1e2d5a1382 Auto-configure Micrometer's HumioMeterRegistry
Closes gh-14804
6 years ago
Stephane Nicoll d4ec45e192 Fix javadoc generation 6 years ago
Stephane Nicoll 89349c6eb9 Auto-configure KairosDB metrics
Closes gh-14821
6 years ago
Stephane Nicoll f86ed38abf Upgrade to Groovy 2.5.3
Closes gh-14825
6 years ago
Andy Wilkinson 6e5310900b Switch from thymeleaf-extras-springsecurity4 to extras-springsecurity5
Closes gh-14806
6 years ago
Stephane Nicoll 3b0f00dc20 Document how to enable Hibernate 2nd level cache with JCache
Closes gh-14734
6 years ago
Madhura Bhave 670aaf7875 Make prometheus push gateway available to javadoc generation
See gh-14353
6 years ago
Andy Wilkinson 80d27f7129 Make micrometer-jersey2's classes available to javadoc generation
See gh-12482
6 years ago
Stephane Nicoll 40de371a52 Fix build failure 6 years ago
Andy Wilkinson 4c3e2d10d1 Auto-configure Micrometer's Elastic registry
Closes gh-14523
6 years ago
Andy Wilkinson ce75a585b1 Make spring-data-jdbc available to javadoc generation
See gh-14489
6 years ago
Andy Wilkinson def02deaf0 Make micrometer-registry-dynatrace available to javadoc generation
See gh-14522
6 years ago
Stephane Nicoll f3ece97d9d Add spring-framework.version alias for spring.version
Closes gh-12544
6 years ago
Stephane Nicoll 8fcd3fcd4c Fix javadoc generation on Java10+ 6 years ago
Stephane Nicoll 6d4bab911c Polish "Add Kafka Streams auto-configuration"
Closes gh-14021
6 years ago