Skip to content

Conversation

bader
Copy link
Contributor

@bader bader commented Oct 22, 2021

Doxygen reports following warning (treated as an error by CI system):

clang/docs/AttributeReference.rst:7004:Error in "code-block" directive:
maximum 1 argument(s) allowed, 5 supplied.

.. code-block:: c++
class attribute((sycl_special_class)) accessor {

The problem here seems to be that code-block mark must be followed by
an empty line.

This patch also fixes code indentation.

Doxygen reports following warning (treated as an error by CI system):

clang/docs/AttributeReference.rst:7004:Error in "code-block" directive:
maximum 1 argument(s) allowed, 5 supplied.

.. code-block:: c++
  class __attribute__((sycl_special_class)) accessor {

The problem here seems to be that `code-block` mark must be followed by
an empty line.
@bader
Copy link
Contributor Author

bader commented Oct 22, 2021

This should fix the issue reported by nightly "documentation" build - https://github.com/intel/llvm/runs/3971090539?check_suite_focus=true.

Copy link
Contributor

@smanna12 smanna12 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bader bader merged commit 1a5f270 into intel:sycl Oct 22, 2021
@bader bader deleted the fix-doc-formatting branch October 22, 2021 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants