Skip to content

Commit fa422d4

Browse files
authored
lint-collection-docs: improve output formatting (#52)
* Improve output formatting. * Add extra docsite docs and links for baseline test. * Add more tests. * Linting.
1 parent 307140e commit fa422d4

File tree

94 files changed

+763
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

94 files changed

+763
-64
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
minor_changes:
2+
- "The output of the ``lint-collection-docs`` command has been improved; in particular multi-line messages are now indented (https://github.com/ansible-community/antsibull-docs/pull/52)."

src/antsibull_docs/cli/doc_commands/lint_collection_docs.py

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@
55
# SPDX-FileCopyrightText: 2020, Ansible Project
66
"""Entrypoint to the antsibull-docs script."""
77

8+
import os
9+
import textwrap
10+
811
from antsibull_core.logging import log
912

1013
from ... import app_context
@@ -47,9 +50,12 @@ def lint_collection_docs() -> int:
4750
errors.extend(lint_collection_plugin_docs(
4851
collection_root, collection_url=collection_url, collection_install=collection_install))
4952

50-
messages = sorted(set(f'{error[0]}:{error[1]}:{error[2]}: {error[3]}' for error in errors))
53+
messages = sorted(
54+
(os.path.normpath(error[0]), error[1], error[2], error[3].lstrip()) for error in errors
55+
)
5156

52-
for message in messages:
53-
print(message)
57+
for file, row, col, message in messages:
58+
prefix = f'{file}:{row}:{col}: '
59+
print(prefix + textwrap.indent(message, ' ' * len(prefix), lambda line: True).lstrip())
5460

5561
return 3 if messages else 0

tests/functional/baseline-default/collections/index_module.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
Index of all Modules
77
====================
88

9+
ns.col2
10+
-------
11+
12+
* :ref:`ns.col2.foo <ansible_collections.ns.col2.foo_module>` --
13+
914
ns2.col
1015
-------
1116

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
2+
.. Document meta section
3+
4+
:orphan:
5+
6+
.. Document body
7+
8+
.. Anchors
9+
10+
.. _ansible_collections.ns.col2.foo_module:
11+
12+
.. Title
13+
14+
ns.col2.foo module
15+
++++++++++++++++++
16+
17+
18+
The documentation for the module plugin, ns.col2.foo, was malformed.
19+
20+
The errors were:
21+
22+
* ::
23+
24+
5 validation errors for ModuleDocSchema
25+
doc -> short_description
26+
field required (type=value_error.missing)
27+
doc -> options -> bar -> description -> 0
28+
str type expected (type=type_error.str)
29+
doc -> options -> bar -> type
30+
string does not match regex "^(any|bits|bool|bytes|dict|float|int|json|jsonarg|list|path|raw|sid|str|tmppath|pathspec|pathlist)$" (type=value_error.str.regex; pattern=^(any|bits|bool|bytes|dict|float|int|json|jsonarg|list|path|raw|sid|str|tmppath|pathspec|pathlist)$)
31+
doc -> options -> foo
32+
value is not a valid dict (type=type_error.dict)
33+
doc -> options -> subfoo -> bam
34+
extra fields not permitted (type=value_error.extra)
35+
36+
37+
File a bug with the `ns.col2 collection <https://galaxy.ansible.com/ns/col2>`_ in order to have it corrected.

tests/functional/baseline-default/collections/ns/col2/index.rst

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,13 @@ Description
3434
Plugin Index
3535
------------
3636

37-
There are no plugins in the ns.col2 collection with automatically generated documentation.
37+
These are the plugins in the ns.col2 collection:
38+
39+
40+
Modules
41+
~~~~~~~
42+
43+
* :ref:`foo module <ansible_collections.ns.col2.foo_module>` --
3844

3945

4046

@@ -46,3 +52,4 @@ There are no plugins in the ns.col2 collection with automatically generated docu
4652
:maxdepth: 1
4753
:hidden:
4854

55+
foo_module
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
..
2+
Copyright (c) Ansible Project
3+
GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
4+
SPDX-License-Identifier: GPL-3.0-or-later
5+
6+
.. _ansible_collections.ns2.col.docsite.filter_guide:
7+
8+
Filter Guide
9+
============
10+
11+
.. contents:: Contents
12+
:local:
13+
:depth: 1
14+
15+
The :ref:`ns2.col collection <plugins_in_ns2.col>` offers two filters.
16+
17+
- ``ns2.col.foo``: foo!
18+
- ``ns2.col.bar``: bar!

tests/functional/baseline-default/collections/ns2/col/foo_become.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/become/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -363,6 +364,8 @@ Collection links
363364
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
364365
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
365366
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
367+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
368+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
366369
</p>
367370

368371
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_cache.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/cache/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -193,6 +194,8 @@ Collection links
193194
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
194195
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
195196
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
197+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
198+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
196199
</p>
197200

198201
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_callback.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/callback/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -122,6 +123,8 @@ Collection links
122123
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
123124
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
124125
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
126+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
127+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
125128
</p>
126129

127130
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_cliconf.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/cliconf/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -124,6 +125,8 @@ Collection links
124125
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
125126
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
126127
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
128+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
129+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
127130
</p>
128131

129132
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_connection.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/connection/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -203,6 +204,8 @@ Collection links
203204
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
204205
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
205206
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
207+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
208+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
206209
</p>
207210

208211
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_filter.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/filter/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -292,6 +293,8 @@ Collection links
292293
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
293294
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
294295
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
296+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
297+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
295298
</p>
296299

297300
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_inventory.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/inventory/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -132,6 +133,8 @@ Collection links
132133
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
133134
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
134135
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
136+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
137+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
135138
</p>
136139

137140
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_lookup.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/lookup/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -246,6 +247,8 @@ Collection links
246247
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
247248
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
248249
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
250+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
251+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
249252
</p>
250253

251254
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_module.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/modules/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -520,6 +521,8 @@ Collection links
520521
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
521522
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
522523
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
524+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
525+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
523526
</p>
524527

525528
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_shell.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/shell/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -199,6 +200,8 @@ Collection links
199200
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
200201
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
201202
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
203+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
204+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
202205
</p>
203206

204207
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_strategy.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/strategy/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -127,6 +128,8 @@ Collection links
127128
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
128129
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
129130
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
131+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
132+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
130133
</p>
131134

132135
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_test.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/test/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -242,6 +243,8 @@ Collection links
242243
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
243244
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
244245
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
246+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
247+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
245248
</p>
246249

247250
.. Parsing errors

tests/functional/baseline-default/collections/ns2/col/foo_vars.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
.. Document meta
33
44
:orphan:
5+
:github_url: https://github.com/ansible-community/antsibull-docs/edit/main/tests/functional/collections/ansible_collections/ns2/col/plugins/vars/foo.py?description=%23%23%23%23%23%20SUMMARY%0A%3C!---%20Your%20description%20here%20--%3E%0A%0A%0A%23%23%23%23%23%20ISSUE%20TYPE%0A-%20Docs%20Pull%20Request%0A%0A%2Blabel:%20docsite_pr
56

67
.. |antsibull-internal-nbsp| unicode:: 0xA0
78
:trim:
@@ -203,6 +204,8 @@ Collection links
203204
<a href="https://github.com/ansible-collections/community.general/issues" aria-role="button" target="_blank" rel="noopener external">Issue Tracker</a>
204205
<a href="https://github.com/ansible-collections/community.crypto" aria-role="button" target="_blank" rel="noopener external">Homepage</a>
205206
<a href="https://github.com/ansible-collections/community.internal_test_tools" aria-role="button" target="_blank" rel="noopener external">Repository (Sources)</a>
207+
<a href="https://github.com/ansible-community/antsibull-docs/issues/new?assignees=&amp;labels=&amp;template=bug_report.md" aria-role="button" target="_blank" rel="noopener external">Submit a bug report</a>
208+
<a href="./#communication-for-ns2-col" aria-role="button" target="_blank">Communication</a>
206209
</p>
207210

208211
.. Parsing errors

0 commit comments

Comments
 (0)