Skip to content

Commit 77804f1

Browse files
committed
Switch doc to Markdown
1 parent 143cfe7 commit 77804f1

7 files changed

Lines changed: 154 additions & 6 deletions

File tree

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ charset = utf-8
1414
quote_type = double
1515
max_line_length = 88
1616

17-
[*.rst]
17+
[*.md]
1818
max_line_length = 88
1919

2020
[*.yml]

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Closes #<ticket number>
22

33
<!-- Please do not remove this, even if you think you don't need it -->
44
### Successful PR Checklist:
5-
<!-- In case of doubt, we're here to help. CONTRIBUTING.rst might help too -->
5+
<!-- In case of doubt, we're here to help. CONTRIBUTING.md might help too -->
66
- [ ] Tests
77
- [ ] (not applicable?)
88
- [ ] Documentation

docs/conf.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
3434
# ones.
3535
extensions = [
36+
"myst_parser",
3637
"sphinx.ext.napoleon",
3738
"sphinx.ext.autodoc",
3839
"sphinx_autodoc_typehints",
@@ -41,6 +42,12 @@
4142
"sphinx_copybutton",
4243
]
4344

45+
myst_enable_extensions = [
46+
"colon_fence",
47+
"deflist",
48+
"tasklist",
49+
]
50+
4451
set_type_checking_flag = True
4552

4653
# Add any paths that contain templates here, relative to this directory.

poetry.lock

Lines changed: 141 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ classifiers = [
1313
"Intended Audience :: Developers",
1414
"License :: OSI Approved :: MIT License",
1515
]
16-
readme = "README.rst"
16+
readme = "README.md"
1717
keywords = ["postgres", "task-queue"]
1818
homepage = "https://procrastinate.readthedocs.io/"
1919
repository = "https://github.com/procrastinate-org/procrastinate/"
@@ -80,6 +80,7 @@ sphinx-autodoc-typehints = "*"
8080
sphinx-copybutton = "*"
8181
sphinx-github-changelog = "*"
8282
sphinxcontrib-programoutput = "*"
83+
myst-parser = "*"
8384

8485
[tool.poetry-dynamic-versioning]
8586
enable = true

scripts/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,4 @@ for the project.
55

66
These scripts are expected to be run as-is, not in poetry or a virtualenv.
77

8-
See [CONTRIBUTING.rst](../CONTRIBUTING.rst) for more details.
8+
See [CONTRIBUTING.md](../CONTRIBUTING.md) for more details.

scripts/docs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env bash
22
set -eux
33

4-
poetry run sphinx-build -EW docs docs/_build/html "$@"
4+
poetry run sphinx-build -E docs docs/_build/html "$@"

0 commit comments

Comments
 (0)