lucene/solr/solr-ref-guide
Jan Høydahl 4a57fb4d88 SOLR-10585: Remove defaultSearchField completely in 7.0 2017-05-19 15:27:28 +02:00
..
meta-docs SOLR-10675: differentiate DRAFT builds of the html/pdf ref-guides vs the official releases 2017-05-12 11:10:41 -07:00
src SOLR-10585: Remove defaultSearchField completely in 7.0 2017-05-19 15:27:28 +02:00
tools
README.adoc
build.xml SOLR-10675: differentiate DRAFT builds of the html/pdf ref-guides vs the official releases 2017-05-12 11:10:41 -07:00
ivy.xml

README.adoc

= Solr Ref Guide

This is the source for the Solr Reference Guide.

Raw content is stored in Asciidoc (`.adoc`) formated files in the `src/` directory.

These files are processed with AsciiDoctor in 2 different ways:

* Via 'Jekyll' to build an HTML browsable version of the Ref Guide
** Prerequisites: `Ruby` and the following gems must be installed:
*** `jekyll`
*** `jekyll-asciidoc`
*** `pygments.rb`
* Via `asciidoctor-ant` to build the officially released PDF version of the Ref Guide
** Prerequisites: None (except for those required to use the Lucene/Solr build: Java, Ant)

For details on building the ref guide, see `ant -p`.

Key directories to be aware of:

* `src` - where all human edited `*.adoc` files realted to the Guide live, as well as various configuration, theme, and template files.
* `tools` - custom Java code for parsing metadata in our `src/*.adoc` files to produce some `_data/` files for site & pdf navigation purposes.
* `../build/solr-ref-guide/content` - a copy of the `src` dir generated by ant where:
** `*.template` files are processed to replace ant properties with their runtime values
** some `../build/solr-ref-guide/content/_data` files are generated by our java tools based header attributes from each of the `*.adoc` files
* `../build/solr-ref-guide/html-site` - HTML generated version of the ref guide
* `../build/solr-ref-guide/apache-solr-ref-guide-X.Y.pdf` - PDF generated version of the ref guide