doxla 0.3.0 → 0.3.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "doxla",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.8",
|
|
4
4
|
"description": "Improve documentation discoverability within repos",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -13,9 +13,15 @@
|
|
|
13
13
|
"scripts": {
|
|
14
14
|
"build": "tsup",
|
|
15
15
|
"dev": "tsup --watch",
|
|
16
|
+
"prepack": "tsup",
|
|
16
17
|
"test": "vitest run",
|
|
17
18
|
"test:watch": "vitest"
|
|
18
19
|
},
|
|
20
|
+
"release": {
|
|
21
|
+
"branches": [
|
|
22
|
+
"main"
|
|
23
|
+
]
|
|
24
|
+
},
|
|
19
25
|
"keywords": [
|
|
20
26
|
"documentation",
|
|
21
27
|
"docs",
|
|
@@ -23,6 +29,10 @@
|
|
|
23
29
|
"markdown",
|
|
24
30
|
"viewer"
|
|
25
31
|
],
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/alsiola/doxla.git"
|
|
35
|
+
},
|
|
26
36
|
"license": "MIT",
|
|
27
37
|
"dependencies": {
|
|
28
38
|
"chalk": "^5.4.1",
|
|
@@ -46,6 +56,7 @@
|
|
|
46
56
|
"react-markdown": "^10.1.0",
|
|
47
57
|
"react-syntax-highlighter": "^16.1.0",
|
|
48
58
|
"remark-gfm": "^4.0.1",
|
|
59
|
+
"semantic-release": "^25.0.3",
|
|
49
60
|
"tailwind-merge": "^3.4.0",
|
|
50
61
|
"tsup": "^8.3.6",
|
|
51
62
|
"typescript": "^5.7.3",
|
package/src/app/src/App.tsx
CHANGED
|
@@ -82,7 +82,7 @@ export function MarkdownRenderer({ content, theme, docPath }: MarkdownRendererPr
|
|
|
82
82
|
);
|
|
83
83
|
|
|
84
84
|
return (
|
|
85
|
-
<div className=
|
|
85
|
+
<div className={`prose prose-neutral max-w-none ${theme === "dark" ? "prose-invert" : ""}`}>
|
|
86
86
|
<Markdown remarkPlugins={[remarkGfm]} components={components}>
|
|
87
87
|
{content}
|
|
88
88
|
</Markdown>
|