1
0
mirror of https://github.com/jaandrle/deka-dom-el synced 2024-11-23 09:09:38 +01:00

Build Docs

This commit is contained in:
Jan Andrle 2024-11-22 10:31:39 +01:00
parent 0ea5234a4b
commit 25ae6d44fe
Signed by: jaandrle
GPG Key ID: B3A25AED155AFFAB
8 changed files with 30 additions and 32 deletions

View File

@ -2,7 +2,7 @@
/* jshint esversion: 11,-W097, -W040, module: true, node: true, expr: true, undef: true *//* global echo, $, pipe, s, fetch, cyclicLoop */ /* jshint esversion: 11,-W097, -W040, module: true, node: true, expr: true, undef: true *//* global echo, $, pipe, s, fetch, cyclicLoop */
echo("Building static documentation files…"); echo("Building static documentation files…");
echo("Preparing…"); echo("Preparing…");
import { path_target, pages as pages_registered, styles, dispatchEvent } from "../docs_src/ssr.js"; import { path_target, pages as pages_registered, styles, dispatchEvent, t } from "../docs_src/ssr.js";
import { createHTMl } from "./docs/jsdom.js"; import { createHTMl } from "./docs/jsdom.js";
import { register } from "../jsdom.js"; import { register } from "../jsdom.js";
const pkg= s.cat("package.json").xargs(JSON.parse); const pkg= s.cat("package.json").xargs(JSON.parse);

View File

@ -145,16 +145,14 @@ main > *{
--shiki-token-punctuation: var(--code); --shiki-token-punctuation: var(--code);
--shiki-token-link: #EE0000; --shiki-token-link: #EE0000;
white-space: pre; white-space: pre;
tab-size: 2; /* TODO: allow custom tab size?! */
tab-size: 2;
overflow: scroll; overflow: scroll;
} }
.code[data-js=todo]{ .code[data-js=todo]{
border: 1px solid var(--border); border: 1px solid var(--border);
border-radius: var(--standard-border-radius); border-radius: var(--standard-border-radius);
margin-bottom: 1rem; margin-bottom: 1rem;
margin-top: 18.4px; /* to fix shift when → dataJS=done */
margin-top: 18.4px;
padding: 1rem 1.4rem; padding: 1rem 1.4rem;
} }
.example{ .example{

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long