Skip to content

Commit 42de820

Browse files
committed
minor fixes
1 parent b1b1e37 commit 42de820

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

docs/assets/css/base.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,8 @@ html.cs-dark .highlight {
696696
.autodoc > *,
697697
.autodoc-short-description > *,
698698
.autodoc-long-description > *,
699-
.autodoc-methods > * {
699+
.autodoc-methods > *,
700+
.autodoc-properties > * {
700701
margin-top: var(--flow-space, 1.4em);
701702
}
702703

src/writeadoc/blueprint/assets/css/base.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,8 @@ html.cs-dark .highlight {
696696
.autodoc > *,
697697
.autodoc-short-description > *,
698698
.autodoc-long-description > *,
699-
.autodoc-methods > * {
699+
.autodoc-methods > *,
700+
.autodoc-properties > * {
700701
margin-top: var(--flow-space, 1.4em);
701702
}
702703

src/writeadoc/md/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ def slugify(value: str, separator: str = "-", unicode: bool = True) -> str:
6262
return re.sub(r"[{}\s]+".format(separator), separator, value)
6363

6464

65-
RX_ATTRS_IN_HEADER = re.compile("(?<!/)\{([^\n\r}]*)\}")
65+
RX_ATTRS_IN_HEADER = re.compile(r"(?<!/)\{([^\n\r}]*)\}")
6666

6767

6868
def heading_id(token: dict[str, t.Any], index: int) -> str:

0 commit comments

Comments
 (0)