@vx-oss/docs-python 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/dist/_virtual/_rolldown/runtime.js +13 -0
- package/dist/badge.js +11 -0
- package/dist/build.js +179 -0
- package/dist/components/collapsible.js +16 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.js +150 -0
- package/dist/convert.d.ts +29 -0
- package/dist/convert.js +31 -0
- package/dist/generated.d.ts +83 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +3 -0
- package/dist/plugin.js +28 -0
- package/dist/renderer.d.ts +24 -0
- package/dist/renderer.js +57 -0
- package/dist/source.d.ts +53 -0
- package/dist/source.js +73 -0
- package/fumapy/__init__.py +65 -0
- package/fumapy/mksource/__init__.py +10 -0
- package/fumapy/mksource/document_module.py +93 -0
- package/fumapy/mksource/json_encoder.py +29 -0
- package/fumapy/mksource/models.py +60 -0
- package/fumapy/mksource/simplify_docstring.py +166 -0
- package/fumapy/mksource/utils.py +59 -0
- package/package.json +95 -0
- package/pyproject.toml +15 -0
- package/styles/preset.css +8 -0
package/package.json
ADDED
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@vx-oss/docs-python",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "The built-in Python docgen for Fumadocs",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"Docs",
|
|
7
|
+
"Python"
|
|
8
|
+
],
|
|
9
|
+
"homepage": "https://vezham.com",
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"author": "Fuma Nama",
|
|
12
|
+
"repository": {
|
|
13
|
+
"type": "git",
|
|
14
|
+
"url": "https://github.com/vezham/fumadocs",
|
|
15
|
+
"directory": "packages/python"
|
|
16
|
+
},
|
|
17
|
+
"files": [
|
|
18
|
+
"fumapy",
|
|
19
|
+
"pyproject.toml",
|
|
20
|
+
"styles",
|
|
21
|
+
"dist"
|
|
22
|
+
],
|
|
23
|
+
"type": "module",
|
|
24
|
+
"module": "./dist/index.js",
|
|
25
|
+
"types": "./dist/index.d.ts",
|
|
26
|
+
"exports": {
|
|
27
|
+
"./preset.css": "./styles/preset.css",
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"import": "./dist/index.js"
|
|
31
|
+
},
|
|
32
|
+
"./components": {
|
|
33
|
+
"types": "./dist/components/index.d.ts",
|
|
34
|
+
"import": "./dist/components/index.js"
|
|
35
|
+
}
|
|
36
|
+
},
|
|
37
|
+
"publishConfig": {
|
|
38
|
+
"access": "public"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@base-ui/react": "^1.7.0",
|
|
42
|
+
"class-variance-authority": "^0.7.1",
|
|
43
|
+
"cnfast": "^0.1.0",
|
|
44
|
+
"hast-util-to-jsx-runtime": "^2.3.6",
|
|
45
|
+
"lucide-react": "^1.34.0",
|
|
46
|
+
"mdast-util-mdx": "^3.0.0",
|
|
47
|
+
"remark": "^15.0.1",
|
|
48
|
+
"remark-rehype": "^11.1.2",
|
|
49
|
+
"unified": "^11.0.5",
|
|
50
|
+
"vfile": "^6.0.3"
|
|
51
|
+
},
|
|
52
|
+
"devDependencies": {
|
|
53
|
+
"@types/estree": "^1.0.9",
|
|
54
|
+
"@types/hast": "^3.0.5",
|
|
55
|
+
"@types/mdast": "^4.0.4",
|
|
56
|
+
"@types/mdx": "^2.0.14",
|
|
57
|
+
"@types/node": "^26.3.0",
|
|
58
|
+
"@types/react": "^19.2.18",
|
|
59
|
+
"@types/react-dom": "^19.2.5",
|
|
60
|
+
"react": "^19.2.8",
|
|
61
|
+
"react-dom": "^19.2.8",
|
|
62
|
+
"tsdown": "0.22.14",
|
|
63
|
+
"vitest": "^4.1.11",
|
|
64
|
+
"tsconfig": "0.0.1",
|
|
65
|
+
"@vx-oss/docs-react": "1.0.3",
|
|
66
|
+
"@vx-oss/docs-core": "1.0.3"
|
|
67
|
+
},
|
|
68
|
+
"peerDependencies": {
|
|
69
|
+
"@types/hast": "*",
|
|
70
|
+
"@types/mdx": "*",
|
|
71
|
+
"@types/react": "*",
|
|
72
|
+
"react": "19.x.x",
|
|
73
|
+
"@vx-oss/docs-core": "^1.0.1",
|
|
74
|
+
"@vx-oss/docs-react": "^1.0.1"
|
|
75
|
+
},
|
|
76
|
+
"peerDependenciesMeta": {
|
|
77
|
+
"@types/hast": {
|
|
78
|
+
"optional": true
|
|
79
|
+
},
|
|
80
|
+
"@types/mdx": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
83
|
+
"@types/react": {
|
|
84
|
+
"optional": true
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
"scripts": {
|
|
88
|
+
"build": "tsdown",
|
|
89
|
+
"clean": "rimraf dist",
|
|
90
|
+
"dev": "tsdown --watch",
|
|
91
|
+
"lint": "oxlint .",
|
|
92
|
+
"types:check": "tsc --noEmit",
|
|
93
|
+
"test": "vitest run"
|
|
94
|
+
}
|
|
95
|
+
}
|
package/pyproject.toml
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "fumapy"
|
|
3
|
+
version = "0.1.0"
|
|
4
|
+
description = "Extract API documentation from source code and docstrings. For the python API extension for FumaDocs."
|
|
5
|
+
|
|
6
|
+
authors = [{ name = "florez", email = "florez@ethz.ch" }, { name = 'fuma-nama' }]
|
|
7
|
+
requires-python = ">=3.10"
|
|
8
|
+
dependencies = ["griffe (>=1.13.0, <2.0.0)", "griffe_typingdoc (>=0.2.8, <1.0.0)"]
|
|
9
|
+
|
|
10
|
+
[project.scripts]
|
|
11
|
+
fumapy-generate = "fumapy:generate"
|
|
12
|
+
|
|
13
|
+
[build-system]
|
|
14
|
+
requires = ["hatchling"]
|
|
15
|
+
build-backend = "hatchling.build"
|