Skip to content

Commit

Permalink
fix: netlify config
Browse files Browse the repository at this point in the history
  • Loading branch information
jer3m01 committed Feb 15, 2024
1 parent 6456142 commit 95ddc81
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions apps/docs/src/components/table-of-contents.tsx
Expand Up @@ -3,15 +3,14 @@ import { clsx } from "clsx";
import {
Accessor,
For,
Setter,
Suspense,
createEffect,
createSignal,
on,
onCleanup,
} from "solid-js";
import { isServer } from "solid-js/web";
//import { mods } from "../app";
import { mods } from "../app";

interface TocItem {
depth: number;
Expand Down Expand Up @@ -115,7 +114,7 @@ function updateHeadings(setter: Setter<TocItem[]>) {
export function TableOfContents() {
const path = useLocation();

// const toc = createAsync(() => getTOC(path.pathname));
// const toc = createAsync(() => getTOC(path.pathname));

const [toc, setToc] = createSignal<TocItem[]>([]);

Expand Down
2 changes: 1 addition & 1 deletion apps/docs/vite.config.ts
Expand Up @@ -162,7 +162,7 @@ export default defineConfig({
// async transform(code: any, id: any) {
// if (id.endsWith(".mdx?meta") || id.endsWith(".md?meta")) {
// const replacedId = id.replace(/\?meta$/, "");
//
//
// if (headingsCache.has(replacedId)) {
// return {
// code: `
Expand Down
4 changes: 2 additions & 2 deletions netlify.toml
@@ -1,5 +1,5 @@
[build]
publish = "apps/docs/netlify/"
publish = "apps/docs/dist/"

[functions]
directory = "apps/docs/netlify/functions/"
directory = "apps/docs/.netlify/functions-internal/"

0 comments on commit 95ddc81

Please sign in to comment.