Skip to content

Commit

Permalink
Show package index in links (#149)
Browse files Browse the repository at this point in the history
  • Loading branch information
rkent authored Oct 16, 2024
1 parent 94fd168 commit 4c32369
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
4 changes: 2 additions & 2 deletions rosdoc2/verbs/build/builders/index.rst.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@

{{ package.description }}

{% if package.urls -%}
* Links

* `Rosindex <https://index.ros.org/p/{{package.name}}>`_
{% for link in package.urls %}
* `{{ link.type.capitalize() }} <{{ link.url }}>`_
{% endfor -%}
{% endif -%}

.. toctree::
:maxdepth: 2
Expand Down
1 change: 0 additions & 1 deletion test/test_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ def test_minimum_package(module_dir):
]
excludes = [
'classes and structs', # only found in C++ projects
'links', # only found if urls defined
]
file_includes = [
'search.html',
Expand Down

0 comments on commit 4c32369

Please sign in to comment.