mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-06-28 17:34:17 -04:00
Remove most of the need for // NOTCONSOLE
and be much more stingy about what we consider a console candidate. * Add `// CONSOLE` to check-running * Fix version in some snippets * Mark groovy snippets as groovy * Fix versions in plugins * Fix language marker errors * Fix language parsing in snippets This adds support for snippets who's language is written like `[source, txt]` and `["source","js",subs="attributes,callouts"]`. This also makes language required for snippets which is nice because then we can be sure we can grep for snippets in a particular language.
This commit is contained in:
parent
6df70444a3
commit
5cff2a046d
44 changed files with 167 additions and 159 deletions
|
@ -35,7 +35,6 @@ It can be installed with pip:
|
|||
------------------------------------
|
||||
pip install elasticsearch
|
||||
------------------------------------
|
||||
// NOTCONSOLE
|
||||
|
||||
=== Versioning
|
||||
|
||||
|
@ -49,6 +48,7 @@ later, 0.4 releases are meant to work with Elasticsearch 0.90.*.
|
|||
The recommended way to set your requirements in your `setup.py` or
|
||||
`requirements.txt` is:
|
||||
|
||||
[source,txt]
|
||||
------------------------------------
|
||||
# Elasticsearch 2.x
|
||||
elasticsearch>=2.0.0,<3.0.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue