Skip to content

Commit

Permalink
Merge pull request #97 from GABBAR1947/master
Browse files Browse the repository at this point in the history
 tutorials  author names  #58
  • Loading branch information
jdf committed Aug 10, 2019
2 parents 7bdd7b7 + fbf9e4a commit 1bbe055
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions generator.py
Expand Up @@ -98,16 +98,7 @@ def __init__(self, source_xml):
if xml.find('usage') is not None:
self.usage = self.get_element_text(xml.find('usage'))


self.parameter = None
if xml.find('parameter') is not None:
self.parameter = self.get_element_text(xml.find('parameter'))


self.related = None
if xml.find('related') is not None:
self.parameter = self.get_element_text(xml.find('related'))


# We store plain xml-elements for some children so that we can use convert_hypertext on them at generation time.
# This is necessary because all ReferenceItems have to be parsed before links can be resolved.
self.examples = []
Expand Down
2 changes: 1 addition & 1 deletion template/tutorial_index_template.jinja
Expand Up @@ -16,7 +16,7 @@ GitHub.</a></p>

<table width="679" cellspacing="1" cellpadding="0" border="0">
<tbody>
{% for tutorial_batch in tutorials|batch(3) %}
{% for tutorial_batch in tutorials %}
<tr>
{% for tutorial in tutorial_batch %}
<td><div class="curated-item">
Expand Down

0 comments on commit 1bbe055

Please sign in to comment.