This is an archive of the discontinued LLVM Phabricator instance.

[docs] Fix the warnings during docs-llvm-html build
ClosedPublic

Authored by djtodoro on Jun 24 2020, 6:19 AM.

Details

Summary

Before these fixes the build of docs-llvm-html would fail.

The D80959 introduced options that are not recognized:

llvm-project/llvm/docs/CommandGuide/llvm-dwarfdump.rst:40:unknown option: --debug-info

The rG8bc03d216824 introduced a reference to an undefined label:

llvm-project/llvm/docs/GlobalISel/GenericOpcode.rst:295:undefined label: i_intr_llvm_ptrmask (if the link has no caption the label must precede a section header)

Diff Detail

Event Timeline

djtodoro created this revision.Jun 24 2020, 6:19 AM

The second one LGTM. Please commit it separately. For the first, how does syntax highlighting look with the new spaces between option and argument? Does it look okay, or is the highlighting messed up?

JDevlieghere accepted this revision.Jun 24 2020, 10:08 AM

The second one LGTM. Please commit it separately. For the first, how does syntax highlighting look with the new spaces between option and argument? Does it look okay, or is the highlighting messed up?

This is what we had before I removed them on @MaskRay's request, so it should be fine.

This revision is now accepted and ready to land.Jun 24 2020, 10:08 AM
This revision was automatically updated to reflect the committed changes.