Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions doc-generator/doc_formatter/markdown_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ def emit(self):
contents.append(section.get('heading'))
# if there are version numbers in the headings, add an anchor tag for the section using only the section name
if schema_name and not self.markdown_mode == 'slate' and not self.config.get('omit_version_in_headers'):
contents.append('<a name="' + schema_name.lower() + '"></a>\n')
contents.append('<a name="' + schema_name.lower() + '">&nbsp;</a>\n')

if section.get('release_history'):
contents.append(section['release_history'])
Expand Down Expand Up @@ -756,7 +756,7 @@ def emit(self):

# add section/schema-specific anchor tag
if schema_name and not self.markdown_mode == 'slate':
contents.append('<a name="' + schema_name.lower() + '-' + detail_name.lower() + '"></a>\n')
contents.append('<a name="' + schema_name.lower() + '-' + detail_name.lower() + '">&nbsp;</a>\n')

det_info = section['property_details'][detail_name]

Expand Down