diff --git a/web/docusaurus.config.ts b/web/docusaurus.config.ts index a5c258636..517aec979 100644 --- a/web/docusaurus.config.ts +++ b/web/docusaurus.config.ts @@ -157,7 +157,9 @@ const config: Config = { ignorePatterns: [ '/dashboard', '/login', + '/sign-in', '/auth/**', + '/integrations/**', ], }, ...(shouldLoadGoogleTag ? { @@ -171,8 +173,6 @@ const config: Config = { ], themeConfig: { - // Replace with your project's social card - // TODO: Replace with branded Treq social card (1200x630) image: 'img/treq-social-card.png', colorMode: { respectPrefersColorScheme: true, diff --git a/web/sidebarsLearn.ts b/web/sidebarsLearn.ts index b4c9075fb..463854964 100644 --- a/web/sidebarsLearn.ts +++ b/web/sidebarsLearn.ts @@ -37,8 +37,11 @@ const sidebars: SidebarsConfig = { 'concepts/git/git-worktrees-vs-clones', 'concepts/git/git-submodules', 'concepts/git/merge-vs-rebase', + 'concepts/git/git-reflog', + 'concepts/git/zdiff3', 'concepts/git/git-rerere', 'concepts/git/cherry-pick-vs-rebase', + 'concepts/git/force-with-lease', 'concepts/git/stacked-prs', 'concepts/git/stacked-prs-ai-assisted', 'concepts/git/graphite-alternative', @@ -102,6 +105,7 @@ const sidebars: SidebarsConfig = { 'how-to/review-ai-generated-prs', 'how-to/merge-conflicts-with-coding-agents', 'how-to/git-worktrees-vs-clones-for-agents', + 'how-to/recover-deleted-git-branch', ], }, ], diff --git a/web/src/components/HomepageFeatures/index.tsx b/web/src/components/HomepageFeatures/index.tsx deleted file mode 100644 index f2c86b7a3..000000000 --- a/web/src/components/HomepageFeatures/index.tsx +++ /dev/null @@ -1,74 +0,0 @@ -import type {ReactNode} from 'react'; -import clsx from 'clsx'; -import Heading from '@theme/Heading'; -import styles from './styles.module.css'; -import MountainSvg from '@site/static/img/undraw_docusaurus_mountain.svg'; -import TreeSvg from '@site/static/img/undraw_docusaurus_tree.svg'; -import ReactSvg from '@site/static/img/undraw_docusaurus_react.svg'; - -type FeatureItem = { - title: string; - Svg: React.ComponentType>; - description: ReactNode; -}; - -const FeatureList: FeatureItem[] = [ - { - title: 'Easy to Use', - Svg: MountainSvg, - description: ( - <> - Docusaurus was designed from the ground up to be easily installed and - used to get your website up and running quickly. - - ), - }, - { - title: 'Focus on What Matters', - Svg: TreeSvg, - description: ( - <> - Docusaurus lets you focus on your docs, and we'll do the chores. Go - ahead and move your docs into the docs directory. - - ), - }, - { - title: 'Powered by React', - Svg: ReactSvg, - description: ( - <> - Extend or customize your website layout by reusing React. Docusaurus can - be extended while reusing the same header and footer. - - ), - }, -]; - -function Feature({title, Svg, description}: FeatureItem) { - return ( -
-
- -
-
- {title} -

{description}

-
-
- ); -} - -export default function HomepageFeatures(): ReactNode { - return ( -
-
-
- {FeatureList.map((props, idx) => ( - - ))} -
-
-
- ); -} diff --git a/web/src/components/HomepageFeatures/styles.module.css b/web/src/components/HomepageFeatures/styles.module.css deleted file mode 100644 index b248eb2e5..000000000 --- a/web/src/components/HomepageFeatures/styles.module.css +++ /dev/null @@ -1,11 +0,0 @@ -.features { - display: flex; - align-items: center; - padding: 2rem 0; - width: 100%; -} - -.featureSvg { - height: 200px; - width: 200px; -} diff --git a/web/static/img/docusaurus-social-card.jpg b/web/static/img/docusaurus-social-card.jpg deleted file mode 100644 index ffcb44821..000000000 Binary files a/web/static/img/docusaurus-social-card.jpg and /dev/null differ diff --git a/web/static/img/docusaurus.png b/web/static/img/docusaurus.png deleted file mode 100644 index f458149e3..000000000 Binary files a/web/static/img/docusaurus.png and /dev/null differ diff --git a/web/static/img/treq-social-card.png b/web/static/img/treq-social-card.png new file mode 100644 index 000000000..8dcdd1b12 Binary files /dev/null and b/web/static/img/treq-social-card.png differ diff --git a/web/static/img/undraw_docusaurus_mountain.svg b/web/static/img/undraw_docusaurus_mountain.svg deleted file mode 100644 index af961c49a..000000000 --- a/web/static/img/undraw_docusaurus_mountain.svg +++ /dev/null @@ -1,171 +0,0 @@ - - Easy to Use - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/static/img/undraw_docusaurus_react.svg b/web/static/img/undraw_docusaurus_react.svg deleted file mode 100644 index 94b5cf08f..000000000 --- a/web/static/img/undraw_docusaurus_react.svg +++ /dev/null @@ -1,170 +0,0 @@ - - Powered by React - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/static/img/undraw_docusaurus_tree.svg b/web/static/img/undraw_docusaurus_tree.svg deleted file mode 100644 index d9161d339..000000000 --- a/web/static/img/undraw_docusaurus_tree.svg +++ /dev/null @@ -1,40 +0,0 @@ - - Focus on What Matters - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/web/static/robots.txt b/web/static/robots.txt index 127c2d940..94a753d6f 100644 --- a/web/static/robots.txt +++ b/web/static/robots.txt @@ -2,4 +2,8 @@ User-agent: * Allow: / Disallow: /dashboard Disallow: /login +Disallow: /sign-in Disallow: /auth/ +Disallow: /integrations/ + +Sitemap: https://treq.dev/sitemap.xml