Skip to content

Commit d5d723e

Browse files
committed
- version bump
- dark mode for API docs
1 parent 3f147fa commit d5d723e

4 files changed

Lines changed: 40 additions & 4 deletions

File tree

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
- name: Set up Python
1414
uses: actions/setup-python@v5
1515
with:
16-
python-version: ">=3.9"
16+
python-version: ">=3.11"
1717

1818
- name: Install dependencies
1919
run: |

docs/index.css

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
/* Light theme (default) */
2+
body {
3+
background-color: #fff;
4+
color: #333;
5+
}
6+
7+
a {
8+
color: #1a73e8;
9+
}
10+
11+
code, pre {
12+
background-color: #f4f4f4;
13+
color: #333;
14+
}
15+
16+
/* Dark theme */
17+
@media (prefers-color-scheme: dark) {
18+
body {
19+
background-color: #121212;
20+
color: #e0e0e0;
21+
}
22+
23+
a {
24+
color: #bb86fc;
25+
}
26+
27+
code, pre {
28+
background-color: #333;
29+
color: #f0f0f0;
30+
}
31+
32+
blockquote {
33+
background-color: #1f1f1f;
34+
color: #bbb;
35+
}
36+
}

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "py-json-analyzer"
7-
version = "0.2.0"
7+
version = "0.3.0"
88
description = "A powerful CLI and Python library for analyzing, visualizing, exploring, and generating code from JSON data"
99
authors = [
1010
{ name="MS-32154", email="[email protected]" }

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[metadata]
22
name = py-json-analyzer
3-
version = 0.2.0
3+
version = 0.3.0
44
description = A powerful CLI and Python library for analyzing, visualizing, exploring, and generating code from JSON data
55
long_description = file: README.md
66
long_description_content_type = text/markdown
@@ -17,7 +17,7 @@ install_requires =
1717
dateparser
1818
jinja2
1919
windows-curses; sys_platform == "win32"
20-
python_requires = >=3.7
20+
python_requires = >=3.11
2121

2222
[options.entry_points]
2323
console_scripts =

0 commit comments

Comments
 (0)