quackage 1.0.48 → 1.0.50

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/docs/index.html CHANGED
@@ -9,7 +9,7 @@
9
9
  <title>Documentation</title>
10
10
 
11
11
  <!-- Application Stylesheet -->
12
- <link href="css/docuserve.css" rel="stylesheet">
12
+ <link href="https://cdn.jsdelivr.net/npm/pict-docuserve@0/dist/css/docuserve.css" rel="stylesheet">
13
13
  <!-- KaTeX stylesheet for LaTeX equation rendering -->
14
14
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.21/dist/katex.min.css">
15
15
  <!-- PICT Dynamic View CSS Container -->
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "quackage",
3
- "version": "1.0.48",
3
+ "version": "1.0.50",
4
4
  "description": "Building. Testing. Quacking. Reloading.",
5
5
  "main": "source/Quackage-CLIProgram.js",
6
6
  "scripts": {
@@ -60,12 +60,12 @@
60
60
  "gulp-env": "^0.4.0",
61
61
  "gulp-sourcemaps": "^3.0.0",
62
62
  "gulp-terser": "^2.1.0",
63
- "indoctrinate": "^1.0.4",
63
+ "indoctrinate": "^1.0.6",
64
64
  "jsdoc": "^4.0.5",
65
65
  "mocha": "10.4.0",
66
66
  "npm-check-updates": "^18.0.1",
67
67
  "nyc": "^15.1.0",
68
- "pict-docuserve": "^0.0.8",
68
+ "pict-docuserve": "^0.0.16",
69
69
  "pict-service-commandlineutility": "^1.0.18",
70
70
  "vinyl-buffer": "^1.0.1",
71
71
  "vinyl-source-stream": "^2.0.0"
@@ -55,6 +55,17 @@ class QuackageCommandPrepareDocs extends libCommandLineCommand
55
55
  let tmpCatalogFile = libPath.join(tmpDocsFolder, 'retold-catalog.json');
56
56
  let tmpKeywordIndexFile = libPath.join(tmpDocsFolder, 'retold-keyword-index.json');
57
57
 
58
+ // Check if docs folder differs from module root — if so, we need to
59
+ // also scan the docs folder for local content (architecture pages,
60
+ // examples, etc.) so they appear in search results.
61
+ let tmpDocsContentRoot = libPath.resolve(tmpDocsFolder);
62
+ let tmpResolvedDirectoryRoot = libPath.resolve(tmpDirectoryRoot);
63
+ let tmpExtraScanArgs = [];
64
+ if (tmpDocsContentRoot !== tmpResolvedDirectoryRoot)
65
+ {
66
+ tmpExtraScanArgs = ['-e', tmpDocsContentRoot];
67
+ }
68
+
58
69
  let tmpAnticipate = this.fable.newAnticipate();
59
70
 
60
71
  // Step 1: Generate the documentation catalog
@@ -87,7 +98,7 @@ class QuackageCommandPrepareDocs extends libCommandLineCommand
87
98
  'generate_keyword_index',
88
99
  '-d', tmpDirectoryRoot,
89
100
  '-o', tmpKeywordIndexFile
90
- ],
101
+ ].concat(tmpExtraScanArgs),
91
102
  { cwd: this.fable.AppData.CWD },
92
103
  fNext
93
104
  );
@@ -1,73 +0,0 @@
1
- /* ============================================================================
2
- Pict Docuserve - Base Styles
3
- ============================================================================ */
4
-
5
- /* Reset and base */
6
- *, *::before, *::after {
7
- box-sizing: border-box;
8
- }
9
-
10
- html, body {
11
- margin: 0;
12
- padding: 0;
13
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
14
- font-size: 16px;
15
- line-height: 1.5;
16
- color: #423D37;
17
- background-color: #fff;
18
- -webkit-font-smoothing: antialiased;
19
- -moz-osx-font-smoothing: grayscale;
20
- }
21
-
22
- /* Typography */
23
- h1, h2, h3, h4, h5, h6 {
24
- margin-top: 0;
25
- line-height: 1.3;
26
- }
27
-
28
- a {
29
- color: #2E7D74;
30
- text-decoration: none;
31
- }
32
-
33
- a:hover {
34
- color: #256861;
35
- }
36
-
37
- /* Application container */
38
- #Docuserve-Application-Container {
39
- min-height: 100vh;
40
- }
41
-
42
- /* Utility: scrollbar styling */
43
- ::-webkit-scrollbar {
44
- width: 8px;
45
- }
46
-
47
- ::-webkit-scrollbar-track {
48
- background: #F5F0E8;
49
- }
50
-
51
- ::-webkit-scrollbar-thumb {
52
- background: #D4CCBE;
53
- border-radius: 4px;
54
- }
55
-
56
- ::-webkit-scrollbar-thumb:hover {
57
- background: #B5AA9A;
58
- }
59
-
60
- /* Responsive adjustments */
61
- @media (max-width: 768px) {
62
- html {
63
- font-size: 14px;
64
- }
65
-
66
- #Docuserve-Sidebar-Container {
67
- display: none;
68
- }
69
-
70
- .docuserve-body {
71
- flex-direction: column;
72
- }
73
- }