Skip to content

Commit 1d945cc

Browse files
authored
Merge pull request #172 from yingmanwumen/fix_docs
fix(docs): `README.rst` build error in 0.10.0 Doc
2 parents 422db40 + 0d8f59f commit 1d945cc

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/sphinx.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
default: true
2727
- name: Install Python packages
2828
run: |
29-
pip install maturin sphinx myst-parser[sphinx]
29+
pip install maturin sphinx
3030
- name: Build ulist
3131
run: |
3232
maturin build --out dist -m ulist/Cargo.toml

README.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ Performance
2323

2424
| Ulist is extremly fast, and even compared with libraries like Numpy.
2525
It is
26+
2627
- more efficient on the ``string`` and ``boolean`` array,
2728
- same level efficient on the ``integer`` array,
2829
- and a bit slower on the ``floating`` array.

docs/conf.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@
3333
extensions = [
3434
'sphinx.ext.autodoc',
3535
'sphinx.ext.githubpages',
36-
'myst_parser',
3736
]
3837

3938
# Add any paths that contain templates here, relative to this directory.
@@ -59,3 +58,5 @@
5958

6059

6160
master_doc = 'index'
61+
62+
source_suffix = { '.rst': 'restructuredtext' }

docs/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,4 @@ Welcome to ulist's documentation!
77

88

99

10-
.. include:: ../README.md
11-
:parser: myst_parser.sphinx_
10+
.. include:: ../README.rst

0 commit comments

Comments
 (0)