diff --git a/.gitignore b/.gitignore index 2185456..e801571 100644 --- a/.gitignore +++ b/.gitignore @@ -44,7 +44,4 @@ website/i18n/**/* #!website/i18n/fr #!website/i18n/fr/**/* -.netlify - -.env -.env +.netlify \ No newline at end of file diff --git a/docs/fileshare.mdx b/docs/fileshare.mdx deleted file mode 100644 index 854f965..0000000 --- a/docs/fileshare.mdx +++ /dev/null @@ -1,28 +0,0 @@ ---- -sidebar_position: 8 -slug: /fileshare.jonasjones.dev/ ---- - -# Fileshare Service - -A simple cloudflare worker to upload and download files. This service is available at [fileshare.jonasjones.dev](https://fileshare.jonasjones.dev). The source code is available on [Github](https://github.com/JonasunderscoreJones/fileshare.jonasjones.dev). - -## Dashboard usage - -The dashboard allows for easy file upload, download and deletion. To upload and delete, a password is required. It is set with a cloudflare wrangler secret. - -### Upload - -Uploading is done by selecting a file by clicking on the `Browse` button, then selecting the checkbox for 7 day expiry or selecting a custom expiry date. After entering the password, the file can be uploaded. - -### Download - -Dowloading is as simple as clicking on the file ID in the list of files or clicking on a direct link you might have received. - -### Delete - -Deleting a file can be done by using the dropdown to select a file and entering the password. After clicking the `delete` button, the file will be removed from the server. - -## API usage - - diff --git a/docusaurus.config.js b/docusaurus.config.js index 6f89450..cd96a6e 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -54,27 +54,6 @@ const config = { themeConfig: /** @type {import('@docusaurus/preset-classic').ThemeConfig} */ ({ - algolia: { - // The application ID provided by Algolia - appId: '59JHI8GRGH', - - // Public API key: it is safe to commit it - apiKey: '87a26fafb2fb30c39503a44b80fad4cf', - - indexName: 'jonasjones', - - // Optional: see doc section below - contextualSearch: true, - - // Optional: Specify domains where the navigation should occur through window.location instead on history.push. Useful when our Algolia config crawls multiple documentation sites and we want to navigate with window.location.href to them. - //externalUrlRegex: 'external\\.com|domain\\.com', - - // Optional: Replace parts of the item URLs from Algolia. Useful when using the same search index for multiple deployments using a different baseUrl. You can use regexp or string in the `from` param. For example: localhost:3000 vs myCompany.com/docs - //replaceSearchResultPathname: { - // from: '/docs/', // or as RegExp: /\/docs\// - // to: '/', - //}, - }, prism: { additionalLanguages: ['properties', 'ini', 'powershell', 'bash', 'yaml'], }, diff --git a/package.json b/package.json index e879312..226e74d 100644 --- a/package.json +++ b/package.json @@ -14,11 +14,9 @@ "write-heading-ids": "docusaurus write-heading-ids" }, "dependencies": { - "@docsearch/js": "^3.8.2", "@docusaurus/core": "3.5.2", "@docusaurus/preset-classic": "3.5.2", "@mdx-js/react": "^3.0.0", - "cheerio": "^1.0.0-rc.12", "clsx": "^2.0.0", "prism-react-renderer": "^2.3.0", "react": "^18.0.0", diff --git a/static/img/favicon.png b/static/img/favicon.png index aa38615..87ec8d2 100644 Binary files a/static/img/favicon.png and b/static/img/favicon.png differ