Fix links formatting for the contributing documentation

Ensure that
- the URLs shown on a single line are properly aligned (3 spaces);
- bug tracking URLs are rendered on their own separate line,
  removing the space chomping Jinja operators around the
  expressions.

Change-Id: Ice9b73e6e42071b954a9b8058ab34799ee6cce89
This commit is contained in:
Luigi Toscano 2020-03-05 10:20:08 +01:00
parent 1af121e0e5
commit 69ae03c0d2
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
The source repository for this project can be found at:
https://opendev.org/{{ cookiecutter.repo_group }}/{{ cookiecutter.repo_name }}
https://opendev.org/{{ cookiecutter.repo_group }}/{{ cookiecutter.repo_name }}
Pull requests submitted through GitHub are not monitored.
@ -11,13 +11,13 @@ to set up and use Gerrit:
Bugs should be filed on {{ cookiecutter.bug_tracker }}:
{%- if cookiecutter.bug_tracker == 'Launchpad' -%}
{% if cookiecutter.bug_tracker == 'Launchpad' -%}
https://bugs.launchpad.net/{{ cookiecutter.bug_project }}
{%- elif cookiecutter.bug_tracker == 'Storyboard' -%}
https://storyboard.openstack.org/#!/project/{{ cookiecutter.bug_project }}
{%- endif -%}
{%- endif %}
For more specific information about contributing to this repository, see the
{{ cookiecutter.service }} contributor guide:
https://docs.openstack.org/{{ cookiecutter.repo_name }}/latest/contributor/contributing.html
https://docs.openstack.org/{{ cookiecutter.repo_name }}/latest/contributor/contributing.html

View File

@ -37,11 +37,11 @@ Task Tracking
We track our tasks in {{ cookiecutter.bug_tracker }}
{%- if cookiecutter.bug_tracker == 'Launchpad' -%}
{% if cookiecutter.bug_tracker == 'Launchpad' -%}
https://bugs.launchpad.net/{{ cookiecutter.bug_project }}
{%- elif cookiecutter.bug_tracker == 'Storyboard' -%}
https://storyboard.openstack.org/#!/project/{{ cookiecutter.bug_project }}
{%- endif -%}
{%- endif %}
If you're looking for some smaller, easier work item to pick up and get started
on, search for the 'low-hanging-fruit' tag.