Skip to content

Commit ddcc006

Browse files
authored
Merge pull request #12 from cloudblue/LITE-26451-mkdocstring
LITE-26451: switched to mkdocstrings
2 parents e09fcd9 + 0507f2d commit ddcc006

File tree

5 files changed

+215
-91
lines changed

5 files changed

+215
-91
lines changed

docs/reference.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
API Reference
2+
=============
3+
4+
# Constants
5+
6+
::: py_rql.constants.FilterLookups
7+
8+
# Exceptions
9+
10+
::: py_rql.exceptions.RQLFilterError
11+
12+
::: py_rql.exceptions.RQLFilterParsingError
13+
14+
::: py_rql.exceptions.RQLFilterLookupError
15+
16+
::: py_rql.exceptions.RQLFilterValueError

mkdocs.yml

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ edit_uri: ""
66
copyright: Copyright © 2023 Ingram Micro. All Rights Reserved.
77
extra:
88
generator: false
9+
social:
10+
- icon: fontawesome/brands/github
11+
link: https://github.com/cloudblue
12+
- icon: material/home
13+
link: https://connect.cloudblue.com/community/
914
extra_css:
1015
- css/custom.css
1116
theme:
@@ -25,7 +30,7 @@ theme:
2530
icon: "material/lightbulb-outline"
2631
name: "Switch to light mode"
2732
markdown_extensions:
28-
- mkautodoc
33+
- admonition
2934
- pymdownx.highlight
3035
- pymdownx.superfences
3136
- pymdownx.tabbed:
@@ -40,6 +45,20 @@ plugins:
4045
- glightbox
4146
- search:
4247
lang: en
48+
- mkdocstrings:
49+
default_handler: python
50+
handlers:
51+
python:
52+
options:
53+
show_root_heading: true
54+
show_signature_annotations: true
55+
merge_init_into_class: true
56+
show_source: false
57+
- autorefs
58+
watch:
59+
- docs
60+
- py_rql
4361
nav:
4462
- Home: index.md
4563
- Guide: guide.md
64+
- API Reference: reference.md

0 commit comments

Comments
 (0)