🗃️ Custom Mdx components
2 items
📄️ Getting started with Docusaurus
Generate a new site
📄️ Deployment to Cloudflare
Follow this tutorial for setting up cloudflare pages deployment with Github Actions. Use the action below instead.
📄️ Deployment to Github Pages
Below is a workflow YAML to deploy a Docusaurus site with pnpm to GitHub Pages via GitHub Actions. An action to deploy will be triggered on each push to the main branch.
📄️ Tailwind CSS Setup
Installing Tailwind CSS adds only 575 bytes to the bundle size!
📄️ Algolia setup
Algolia dashboard settings
📄️ Custom Fonts
To add custom fonts to your Docusaurus site, you can choose between using Google Fonts or serving the fonts locally.
📄️ EmailJS
EmailJS is great for reporting a broken link. Follow the step below to be notified via email every time a request is made to a broken or non existing link on your website.
📄️ Environment variables
1. Install dotenv
📄️ Images
Files in the static directory don't need to be imported in order to be used in a React component.
📄️ Sticky media
Only works if page is loaded directly going to the address of the page with sticky media. It doesn't work coming from another page on the same site.