Spaces:
Running
Running
Fix typos
Browse files- docs/conf.py +2 -2
- docs/installation.md +1 -1
- src/slidedeckai/helpers/text_helper.py +1 -1
docs/conf.py
CHANGED
|
@@ -1,5 +1,5 @@
|
|
| 1 |
"""
|
| 2 |
-
Sphinx configuration file for the
|
| 3 |
This file sets up Sphinx to generate documentation from the source code
|
| 4 |
located in the 'src' directory, and includes support for Markdown files
|
| 5 |
using the MyST parser.
|
|
@@ -8,7 +8,7 @@ import os
|
|
| 8 |
import sys
|
| 9 |
|
| 10 |
# --- Path setup ---
|
| 11 |
-
# Crucial: This tells Sphinx to look in 'src' to find the '
|
| 12 |
sys.path.insert(0, os.path.abspath('../src'))
|
| 13 |
|
| 14 |
# --- Project information ---
|
|
|
|
| 1 |
"""
|
| 2 |
+
Sphinx configuration file for the SlideDeck AI documentation.
|
| 3 |
This file sets up Sphinx to generate documentation from the source code
|
| 4 |
located in the 'src' directory, and includes support for Markdown files
|
| 5 |
using the MyST parser.
|
|
|
|
| 8 |
import sys
|
| 9 |
|
| 10 |
# --- Path setup ---
|
| 11 |
+
# Crucial: This tells Sphinx to look in 'src' to find the 'slidedeckai' package.
|
| 12 |
sys.path.insert(0, os.path.abspath('../src'))
|
| 13 |
|
| 14 |
# --- Project information ---
|
docs/installation.md
CHANGED
|
@@ -24,6 +24,6 @@ If you want to use the latest features or contribute, clone the repository and i
|
|
| 24 |
|
| 25 |
```bash
|
| 26 |
git clone https://github.com/barun-saha/slide-deck-ai/
|
| 27 |
-
cd
|
| 28 |
pip install -e .
|
| 29 |
```
|
|
|
|
| 24 |
|
| 25 |
```bash
|
| 26 |
git clone https://github.com/barun-saha/slide-deck-ai/
|
| 27 |
+
cd slide-deck-ai
|
| 28 |
pip install -e .
|
| 29 |
```
|
src/slidedeckai/helpers/text_helper.py
CHANGED
|
@@ -63,7 +63,7 @@ def fix_malformed_json(json_str: str) -> str:
|
|
| 63 |
json_str: The input JSON string.
|
| 64 |
|
| 65 |
Returns:
|
| 66 |
-
The fixed
|
| 67 |
"""
|
| 68 |
return jr.repair_json(json_str, skip_json_loads=True)
|
| 69 |
|
|
|
|
| 63 |
json_str: The input JSON string.
|
| 64 |
|
| 65 |
Returns:
|
| 66 |
+
The fixed JSON string.
|
| 67 |
"""
|
| 68 |
return jr.repair_json(json_str, skip_json_loads=True)
|
| 69 |
|