Skip to content

Commit 3e0df2b

Browse files
committed
Fix RST rendering in extension READMEs
PyPI's strict description renderer rejected the previous markup, blocking publish. Caught by a TestPyPI dry-run. - dapr-ext-langgraph, dapr-ext-strands: title underline length matches title - flask_dapr: replace markdown code fence with .. code-block:: python Signed-off-by: Sergio Herrera <627709+seherv@users.noreply.github.com>
1 parent 805cbfd commit 3e0df2b

3 files changed

Lines changed: 13 additions & 13 deletions

File tree

ext/dapr-ext-langgraph/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dapr-ext-langgraph extension
2-
=======================
2+
============================
33

44
|pypi|
55

ext/dapr-ext-strands/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dapr-ext-strands extension
2-
=======================
2+
==========================
33

44
|pypi|
55

ext/flask_dapr/README.rst

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,17 @@ Installation
2020
PubSub Events
2121
-------------
2222

23-
```python
24-
from flask import Flask, request
25-
from flask_dapr import DaprApp
26-
27-
app = Flask('myapp')
28-
dapr_app = DaprApp(app)
29-
@dapr_app.subscribe(pubsub='pubsub', topic='some_topic', route='/some_endpoint')
30-
def my_event_handler():
31-
# request.data contains pubsub event
32-
pass
33-
```
23+
.. code-block:: python
24+
25+
from flask import Flask, request
26+
from flask_dapr import DaprApp
27+
28+
app = Flask('myapp')
29+
dapr_app = DaprApp(app)
30+
@dapr_app.subscribe(pubsub='pubsub', topic='some_topic', route='/some_endpoint')
31+
def my_event_handler():
32+
# request.data contains pubsub event
33+
pass
3434
3535
References
3636
----------

0 commit comments

Comments
 (0)