Skip to content

Commit

Permalink
fix: improve docs and fix links (#1305)
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az authored Feb 9, 2024
2 parents 4cd12cf + 9869a3a commit 67749ef
Show file tree
Hide file tree
Showing 15 changed files with 93 additions and 201 deletions.
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,4 @@ cache
uniond

./site/src/lib/rehype-file-tree.ts
result
2 changes: 1 addition & 1 deletion app/app.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
in {
packages = {
app = pkgs.buildNpmPackage {
npmDepsHash = "sha256-5KgxTfOWJEioLsKdXtwRBJ6aD2F7BEs4dGa1XeOA74Y=";
npmDepsHash = "sha256-lNtno0vO/BHoQRFZh4uzl1bPNj6p5zUomTO7/ClnGkw=";
src = ./.;
sourceRoot = "app";
pname = "app";
Expand Down
2 changes: 1 addition & 1 deletion app/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
"postcss": "^8.4.34",
"prettier": "^3.2.5",
"prettier-plugin-svelte": "^3.1.2",
"prettier-plugin-tailwindcss": "0.5.11",
"prettier-plugin-tailwindcss": "^0.5.11",
"svelte": "^4.2.10",
"svelte-check": "^3.6.3",
"tailwind-scrollbar": "^3.0.5",
Expand Down
13 changes: 0 additions & 13 deletions app/svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,6 @@ export default {
preprocessMeltUI()
]),
kit: {
csp: {
directives: {
'frame-ancestors': [
'self',
'localhost',
'localhost:*',
'https://verify.walletconnect.com/',
'https://verify.walletconnect.org/',
'https://*.union.build',
'https://union.build'
]
}
},
adapter: adapter({
strict: true
}),
Expand Down
22 changes: 0 additions & 22 deletions site/.prettierrc.mjs

This file was deleted.

8 changes: 1 addition & 7 deletions site/astro.config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import svelte from "@astrojs/svelte";
import tailwind from "@astrojs/tailwind";
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
import { markdownConfiguration } from "./markdown.config.ts";
import { defineConfig, squooshImageService } from "astro/config";

const SITE_URL = "https://union.build";

Expand Down Expand Up @@ -79,9 +79,6 @@ export default defineConfig({
dark: "./src/assets/union-logo/union-logo-transparent.svg",
light: "./src/assets/union-logo/union-logo-white-transparent.svg",
},
editLink: {
baseUrl: "https://github.com/unionlabs/union/edit/main/site",
},
sidebar: [
{
label: "Introduction",
Expand Down Expand Up @@ -143,9 +140,6 @@ export default defineConfig({
}),
svelte(),
],
image: {
service: squooshImageService(),
},
vite: {
optimizeDeps: {
exclude: ["@urql/svelte", "echarts"],
Expand Down
Loading

0 comments on commit 67749ef

Please sign in to comment.