Skip to content

Commit 210077e

Browse files
committed
Fix a few docs linters
1 parent 1887408 commit 210077e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.pre-commit-config.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ repos:
265265

266266
- id: linkcheck
267267
name: linkcheck
268-
entry: make -C sample/ linkcheck SPHINXOPTS=-W
268+
entry: uv run sphinx-build -W -b linkcheck sample build-sample/
269269
language: python
270270
types_or: [rst]
271271
stages: [manual]
@@ -274,7 +274,7 @@ repos:
274274

275275
- id: spelling
276276
name: spelling
277-
entry: make -C sample/ spelling SPHINXOPTS=-W
277+
entry: uv run sphinx-build -W -b spelling sample build-sample/
278278
language: python
279279
types_or: [rst]
280280
stages: [manual]
@@ -283,7 +283,7 @@ repos:
283283

284284
- id: docs
285285
name: Build Documentation
286-
entry: make docs
286+
entry: uv run sphinx-build -W -b notion sample build-sample/
287287
language: python
288288
stages: [manual]
289289
pass_filenames: false

sample/index.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@ Some text with a link to `Google <https://google.com>`_ and `<https://example.co
88
This is **bold** and *italic* and ``inline code``.
99

1010
.. note::
11+
1112
This is an important note that demonstrates the note admonition support.
12-
It will be converted to a Notion callout block with a note emoji.
1313

1414
.. warning::
15+
1516
This is a warning that demonstrates the warning admonition support.
16-
It will be converted to a Notion callout block with a warning emoji and yellow background.
1717

1818
.. tip::
19+
1920
This is a helpful tip that demonstrates the tip admonition support.
20-
It will be converted to a Notion callout block with a lightbulb emoji and green background.
2121

2222
.. code-block:: python
2323
@@ -58,6 +58,6 @@ Heading 3 with ``inline code``
5858

5959
Regular paragraph.
6060

61-
This is a multiline
61+
This is a multi-line
6262
block quote with
6363
multiple lines.

0 commit comments

Comments
 (0)