Skip to content

Commit

Permalink
Merge pull request #126 from melexis/doc-code-quality
Browse files Browse the repository at this point in the history
Improve documentation for Code Quality feature
  • Loading branch information
JasperCraeghs authored Mar 9, 2023
2 parents 6ad8796 + 4952812 commit a27042e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,6 @@ input file. When this setting is missing, the default value ``true`` is used.
.. _`Robot Framework`: https://robotframework.org/
.. _`--xunit report.xml`: https://robotframework.org/robotframework/latest/RobotFrameworkUserGuide.html#xunit-compatible-result-file

.. _configuration_file:

----------------------------------
Configuration File to Pass Options
----------------------------------
Expand Down Expand Up @@ -422,9 +420,9 @@ Code Quality Report

Use `-C, --code-quality` to let the plugin generate `a Code Quality report`_ for GitLab CI. All counted
Sphinx, Doxygen and XMLRunner will be included. Other checker types are not supported by this feature. The report is
a JSON file that implements `a subset of the Code Climate spec`_. Declare this file `as an artifact`_ of the
`code_quality` CI job.
If a warning doesn't contain a path, `"cq_default_path"` from the configuration_file_ will be used.
a JSON file that implements `a subset of the Code Climate spec`_. Define this file `as a codequality report artifact`_
of the CI job.
If a warning doesn't contain a path, `"cq_default_path"` from the `configuration file to pass options`_ will be used.
If not configured, `.gitlab-ci.yml` will be used as a fallback path.

=======================
Expand All @@ -446,4 +444,4 @@ development of the plugin. We encourage anyone to contribute to our repository.
.. _YAML: https://yaml.org/spec/1.2.2/
.. _a Code Quality report: https://docs.gitlab.com/ee/ci/testing/code_quality.html
.. _a subset of the Code Climate spec: https://docs.gitlab.com/ee/ci/testing/code_quality.html#implement-a-custom-tool
.. _as an artifact: https://docs.gitlab.com/ee/ci/testing/code_quality.html#download-output-in-json-format
.. _as a codequality report artifact: https://docs.gitlab.com/ee/ci/yaml/artifacts_reports.html#artifactsreportscodequality
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@
'Useable with plugin-less CI systems.',
long_description=open("README.rst").read(),
long_description_content_type='text/x-rst',
project_urls={
'Documentation': 'https://melexis.github.io/warnings-plugin',
'Source': 'https://github.com/melexis/warnings-plugin',
'Tracker': 'https://github.com/melexis/warnings-plugin/issues',
},
zip_safe=False,
license='Apache License, Version 2.0',
platforms='any',
Expand Down

0 comments on commit a27042e

Please sign in to comment.