Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
node-version: "20"

- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable

- name: Typecheck
run: yarn typecheck
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Setup Pages
uses: actions/configure-pages@v5
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Build website
run: yarn build
- name: Upload artifact
Expand Down
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,10 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*

.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
935 changes: 935 additions & 0 deletions .yarn/releases/yarn-4.7.0.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.7.0.cjs
3 changes: 0 additions & 3 deletions babel.config.js

This file was deleted.

22 changes: 14 additions & 8 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@ const darkCodeTheme = require("prism-react-renderer").themes.dracula;

/** @type {import('@docusaurus/types').Config} */
const config = {
future: {
v4: {
removeLegacyPostBuildHeadAttribute: true, // required
},
experimental_faster: {
ssgWorkerThreads: true,
},
},

title: "Flathub Documentation",
tagline: "Your Linux desktop apps in one place",
favicon: "img/favicon.svg",
Expand Down Expand Up @@ -74,14 +83,7 @@ const config = {
hashed: true,
},
],
[
require.resolve("@gabrielcsapo/docusaurus-plugin-matomo"),
{
matomoUrl: "https://webstats.gnome.org/",
siteId: "40",
siteUrl: "https://docs.flathub.org/",
},
],
"docusaurus-plugin-matomo",
[
require.resolve("@docusaurus/plugin-client-redirects"),
{
Expand Down Expand Up @@ -124,6 +126,10 @@ const config = {
content: "flatpak, flathub, packaging, tool, linux, desktop, apps",
},
],
matomo: {
matomoUrl: "https://webstats.gnome.org/",
siteId: "40",
},
navbar: {
title: "Flathub",
logo: {
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@
},
"dependencies": {
"@docusaurus/core": "3.8.1",
"@docusaurus/faster": "^3.8.1",
"@docusaurus/plugin-client-redirects": "3.8.1",
"@docusaurus/preset-classic": "3.8.1",
"@mdx-js/react": "^3.1.1",
"clsx": "^2.1.1",
"docusaurus-plugin-matomo": "^0.0.8",
"docusaurus-plugin-search-local": "^2.1.0",
"prism-react-renderer": "^2.4.1",
"react": "^19.1.0",
Expand All @@ -29,7 +31,6 @@
"devDependencies": {
"@docusaurus/module-type-aliases": "3.8.1",
"@docusaurus/tsconfig": "3.8.1",
"@gabrielcsapo/docusaurus-plugin-matomo": "^0.1.2",
"@tailwindcss/forms": "^0.5.10",
"@tailwindcss/postcss": "^4.1.12",
"@tailwindcss/typography": "^0.5.16",
Expand All @@ -53,5 +54,6 @@
},
"engines": {
"node": ">=18.0"
}
},
"packageManager": "[email protected]"
}
4 changes: 2 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { JSX } from "react";
import Layout from "@theme/Layout";

import FlathubDocs from "../../static/img/flathub-docs.svg";
import FlathubDocsSvg from "../../static/img/flathub-docs.svg";

export default function Home(): JSX.Element {
return (
Expand Down Expand Up @@ -37,7 +37,7 @@ export default function Home(): JSX.Element {
paddingBottom: "24px",
}}
>
<FlathubDocs />
<FlathubDocsSvg />
</div>

<h2>Getting started</h2>
Expand Down
Loading