[all-commits] [llvm/llvm-project] e7f05f: [Flang] Fix formatting for FIRLangRef.html

DylanFleming-arm via All-commits all-commits at lists.llvm.org
Mon Jul 11 11:49:02 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e7f05f2ad3d70594619e6fd17e19ce401cf42623
      https://github.com/llvm/llvm-project/commit/e7f05f2ad3d70594619e6fd17e19ce401cf42623
  Author: Dylan Fleming <Dylan.Fleming at arm.com>
  Date:   2022-07-11 (Mon, 11 Jul 2022)

  Changed paths:
    M flang/docs/CMakeLists.txt
    A flang/docs/FIR/CreateFIRLangRef.py
    A flang/docs/FIR/FIRLangRef_Header.md
    M flang/docs/_templates/indexsidebar.html
    M flang/docs/index.md

  Log Message:
  -----------
  [Flang] Fix formatting for FIRLangRef.html

Previously, FIRLangRef.md was incorrectly formatted.
This was due to how FIRLangRef.md had no page header,
and so the first entry would render incorrectly.

This patch introduces a header file, which is prepended to the FIRLangRef
 before it becomes a HTML file. The header is currently brief
but can be expanded upon at a later date if required.

This formatting fix also means the index page
can correctly generate a link to FIRLangRef.html and as such,
this patch also removes FIRLangRef from the sidebar and adds it to the main list of links.

Depends on D128650

Reviewed By: kiranchandramohan

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




More information about the All-commits mailing list