docgen-tool 5.3.0 → 6.0.2
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/dist/app/app.tsx +18 -0
- package/dist/app/common/markdown/markdown.ts +27 -0
- package/dist/app/favicon.svg +4 -0
- package/dist/app/index.html +13 -0
- package/dist/app/pdf/react-pdf/pdf-page/pdf-footer/pdf-footer.tsx +35 -0
- package/dist/app/pdf/react-pdf/pdf-page/pdf-html-block/custom-renderers/custom-renderers.tsx +45 -0
- package/dist/app/pdf/react-pdf/pdf-page/pdf-html-block/pdf-html-block.tsx +19 -0
- package/dist/app/pdf/react-pdf/pdf-page/pdf-page.tsx +22 -0
- package/dist/app/pdf/react-pdf/pdf-styles/pdf-admonitions-styles.ts +37 -0
- package/dist/app/pdf/react-pdf/pdf-styles/pdf-docs-styles.ts +94 -0
- package/dist/app/pdf/react-pdf/pdf-styles/pdf-styles.ts +154 -0
- package/dist/app/pdf/react-pdf/pdf-styles/pdf-table-styles.ts +21 -0
- package/dist/app/pdf/react-pdf/react-pdf.tsx +107 -0
- package/dist/app/style-variables/css/style-variables.css +80 -0
- package/dist/app/style-variables/js/style-variables.js +78 -0
- package/dist/app/views/assets/styles/fonts/archivo-600-italic.ttf +0 -0
- package/dist/app/views/assets/styles/fonts/archivo-600-italic.woff2 +0 -0
- package/dist/app/views/assets/styles/fonts/archivo-600.ttf +0 -0
- package/dist/app/views/assets/styles/fonts/archivo-600.woff2 +0 -0
- package/dist/app/views/assets/styles/fonts/archivo-italic.ttf +0 -0
- package/dist/app/views/assets/styles/fonts/archivo-italic.woff2 +0 -0
- package/dist/app/views/assets/styles/fonts/archivo-regular.ttf +0 -0
- package/dist/app/views/assets/styles/fonts/archivo-regular.woff2 +0 -0
- package/dist/app/views/assets/styles/fonts/space-grotesk-600.ttf +0 -0
- package/dist/app/views/assets/styles/fonts/space-grotesk-600.woff2 +0 -0
- package/dist/app/views/assets/styles/fonts/space-grotesk-regular.ttf +0 -0
- package/dist/app/views/assets/styles/fonts/space-grotesk-regular.woff2 +0 -0
- package/dist/app/views/assets/styles/fonts/space-mono-700-italic.ttf +0 -0
- package/dist/app/views/assets/styles/fonts/space-mono-700-italic.woff2 +0 -0
- package/dist/app/views/assets/styles/fonts/space-mono-700.ttf +0 -0
- package/dist/app/views/assets/styles/fonts/space-mono-700.woff2 +0 -0
- package/dist/app/views/assets/styles/fonts/space-mono-italic.ttf +0 -0
- package/dist/app/views/assets/styles/fonts/space-mono-italic.woff2 +0 -0
- package/dist/app/views/assets/styles/fonts/space-mono-regular.ttf +0 -0
- package/dist/app/views/assets/styles/fonts/space-mono-regular.woff2 +0 -0
- package/dist/{include/require → app/views/assets}/styles/framework.css +69 -36
- package/dist/app/views/components/copyright/copyright.tsx +16 -0
- package/dist/app/views/components/footer/footer.tsx +37 -0
- package/dist/app/views/components/logo/logo.tsx +13 -0
- package/dist/app/views/components/page/page.tsx +15 -0
- package/dist/app/views/components/pdf-footer/pdf-footer.tsx +29 -0
- package/dist/app/views/components/pdf-header/pdf-header.tsx +12 -0
- package/dist/app/views/components/pdf-toggle-button/pdf-toggle-button.tsx +41 -0
- package/dist/app/views/components/side-bar/side-bar.tsx +89 -0
- package/dist/app/views/components/top-bar/top-bar.tsx +62 -0
- package/dist/app/views/content/markdown.tsx +60 -0
- package/dist/app/views/content/page.tsx +6 -0
- package/dist/app/views/html.tsx +5 -0
- package/dist/app/views/load-pages.ts +27 -0
- package/dist/app/views/pages/cover/cover.css +39 -0
- package/dist/app/views/pages/cover/cover.tsx +99 -0
- package/dist/app/views/pages/main/main.tsx +42 -0
- package/dist/app/views/pages/main/pdf-viewer.tsx +18 -0
- package/dist/app/views/router.tsx +142 -0
- package/dist/cli/cli.js +293 -0
- package/package.json +25 -19
- package/dist/cli.js +0 -1253
- package/dist/include/require/styles/fonts/DroidSansMono.woff +0 -0
- package/dist/include/require/styles/fonts/Montserrat-Italic.woff +0 -0
- package/dist/include/require/styles/fonts/Montserrat-Regular.woff +0 -0
- package/dist/include/require/styles/fonts/Montserrat-SemiBold.woff +0 -0
- package/dist/include/require/styles/fonts/Montserrat-SemiBoldItalic.woff +0 -0
- package/dist/include/require/styles/framework.js +0 -39
- package/dist/include/require/styles/icons.js +0 -9
- package/dist/include/templates/main.html +0 -14
- package/dist/include/templates/redirect.html +0 -10
- /package/dist/{include/require → app/views/assets}/print.css +0 -0
- /package/dist/{include/example → template}/contents.json +0 -0
- /package/dist/{include/example → template}/files/images/logo.svg +0 -0
- /package/dist/{include/example → template}/index.md +0 -0
- /package/dist/{include/example → template}/parameters.json +0 -0
- /package/dist/{include/example → template}/release-notes.md +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
/*
|
|
2
|
-
SVG Injector
|
|
3
|
-
Instantiate svg injector to show SVG icons
|
|
4
|
-
*/
|
|
5
|
-
const injectSVG = () => {
|
|
6
|
-
const dgIcons = document.querySelectorAll(' .dgIcon');
|
|
7
|
-
dgIcons.forEach((icon) => {
|
|
8
|
-
const { name } = icon.dataset;
|
|
9
|
-
icon.innerHTML = w_icons[name];
|
|
10
|
-
});
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
/*
|
|
14
|
-
SideBar Toggle Button
|
|
15
|
-
*/
|
|
16
|
-
const initSideBar = () => {
|
|
17
|
-
const sideBar = document.getElementById('dgSideBar');
|
|
18
|
-
const sideBarButton = document.getElementById('dgSideBarButton');
|
|
19
|
-
const sideBarIcon = sideBarButton.querySelector('span.dgIcon');
|
|
20
|
-
sideBarButton.addEventListener('click', function () {
|
|
21
|
-
if (sideBar.classList.contains('dgSideBarCollapsed')) {
|
|
22
|
-
sideBar.classList.remove('dgSideBarCollapsed');
|
|
23
|
-
sideBarIcon.setAttribute('data-name', 'x');
|
|
24
|
-
sideBarIcon.innerHTML = w_icons['x'];
|
|
25
|
-
} else {
|
|
26
|
-
sideBar.classList.add('dgSideBarCollapsed');
|
|
27
|
-
sideBarIcon.setAttribute('data-name', 'menu-2');
|
|
28
|
-
sideBarIcon.innerHTML = w_icons['menu-2'];
|
|
29
|
-
}
|
|
30
|
-
});
|
|
31
|
-
};
|
|
32
|
-
|
|
33
|
-
/*
|
|
34
|
-
Document Ready
|
|
35
|
-
*/
|
|
36
|
-
document.addEventListener('DOMContentLoaded', function () {
|
|
37
|
-
initSideBar();
|
|
38
|
-
injectSVG();
|
|
39
|
-
});
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
var w_icons = {
|
|
2
|
-
'menu-2':
|
|
3
|
-
'<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24"\n fill="none"\n stroke="currentColor"\n stroke-width="2"\n stroke-linecap="round"\n stroke-linejoin="round"\n class="icon icon-tabler icons-tabler-outline icon-tabler-menu-2"\n>\n <path stroke="none" d="M0 0h24v24H0z" fill="none"/>\n <path d="M4 6l16 0" />\n <path d="M4 12l16 0" />\n <path d="M4 18l16 0" />\n</svg>',
|
|
4
|
-
refresh:
|
|
5
|
-
'<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24"\n fill="none"\n stroke="currentColor"\n stroke-width="2"\n stroke-linecap="round"\n stroke-linejoin="round"\n class="icon icon-tabler icons-tabler-outline icon-tabler-refresh"\n>\n <path stroke="none" d="M0 0h24v24H0z" fill="none"/>\n <path d="M20 11a8.1 8.1 0 0 0 -15.5 -2m-.5 -4v4h4" />\n <path d="M4 13a8.1 8.1 0 0 0 15.5 2m.5 4v-4h-4" />\n</svg>',
|
|
6
|
-
users:
|
|
7
|
-
'<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24"\n fill="none"\n stroke="currentColor"\n stroke-width="2"\n stroke-linecap="round"\n stroke-linejoin="round"\n class="icon icon-tabler icons-tabler-outline icon-tabler-users"\n>\n <path stroke="none" d="M0 0h24v24H0z" fill="none"/>\n <path d="M9 7m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" />\n <path d="M3 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" />\n <path d="M16 3.13a4 4 0 0 1 0 7.75" />\n <path d="M21 21v-2a4 4 0 0 0 -3 -3.85" />\n</svg>',
|
|
8
|
-
x: '<svg\n xmlns="http://www.w3.org/2000/svg"\n width="24"\n height="24"\n viewBox="0 0 24 24"\n fill="none"\n stroke="currentColor"\n stroke-width="2"\n stroke-linecap="round"\n stroke-linejoin="round"\n class="icon icon-tabler icons-tabler-outline icon-tabler-x"\n>\n <path stroke="none" d="M0 0h24v24H0z" fill="none"/>\n <path d="M18 6l-12 12" />\n <path d="M6 6l12 12" />\n</svg>',
|
|
9
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<meta charset="UTF-8">
|
|
5
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" user-scalable="no">
|
|
6
|
-
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
7
|
-
<title></title>
|
|
8
|
-
<link rel="stylesheet" href="require/styles/framework.css" type="text/css" />
|
|
9
|
-
<link rel="stylesheet" href="require/print.css" media="print" />
|
|
10
|
-
<script src="require/styles/framework.js"></script>
|
|
11
|
-
<script src="require/styles/icons.js"></script>
|
|
12
|
-
</head>
|
|
13
|
-
<body></body>
|
|
14
|
-
</html>
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|