diff --git a/README.md b/README.md index 24c2e84..768f01e 100644 --- a/README.md +++ b/README.md @@ -16,4 +16,4 @@ Infrahub Sync is a versatile Python package that synchronizes data between a sou ## Using Infrahub sync -Documentation for using Infrahub Sync is available [here](https://docs.infrahub.app/sync/sync/) +Documentation for using Infrahub Sync is available [here](https://docs.infrahub.app/sync/) diff --git a/docs/docs/sync/adapters/ipfabric.mdx b/docs/docs/adapters/ipfabric.mdx similarity index 98% rename from docs/docs/sync/adapters/ipfabric.mdx rename to docs/docs/adapters/ipfabric.mdx index 5d9b2d7..894a4cf 100644 --- a/docs/docs/sync/adapters/ipfabric.mdx +++ b/docs/docs/adapters/ipfabric.mdx @@ -1,7 +1,7 @@ --- title: IP Fabric adapter --- -import ReferenceLink from "../../../src/components/Card"; +import ReferenceLink from "../../src/components/Card"; # IP Fabric adapter diff --git a/docs/docs/sync/adapters/slurpit.mdx b/docs/docs/adapters/slurpit.mdx similarity index 99% rename from docs/docs/sync/adapters/slurpit.mdx rename to docs/docs/adapters/slurpit.mdx index f2004fe..347a3fd 100644 --- a/docs/docs/sync/adapters/slurpit.mdx +++ b/docs/docs/adapters/slurpit.mdx @@ -1,7 +1,7 @@ --- title: Slurp’it adapter --- -import ReferenceLink from "../../../src/components/Card"; +import ReferenceLink from "../../src/components/Card"; # Slurp’it adapter diff --git a/docs/docs/sync/guides/creation.mdx b/docs/docs/guides/creation.mdx similarity index 100% rename from docs/docs/sync/guides/creation.mdx rename to docs/docs/guides/creation.mdx diff --git a/docs/docs/sync/guides/custom-certificates.mdx b/docs/docs/guides/custom-certificates.mdx similarity index 100% rename from docs/docs/sync/guides/custom-certificates.mdx rename to docs/docs/guides/custom-certificates.mdx diff --git a/docs/docs/sync/guides/installation.mdx b/docs/docs/guides/installation.mdx similarity index 100% rename from docs/docs/sync/guides/installation.mdx rename to docs/docs/guides/installation.mdx diff --git a/docs/docs/sync/guides/run.mdx b/docs/docs/guides/run.mdx similarity index 100% rename from docs/docs/sync/guides/run.mdx rename to docs/docs/guides/run.mdx diff --git a/docs/docs/sync/media/infrahub_sync_process.excalidraw.svg b/docs/docs/media/infrahub_sync_process.excalidraw.svg similarity index 100% rename from docs/docs/sync/media/infrahub_sync_process.excalidraw.svg rename to docs/docs/media/infrahub_sync_process.excalidraw.svg diff --git a/docs/docs/sync/readme.mdx b/docs/docs/readme.mdx similarity index 100% rename from docs/docs/sync/readme.mdx rename to docs/docs/readme.mdx diff --git a/docs/docs/sync/reference/cli.mdx b/docs/docs/reference/cli.mdx similarity index 100% rename from docs/docs/sync/reference/cli.mdx rename to docs/docs/reference/cli.mdx diff --git a/docs/docs/sync/reference/config.mdx b/docs/docs/reference/config.mdx similarity index 100% rename from docs/docs/sync/reference/config.mdx rename to docs/docs/reference/config.mdx diff --git a/docs/sidebars.ts b/docs/sidebars.ts index 81cb341..73edfc2 100644 --- a/docs/sidebars.ts +++ b/docs/sidebars.ts @@ -2,30 +2,30 @@ import type {SidebarsConfig} from '@docusaurus/plugin-content-docs'; const sidebars: SidebarsConfig = { syncSidebar: [ - 'sync/readme', + 'readme', { type: 'category', label: 'Guides', items: [ - 'sync/guides/installation', - 'sync/guides/creation', - 'sync/guides/run', + 'guides/installation', + 'guides/creation', + 'guides/run', ], }, { type: 'category', label: 'Adapters', items: [ - 'sync/adapters/ipfabric', - 'sync/adapters/slurpit', + 'adapters/ipfabric', + 'adapters/slurpit', ], }, { type: 'category', label: 'Reference', items: [ - 'sync/reference/config', - 'sync/reference/cli', + 'reference/config', + 'reference/cli', ], }, ] diff --git a/docs/src/pages/index.tsx b/docs/src/pages/index.tsx deleted file mode 100644 index 605aba8..0000000 --- a/docs/src/pages/index.tsx +++ /dev/null @@ -1,19 +0,0 @@ -import React from 'react'; -import Layout from '@theme/Layout'; -import useDocusaurusContext from '@docusaurus/useDocusaurusContext'; - -export default function Home(): React.JSX.Element { - const {siteConfig} = useDocusaurusContext(); - return ( - -
-
-

Demo

-
-
-
- ); -} \ No newline at end of file