Skip to content

Commit

Permalink
SignedCapsulePkg: make Doxygen interpret ASCII art as unparsed code
Browse files Browse the repository at this point in the history
By default, Doxygen tries to nicely format all text within doc blocks.
Unfortunately this mangles ASCII art: add @code{.unparsed} statements
to EdkiiSystemFmpCapsule.h to cause Doxygen to display the text as
provided.

Signed-off-by: Rebecca Cran <[email protected]>
  • Loading branch information
bexcran committed Nov 27, 2024
1 parent d90bf1f commit 9fc682b
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SignedCapsulePkg/Include/Guid/EdkiiSystemFmpCapsule.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define __EDKII_SYSTEM_FMP_CAPSULE_GUID_H__

/**
@code{.unparsed}
1. Capsule Layout is below:
+------------------------------------------+
| Capsule Header (OPTIONAL, WFU) | <== ESRT.FwClass (Optional)
Expand Down Expand Up @@ -82,7 +82,7 @@
NOTE: The [Name?] entry may have different FileGuid.
Only the one, whose FileGuid matches PcdEdkiiSystemFirmwareFileGuid, takes effect.
The other entry is ignored.
@endcode
**/

#define EDKII_SYSTEM_FIRMWARE_IMAGE_DESCRIPTOR_SIGNATURE SIGNATURE_32('S', 'F', 'I', 'D')
Expand Down Expand Up @@ -121,6 +121,7 @@ typedef struct {
#pragma pack()

/**
@code{.unparsed}
System Firmware Image Descriptor is below:
+----------------------+
| System Firmware (FV) |
Expand All @@ -135,6 +136,7 @@ typedef struct {
| |
| |
+----------------------+
@endcode
**/

extern EFI_GUID gEdkiiSystemFirmwareImageDescriptorFileGuid;
Expand Down

0 comments on commit 9fc682b

Please sign in to comment.