[all-commits] [llvm/llvm-project] 7282d9: [Flang][Docs] Fix warnings when building docs.

sameeranjoshi via All-commits all-commits at lists.llvm.org
Tue Nov 10 08:55:22 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 7282d9e170a0b45e799ab28ae6be836fe8f67c2c
      https://github.com/llvm/llvm-project/commit/7282d9e170a0b45e799ab28ae6be836fe8f67c2c
  Author: sameeran joshi <sameeranjayant.joshi at amd.com>
  Date:   2020-11-10 (Tue, 10 Nov 2020)

  Changed paths:
    M flang/docs/conf.py
    M flang/docs/index.md

  Log Message:
  -----------
  [Flang][Docs] Fix warnings when building docs.

Following warning were seen with recommonmark(0.5.0) and sphinx(1.8.5).
`parser.py:75: UserWarning: Container node skipped: type=document warn("Container node skipped: type={0}".format(mdnode.t))`

The warnings are due to an issue in recommonmark's(a python package) older versions.
A better solution is to use the latest version of recommonmark(>=0.6.0) to avoid
these issue in the first place.
This patch fixes the warnings for older versions.

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D91117




More information about the All-commits mailing list