mirror of https://github.com/apache/cassandra
Eliminate gen-doc template warning and unused (problematic) import
gen-doc is now python3 compatible patch by Angelo Polo; reviewed by Ekaterina Dimitrova, Mick Semb Wever for CASSANDRA-16206
This commit is contained in:
parent
9e513390b7
commit
6edd7db751
|
|
@ -1,6 +1,13 @@
|
|||
{% extends "defindex.html" %}
|
||||
{% block tables %}
|
||||
<div id="wipwarning">This documentation is currently a work-in-progress and contains a number of TODO sections.
|
||||
{% extends "layout.html" %}
|
||||
{%- block htmltitle -%}
|
||||
<title>{{ html_title }}</title>
|
||||
{%- endblock -%}
|
||||
{% block body %}
|
||||
<h1>{{ docstitle|e }}</h1>
|
||||
<p>
|
||||
{% trans %}Welcome! This is the documentation for Apache Cassandra {{ version }}.{% endtrans %}
|
||||
</p>
|
||||
<div id="wipwarning">This documentation is a work-in-progress.
|
||||
<a href="{{ pathto("bugs") }}">Contributions</a> are welcome.</div>
|
||||
|
||||
<h3>Main documentation</h3>
|
||||
|
|
|
|||
|
|
@ -43,7 +43,6 @@ from pygments.lexer import Lexer, RegexLexer, do_insertions, bygroups, words
|
|||
from pygments.token import Punctuation, Whitespace, Error, \
|
||||
Text, Comment, Operator, Keyword, Name, String, Number, Generic, Literal
|
||||
from pygments.lexers import get_lexer_by_name, ClassNotFound
|
||||
from pygments.util import iteritems
|
||||
|
||||
__all__ = [ 'CQLLexer' ]
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue