diff --git a/docs/.codedoc/build.ts b/docs/.codedoc/build.ts deleted file mode 100644 index 8076303..0000000 --- a/docs/.codedoc/build.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { build } from '@codedoc/core'; - -import { config } from './config'; -import { installTheme$ } from './content/theme'; -import { content } from './content'; - - -build(config, content, installTheme$, { - resolve: { - modules: ['.codedoc/node_modules'] - }, - resolveLoader: { - modules: ['.codedoc/node_modules'] - } -}); diff --git a/docs/.codedoc/config.ts b/docs/.codedoc/config.ts deleted file mode 100644 index e2e69dc..0000000 --- a/docs/.codedoc/config.ts +++ /dev/null @@ -1,24 +0,0 @@ -import { configuration } from '@codedoc/core' - -export const config = configuration({ - src: { - base: 'markdown', - }, - dest: { - html: './build', - assets: './build', - bundle: './_', - styles: './_', - }, - page: { - title: { - base: 'Autorestic', - }, - }, - misc: { - github: { - user: 'cupcakearmy', - repo: 'autorestic', - }, - }, -}) diff --git a/docs/.codedoc/content/footer.tsx b/docs/.codedoc/content/footer.tsx deleted file mode 100644 index 0768db9..0000000 --- a/docs/.codedoc/content/footer.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import { CodedocConfig } from '@codedoc/core'; -import { Footer as _Footer, GitterToggle$, Watermark} from '@codedoc/core/components'; - - -export function Footer(config: CodedocConfig, renderer: any) { - let github$; - if (config.misc?.github) - github$ = GitHub; - - let community$; - if (config.misc?.gitter) - community$ = - - if (github$ && community$) return <_Footer>{github$}
{community$}; - else if (github$) return <_Footer>{github$}; - else if (community$) return <_Footer>{community$}; - else return <_Footer>; -} diff --git a/docs/.codedoc/content/header.tsx b/docs/.codedoc/content/header.tsx deleted file mode 100644 index 9ecb780..0000000 --- a/docs/.codedoc/content/header.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import { CodedocConfig } from '@codedoc/core'; -import { Header as _Header, GithubButton, Watermark } from '@codedoc/core/components'; - - -export function Header(config: CodedocConfig, renderer: any) { - return ( - <_Header>{config.misc?.github ? - - -

-
- : ''} - - - ) -} diff --git a/docs/.codedoc/content/index.tsx b/docs/.codedoc/content/index.tsx deleted file mode 100644 index 2f041c2..0000000 --- a/docs/.codedoc/content/index.tsx +++ /dev/null @@ -1,57 +0,0 @@ -import { RendererLike } from '@connectv/html' -import { File } from 'rxline/fs' -import { - Page, - Meta, - ContentNav, - Fonts, - ToC, - GithubSearch$, -} from '@codedoc/core/components' - -import { config } from '../config' -import { Header } from './header' -import { Footer } from './footer' - -export function content( - _content: HTMLElement, - toc: HTMLElement, - renderer: RendererLike, - file: File -) { - return ( - } - fonts={} - scripts={config.page.scripts} - stylesheets={config.page.stylesheets} - header={
} - footer={