lucene/solr/solr-ref-guide
Cassandra Targett ef245c1f08 Ref Guide: typo "more then"...instead of "more than" 2017-05-22 12:37:52 -05:00
..
meta-docs Ref Guide: add a bit more info to TOC options in meta-docs 2017-05-19 14:34:00 -05:00
src Ref Guide: typo "more then"...instead of "more than" 2017-05-22 12:37:52 -05:00
tools squash merge jira/solr-10290 into master 2017-05-10 14:40:25 -07:00
README.adoc squash merge jira/solr-10290 into master 2017-05-10 14:40:25 -07:00
build.xml SOLR-10612: add jekyll support for page-toclevels, page-tocclass, and a new {section-toc} macro 2017-05-19 10:47:37 -07:00
ivy.xml squash merge jira/solr-10290 into master 2017-05-10 14:40:25 -07:00

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