coreboot/Documentation
Nicholas Chin b6f3ee3f8f util/util_readme: Use HTML comments in generated output
Util_readme adds comments to the top of the generated Doc/util.md file
to indicate that it is generated and should not be edited directly.
These comments are not intended to show up in the rendered HTML output.
Since Markdown does not have a native way of adding comments, the
`[comment text]: #` syntax is often used to mark the line as a comment.
This takes advantage of the fact that references (often used throughout
the docs to list long URLs at the end of the document and reference them
in inline links) aren't rendered. However, MyST parser detects these as
a duplicate reference and issues a warning, since both lines use "//" as
the comment text.

Address this by using HTML comments, since Markdown also allows raw HTML
to be used. This seems like a cleaner option compared to repurposing
references and appears to have better compatibility with various
Markdown readers, which may be useful if someone wants to read the
documentation outside of doc.coreboot.org.

While we are here, regenerate Documentation/util.md and util/README.md

Change-Id: Ibd4f61009c01c7b64594d88c5d86e472f0ccaa6c
Signed-off-by: Nicholas Chin <nic.c3.14@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/84885
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
2024-10-27 23:50:57 +00:00
..
_static
acpi Docs: Revert false MyST Parser toctree conversions 2024-09-09 23:26:42 +00:00
arch cpu/x86/Kconfig: Mark 64bit support as stable 2024-03-28 15:23:21 +00:00
community Documentation: Update the code of conduct 2024-10-14 15:29:46 +00:00
contributing Docs: Replace Recommonmark with MyST Parser 2024-03-21 16:11:56 +00:00
drivers Docs: Address remaining documents not included in toctrees 2024-10-27 23:50:29 +00:00
getting_started Docs: Revert false MyST Parser toctree conversions 2024-09-09 23:26:42 +00:00
gfx Docs: Replace Recommonmark with MyST Parser 2024-03-21 16:11:56 +00:00
infrastructure Documentation: Remove myself from various roles 2024-10-06 12:03:08 +00:00
lib Doc/rmodules.md: Move to lib 2024-09-09 21:09:19 +00:00
mainboard Docs: Address remaining documents not included in toctrees 2024-10-27 23:50:29 +00:00
northbridge Docs: Fix broken header references 2024-08-21 16:18:23 +00:00
releases Docs: Revert false MyST Parser toctree conversions 2024-09-09 23:26:42 +00:00
RFC Docs: Address remaining documents not included in toctrees 2024-10-27 23:50:29 +00:00
sbom Documentation: Update Makefile .inc references to .mk 2024-01-26 13:08:30 +00:00
security Documentation/vboot: Update vboot supported boards list 2024-08-23 19:33:50 +00:00
soc configs/builder: Update PBP path for Gen6 Xeon-SP boards 2024-10-23 10:30:26 +00:00
superio Docs: Fix broken header references 2024-08-21 16:18:23 +00:00
technotes Docs: Revert false MyST Parser toctree conversions 2024-09-09 23:26:42 +00:00
tutorial Documentation: Use pkgconf over pkg-config 2024-07-10 06:24:28 +00:00
util Documentation: Fix header levels 2024-07-09 21:10:15 +00:00
vendorcode Docs: Replace Recommonmark with MyST Parser 2024-03-21 16:11:56 +00:00
.gitignore
.mdl_style.rb
acronyms.md Docs: Revert false MyST Parser toctree conversions 2024-09-09 23:26:42 +00:00
AMD-S3.txt
beginverbatim.tex
cbfs.txt
codeflow.svg
conf.py Docs/conf.py: Explicitly define external URL schemes 2024-08-25 15:20:37 +00:00
COPYING
coreboot_logo.bmp
coreboot_logo.png
coreboot_logo.svg
corebootBuildingGuide.tex Documentation: Adjust master -> main branch 2023-09-15 18:42:46 +00:00
distributions.md doc/distributions: Update NovaCustom domain 2024-06-06 23:11:34 +00:00
documentation_license.md
endverbatim.tex
external_docs.md Docs: Revert false MyST Parser toctree conversions 2024-09-09 23:26:42 +00:00
gcov.txt
hypertransport.svg
index.md Documentation/index.md: Add coreboot's blob policy 2024-06-14 08:57:13 +00:00
Makefile Documentation/Makefile: Fix test target 2024-07-09 21:10:25 +00:00
Makefile.sphinx Docs: Replace Recommonmark with MyST Parser 2024-03-21 16:11:56 +00:00
payloads.md Documentation: Get rid of trailing whitespaces 2022-10-13 08:01:01 +00:00
POSTCODES
util.md util/util_readme: Use HTML comments in generated output 2024-10-27 23:50:57 +00:00