Skip to content

Commit d666225

Browse files
authored
Merge pull request #31 from sopherapps/hotfix/error-reference-docs-not-visible
Fix error with the reference docs not being rendered
2 parents 232128c + 74139f9 commit d666225

File tree

4 files changed

+20
-4
lines changed

4 files changed

+20
-4
lines changed

docs/reference.md

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,17 @@
1-
::: pydantic_redis
1+
::: pydantic_redis
2+
handler: python
3+
options:
4+
show_root_heading: true
5+
members: []
6+
7+
8+
::: pydantic_redis.syncio
9+
handler: python
10+
options:
11+
show_root_heading: true
12+
13+
14+
::: pydantic_redis.asyncio
15+
handler: python
16+
options:
17+
show_root_heading: true

pydantic_redis/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
from pydantic_redis.syncio import Store, Model, RedisConfig
1616
import pydantic_redis.asyncio
1717

18-
__all__ = [Store, RedisConfig, Model, asyncio]
18+
__all__ = ["Store", "RedisConfig", "Model", "asyncio"]
1919

2020
__version__ = "0.5.0"

pydantic_redis/asyncio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ async def main():
3131
from .store import Store
3232
from ..config import RedisConfig
3333

34-
__all__ = [Model, Store, RedisConfig]
34+
__all__ = ["Model", "Store", "RedisConfig"]

pydantic_redis/syncio/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ class Book(Model):
2727
from .store import Store
2828
from ..config import RedisConfig
2929

30-
__all__ = [Model, Store, RedisConfig]
30+
__all__ = ["Model", "Store", "RedisConfig"]

0 commit comments

Comments
 (0)