Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: verify rst documents with lint tool #160

Merged
merged 2 commits into from
Apr 20, 2023
Merged

Commits on Apr 19, 2023

  1. doc: fix rst-lint reported issues

    This patch fixes all rst-lint reported issues with level >= warning:
      WARNING ./doc/quality.rst:205 Blank line required after table.
      WARNING ./doc/quality-lowdelay.rst:180 Blank line required after table.
      WARNING ./doc/benchmarking.rst:2 Duplicate explicit target name: "performance".
      WARNING ./doc/benchmarking.rst:2 Duplicate explicit target name: "quality".
      WARNING ./doc/benchmarking.rst:2 Duplicate explicit target name: "performance".
      WARNING ./doc/benchmarking.rst:2 Duplicate explicit target name: "quality".
      WARNING ./doc/virtualization.rst:455 Bullet list ends without a blank line; unexpected unindent.
      WARNING ./doc/benchmarks/intel-data-center-gpu-flex-series/intel-data-center-gpu-flex-series.rst:2 Duplicate explicit target name: "22ww33_419.38_ubuntu514".
    
    It also fixes some, but not all issues with level == info. Specifically,
    "duplicate implicit target name" issues are not fixed if reported for
    duplicated sub-headers.
    
    It occurs that anonymous links should be given with `__` (2 underscores) in rst.
    There is a reason however to leave non-anonymous links (`_`, i.e. 1 underscore)
    where possible, which is everywhere except when we get an issue from rst-lint
    that anonymous link is duplicated. Such cases got fixed in this change.
    
    Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
    dvrogozh committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    a178b50 View commit details
    Browse the repository at this point in the history
  2. ci: verify rst documents with lint tool

    Signed-off-by: Dmitry Rogozhkin <dmitry.v.rogozhkin@intel.com>
    dvrogozh committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    691491f View commit details
    Browse the repository at this point in the history