robindoc 0.0.0-experimental-4b0adcd → 0.0.0-experimental-ca4f5ef

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.
Files changed (2) hide show
  1. package/lib/styles.css +96 -96
  2. package/package.json +7 -7
package/lib/styles.css CHANGED
@@ -122,6 +122,42 @@
122
122
  }
123
123
  .r-powered-link:hover {
124
124
  color: var(--r-primary-900);
125
+ }.r-docs-container {
126
+ min-height: calc(100dvh - var(--r-header-height));
127
+ overflow-wrap: break-word;
128
+ box-sizing: border-box;
129
+ }
130
+ @media screen and (width >= 768px) {
131
+ .r-docs-container {
132
+ display: grid;
133
+ justify-content: center;
134
+ column-gap: 32px;
135
+ grid-template-areas: "sidebar breadcrumbs" "sidebar contents" "sidebar content" "sidebar pagination";
136
+ grid-template-columns: 1fr calc(100% - 248px);
137
+ grid-template-rows: auto auto 1fr auto;
138
+ }
139
+ }
140
+ @media screen and (width >= 1180px) {
141
+ .r-docs-container {
142
+ column-gap: 40px;
143
+ grid-template-areas: "sidebar breadcrumbs contents" "sidebar content contents" "sidebar pagination contents";
144
+ grid-template-columns: 1fr 640px 1fr;
145
+ grid-template-rows: auto 1fr auto;
146
+ }
147
+ }.r-blog-container {
148
+ min-height: calc(100dvh - var(--r-header-height));
149
+ overflow-wrap: break-word;
150
+ box-sizing: border-box;
151
+ }
152
+ @media screen and (width >= 1180px) {
153
+ .r-blog-container {
154
+ display: grid;
155
+ justify-content: space-between;
156
+ column-gap: 40px;
157
+ grid-template-areas: "breadcrumbs contents" "content contents" "pagination contents";
158
+ grid-template-columns: 760px 220px;
159
+ grid-template-rows: auto 1fr auto;
160
+ }
125
161
  }.r-root {
126
162
  --r-header-height: 60px;
127
163
  position: relative;
@@ -354,42 +390,6 @@
354
390
  --r-cl-60: #86181d;
355
391
  --r-cl-61: #144620;
356
392
  --r-cl-62: #c24e00;
357
- }.r-docs-container {
358
- min-height: calc(100dvh - var(--r-header-height));
359
- overflow-wrap: break-word;
360
- box-sizing: border-box;
361
- }
362
- @media screen and (width >= 768px) {
363
- .r-docs-container {
364
- display: grid;
365
- justify-content: center;
366
- column-gap: 32px;
367
- grid-template-areas: "sidebar breadcrumbs" "sidebar contents" "sidebar content" "sidebar pagination";
368
- grid-template-columns: 1fr calc(100% - 248px);
369
- grid-template-rows: auto auto 1fr auto;
370
- }
371
- }
372
- @media screen and (width >= 1180px) {
373
- .r-docs-container {
374
- column-gap: 40px;
375
- grid-template-areas: "sidebar breadcrumbs contents" "sidebar content contents" "sidebar pagination contents";
376
- grid-template-columns: 1fr 640px 1fr;
377
- grid-template-rows: auto 1fr auto;
378
- }
379
- }.r-blog-container {
380
- min-height: calc(100dvh - var(--r-header-height));
381
- overflow-wrap: break-word;
382
- box-sizing: border-box;
383
- }
384
- @media screen and (width >= 1180px) {
385
- .r-blog-container {
386
- display: grid;
387
- justify-content: space-between;
388
- column-gap: 40px;
389
- grid-template-areas: "breadcrumbs contents" "content contents" "pagination contents";
390
- grid-template-columns: 760px 220px;
391
- grid-template-rows: auto 1fr auto;
392
- }
393
393
  }.r-page-container {
394
394
  min-height: calc(100dvh - var(--r-header-height));
395
395
  overflow-wrap: break-word;
@@ -1506,6 +1506,25 @@
1506
1506
  background-color: currentColor;
1507
1507
  border-radius: 0 0 0 4px;
1508
1508
  box-sizing: border-box;
1509
+ }.r-anchor-heading:hover .r-anchor-heading-link {
1510
+ visibility: visible;
1511
+ opacity: 1;
1512
+ }
1513
+
1514
+ .r-anchor-heading-link {
1515
+ visibility: hidden;
1516
+ opacity: 0;
1517
+ transition: opacity 0.3s allow-discrete;
1518
+ padding-inline: 8px;
1519
+ margin-inline-start: -4px;
1520
+ color: var(--r-main-600);
1521
+ text-decoration: none;
1522
+ }
1523
+ .r-anchor-heading-link:hover {
1524
+ color: var(--r-primary-800);
1525
+ }
1526
+ .r-anchor-heading-link::after {
1527
+ content: "#";
1509
1528
  }.r-code-section {
1510
1529
  position: relative;
1511
1530
  margin-block-start: 1.5em;
@@ -1557,25 +1576,6 @@
1557
1576
 
1558
1577
  .r-code-section-filename {
1559
1578
  font-family: var(--monospace-font, monospace, monospace);
1560
- }.r-anchor-heading:hover .r-anchor-heading-link {
1561
- visibility: visible;
1562
- opacity: 1;
1563
- }
1564
-
1565
- .r-anchor-heading-link {
1566
- visibility: hidden;
1567
- opacity: 0;
1568
- transition: opacity 0.3s allow-discrete;
1569
- padding-inline: 8px;
1570
- margin-inline-start: -4px;
1571
- color: var(--r-main-600);
1572
- text-decoration: none;
1573
- }
1574
- .r-anchor-heading-link:hover {
1575
- color: var(--r-primary-800);
1576
- }
1577
- .r-anchor-heading-link::after {
1578
- content: "#";
1579
1579
  }.r-block {
1580
1580
  width: 100%;
1581
1581
  overflow: auto;
@@ -1640,6 +1640,19 @@
1640
1640
  }
1641
1641
  .r-blockquote-caution .r-blockquote-title {
1642
1642
  color: var(--r-caution);
1643
+ }.r-code-block {
1644
+ font-family: var(--monospace-font, monospace, monospace);
1645
+ font-size: 16px;
1646
+ line-height: 1.33;
1647
+ border-radius: 6px;
1648
+ padding: 16px 20px;
1649
+ margin: 0;
1650
+ color: var(--r-primary-800);
1651
+ background-color: var(--r-main-50);
1652
+ overflow-x: auto;
1653
+ scrollbar-width: thin;
1654
+ scrollbar-color: var(--r-main-200) transparent;
1655
+ box-sizing: border-box;
1643
1656
  }.r-code-span {
1644
1657
  font-family: var(--monospace-font, monospace, monospace);
1645
1658
  background-color: var(--r-main-100);
@@ -1697,19 +1710,6 @@
1697
1710
  }.r-img {
1698
1711
  max-width: 100%;
1699
1712
  box-sizing: border-box;
1700
- }.r-code-block {
1701
- font-family: var(--monospace-font, monospace, monospace);
1702
- font-size: 16px;
1703
- line-height: 1.33;
1704
- border-radius: 6px;
1705
- padding: 16px 20px;
1706
- margin: 0;
1707
- color: var(--r-primary-800);
1708
- background-color: var(--r-main-50);
1709
- overflow-x: auto;
1710
- scrollbar-width: thin;
1711
- scrollbar-color: var(--r-main-200) transparent;
1712
- box-sizing: border-box;
1713
1713
  }.r-p {
1714
1714
  line-height: 1.8;
1715
1715
  margin-block-start: 1em;
@@ -1806,6 +1806,34 @@
1806
1806
  min-width: 24px;
1807
1807
  text-align: center;
1808
1808
  box-sizing: border-box;
1809
+ }.r-copy-text {
1810
+ position: relative;
1811
+ cursor: pointer;
1812
+ background: none;
1813
+ border: 0;
1814
+ padding: 0;
1815
+ font: inherit;
1816
+ padding: 6px 0;
1817
+ }
1818
+ .r-copy-text:hover {
1819
+ color: var(--r-main-950);
1820
+ }
1821
+ .r-copy-text::before {
1822
+ content: "";
1823
+ position: absolute;
1824
+ bottom: 0;
1825
+ left: 0;
1826
+ width: 100%;
1827
+ height: 1px;
1828
+ background: linear-gradient(to right, currentColor 30%, transparent 0%, transparent 80%, currentColor 80%) repeat-x 0px/8px;
1829
+ transition: background 0.2s;
1830
+ box-sizing: border-box;
1831
+ opacity: 0.6;
1832
+ }
1833
+
1834
+ .r-copy-text:active,
1835
+ .r-copy-text._active {
1836
+ color: var(--r-success);
1809
1837
  }.r-copy-button {
1810
1838
  position: relative;
1811
1839
  padding: 6px;
@@ -1849,34 +1877,6 @@
1849
1877
 
1850
1878
  .r-copy-button-svg {
1851
1879
  display: block;
1852
- }.r-copy-text {
1853
- position: relative;
1854
- cursor: pointer;
1855
- background: none;
1856
- border: 0;
1857
- padding: 0;
1858
- font: inherit;
1859
- padding: 6px 0;
1860
- }
1861
- .r-copy-text:hover {
1862
- color: var(--r-main-950);
1863
- }
1864
- .r-copy-text::before {
1865
- content: "";
1866
- position: absolute;
1867
- bottom: 0;
1868
- left: 0;
1869
- width: 100%;
1870
- height: 1px;
1871
- background: linear-gradient(to right, currentColor 30%, transparent 0%, transparent 80%, currentColor 80%) repeat-x 0px/8px;
1872
- transition: background 0.2s;
1873
- box-sizing: border-box;
1874
- opacity: 0.6;
1875
- }
1876
-
1877
- .r-copy-text:active,
1878
- .r-copy-text._active {
1879
- color: var(--r-success);
1880
1880
  }.r-content-link {
1881
1881
  text-decoration: none;
1882
1882
  color: inherit;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "robindoc",
3
- "version": "0.0.0-experimental-4b0adcd",
3
+ "version": "0.0.0-experimental-ca4f5ef",
4
4
  "description": "Robindoc is a framework for automatically creating documentation websites based on markdown files, built on React.js Server Components",
5
5
  "main": "./lib/index.js",
6
6
  "scripts": {
@@ -41,27 +41,27 @@
41
41
  "gray-matter": "4.0.3",
42
42
  "html-react-parser": "5.2.11",
43
43
  "marked": "17.0.1",
44
- "shiki": "3.20.0"
44
+ "shiki": "3.21.0"
45
45
  },
46
46
  "devDependencies": {
47
47
  "@rollup/plugin-commonjs": "29.0.0",
48
48
  "@rollup/plugin-terser": "0.4.4",
49
49
  "@rollup/plugin-typescript": "12.3.0",
50
50
  "@types/github-slugger": "2.0.0",
51
- "@types/node": "25.0.3",
52
- "@types/react": "19.2.7",
51
+ "@types/node": "25.0.8",
52
+ "@types/react": "19.2.8",
53
53
  "@types/react-dom": "19.2.3",
54
54
  "next": "16.1.1",
55
55
  "react": "19.2.3",
56
56
  "react-dom": "19.2.3",
57
- "rollup": "4.54.0",
57
+ "rollup": "4.55.1",
58
58
  "rollup-plugin-copy": "3.5.0",
59
59
  "rollup-plugin-sass": "1.15.3",
60
60
  "rollup-preserve-directives": "1.1.3",
61
- "sass": "1.97.1",
61
+ "sass": "1.97.2",
62
62
  "ts-patch": "3.3.0",
63
63
  "typescript": "5.9.3",
64
- "typescript-transform-paths": "3.5.5"
64
+ "typescript-transform-paths": "3.5.6"
65
65
  },
66
66
  "peerDependencies": {
67
67
  "next": ">= 13.0.0",