From d4acffdc089b934ac8bd6d88870fa65cab898d74 Mon Sep 17 00:00:00 2001 From: Mark Paluch Date: Thu, 7 Apr 2016 10:01:46 +0200 Subject: [PATCH] Switch markdown engine to kramdown. --- _config.yml | 9 +++++---- index.html | 6 ++++++ js/copySnippets.js | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/_config.yml b/_config.yml index 70a5269..470d1f4 100644 --- a/_config.yml +++ b/_config.yml @@ -1,10 +1,11 @@ ### Global gh-pages pre-amble safe: true lsi: false -pygments: true -markdown: redcarpet -redcarpet: - extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data"] +markdown: kramdown +kramdown: + input: GFM + auto_ids: true + syntax_highlighter: rouge ### The following properties will change on a project-by-project basis diff --git a/index.html b/index.html index 53ce8d5..abc85a6 100644 --- a/index.html +++ b/index.html @@ -36,6 +36,7 @@ It makes it easy to use data access technologies, relational and non-relational + ## Main modules @@ -54,6 +55,7 @@ Core Spring concepts underpinning every Spring Data project. + ## Community modules * [Spring Data Aerospike](https://github.com/spring-projects/spring-data-aerospike) - Spring Data module for Aerospike. @@ -64,12 +66,14 @@ Core Spring concepts underpinning every Spring Data project. * [Spring Data Neo4j](http://projects.spring.io/spring-data-neo4j) - Spring based, object-graph support and repositories for Neo4j. + ## Related modules * [Spring Data JDBC Extensions](http://projects.spring.io/spring-data-jdbc-ext) - Provides extensions to the JDBC support provided in the Spring Framework. * [Spring for Apache Hadoop](http://projects.spring.io/spring-hadoop) - Simplifies Apache Hadoop by providing a unified configuration model and easy to use APIs for using HDFS, MapReduce, Pig, and Hive. + ## Release train Spring Data is an umbrella project consisting of independent projects with, in principle, different release cadences. To manage the portfolio, a BOM (Bill of Materials - see this [example](https://github.com/spring-projects/spring-data-examples/tree/master/bom)) is published with a curated set of dependencies on the individual project. The release trains have names, not versions, to avoid confusion with the sub-projects. @@ -91,6 +95,7 @@ Currently the release train contains the following modules: * Spring Data Elasticsearch (community module) + ## Quick Start {% include download_widget.md %} @@ -151,6 +156,7 @@ On top of the CRUD operations inherited from `CrudRepository`, the interface def * `findByLastName(…)` automatically writes a JPA query based on lastName and returns a collection. + ## Spring Boot starters If you are using Spring Boot, you will inherit predefined versions for each project. To plugin a newer or older release train, configure the `spring-data-releasetrain.version` property to the release train iteration name you want to use. diff --git a/js/copySnippets.js b/js/copySnippets.js index 934708c..365a6f5 100644 --- a/js/copySnippets.js +++ b/js/copySnippets.js @@ -8,7 +8,7 @@ $(document).ready(function() { Spring.configureCopyButtons = function() { if (ZeroClipboard.detectFlashSupport()) { - $(".highlight > pre").each(function(index) { + $(".highlighter-rouge > pre").each(function(index) { Spring.buildCopyButton($(this), index); } );