Skip to content

Commit

Permalink
Rename readme_include.rst to stop name collisions (ros-infrastructure…
Browse files Browse the repository at this point in the history
  • Loading branch information
rkent authored Apr 18, 2024
1 parent fb0740e commit b88a0a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rosdoc2/verbs/build/builders/index.rst.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Welcome to the documentation for {{ package.name }}

Documentation <user_docs>
{% endif %}
{% if has_readme %}.. include:: readme_include.rst{% endif%}
{% if has_readme %}.. include:: __readme_include.rst{% endif%}

Indices and Search
==================
Expand Down
2 changes: 1 addition & 1 deletion rosdoc2/verbs/build/standard_documents.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,5 +108,5 @@ def generate_standard_document_files(standard_docs, wrapped_sphinx_directory):
else:
file_contents += f'.. literalinclude:: {file_path}\n'
file_contents += ' :language: none\n'
with open(os.path.join(wrapped_sphinx_directory, 'readme_include.rst'), 'w+') as f:
with open(os.path.join(wrapped_sphinx_directory, '__readme_include.rst'), 'w+') as f:
f.write(file_contents)

0 comments on commit b88a0a0

Please sign in to comment.