Skip to content

Commit

Permalink
Fix heading spacing (#1338)
Browse files Browse the repository at this point in the history
* Set heading margins

Set heading: margin_top to $block_margin_bottom

* Remove redundant use of Non-normative.

Deleted the use of .Non-normative before 5 notes.
  • Loading branch information
wmat committed Apr 9, 2024
1 parent c6cf0cb commit e2c70c0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 7 deletions.
5 changes: 3 additions & 2 deletions src/resources/themes/riscv-spec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,9 @@ codespan:
menu_caret_content: " <font size=\"1.15em\"><color rgb=\"000000\">\u203a</color></font> "
heading:
align: left
margin_bottom: 0.25in
margin_top: 0.5in
margin_bottom: $block_margin_bottom
#margin_top: 0.25in
margin_top: $block_margin_bottom
min_height_after: auto
font_color: 000000
font_family: headings
Expand Down
2 changes: 0 additions & 2 deletions src/sscofpmf.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ LCOFIP bit is cleared by software before servicing the count overflow interrupt
resulting from one or more count overflows.

[NOTE]
.Non-normative
====
There are not separate overflow status and overflow interrupt enable bits. In
practice, enabling overflow interrupt generation (by clearing the OF bit) is
Expand All @@ -94,7 +93,6 @@ overflow interrupt can be generated.
====

[NOTE]
.Non-normative
====
Software can distinguish newly overflowed counters (yet to be serviced by an
overflow interrupt handler) from overflowed counters that have already been
Expand Down
3 changes: 0 additions & 3 deletions src/sstc.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ time - typically as a result of writing stimecmp. The interrupt will be taken
based on the standard interrupt enable and delegation rules.

[NOTE]
.Non-normative
====
A spurious timer interrupt might occur if an interrupt handler advances
stimecmp then immediately returns, because STIP might not yet have fallen in
Expand All @@ -58,7 +57,6 @@ poll STIP until it falls.
====

[NOTE]
.Non-normative
====
In systems in which a supervisor execution environment (SEE) provides timer
facilities via an SBI function call, this SBI call will continue to support
Expand Down Expand Up @@ -134,7 +132,6 @@ typically as a result of writing vstimecmp. The interrupt will be taken based
on the standard interrupt enable and delegation rules while V=1.

[NOTE]
.Non-normative
====
In systems in which a supervisor execution environment (SEE) implemented by an
HS-mode hypervisor provides timer facilities via an SBI function call, this SBI
Expand Down

0 comments on commit e2c70c0

Please sign in to comment.