[all-commits] [llvm/llvm-project] 9b9933: [mlir][doc] Fix links and references in documentat...

zero9178 via All-commits all-commits at lists.llvm.org
Tue May 25 05:51:39 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9b99336d5daf9425f12c747fd746118457a80ed8
      https://github.com/llvm/llvm-project/commit/9b99336d5daf9425f12c747fd746118457a80ed8
  Author: Markus Böck <markus.boeck02 at gmail.com>
  Date:   2021-05-25 (Tue, 25 May 2021)

  Changed paths:
    M mlir/docs/Dialects/Affine.md
    M mlir/docs/Dialects/Builtin.md
    M mlir/docs/Dialects/LLVM.md
    M mlir/docs/Dialects/Linalg.md
    M mlir/docs/Dialects/MemRef.md
    M mlir/docs/Dialects/SPIR-V.md
    M mlir/include/mlir/Dialect/Affine/IR/AffineOps.td
    M mlir/include/mlir/Dialect/MemRef/IR/MemRefOps.td
    M mlir/include/mlir/IR/BuiltinAttributes.td
    M mlir/include/mlir/IR/BuiltinTypes.td

  Log Message:
  -----------
  [mlir][doc] Fix links and references in documentation of Dialects

This patch is the first in a series of patches fixing markdown links and references inside the mlir documentation. I chose to split it in a few reviews to be able to iterate quicker and to ease review.

This patch addresses all broken references to other markdown files and sections inside the Dialects folder.

One change that was also done was to insert '/' between the markdown files and section:
Example:
Builtin.md#integertype
was changed to:
Builtin.md/#integertype

After compilation, hugo then translates the later to jump directly to the integer type section, but not the former. Not inserting the slash would simply jump to just the Builtin page, instead of the integertype section. I therefore changed occurrences of the former version to the later as well.

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




More information about the All-commits mailing list