Skip to content

Commit

Permalink
Eliminate gen-doc template warning and unused (problematic) import
Browse files Browse the repository at this point in the history
gen-doc is now python3 compatible

 patch by Angelo Polo; reviewed by Ekaterina Dimitrova, Mick Semb Wever for CASSANDRA-16206
  • Loading branch information
polo-language authored and michaelsembwever committed Apr 7, 2021
1 parent 9e51339 commit 6edd7db
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
13 changes: 10 additions & 3 deletions doc/source/_templates/indexcontent.html
@@ -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>
Expand Down
1 change: 0 additions & 1 deletion doc/source/_util/cql.py
Expand Up @@ -43,7 +43,6 @@
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' ]

Expand Down

0 comments on commit 6edd7db

Please sign in to comment.