The documentation is automatically deployed to GitHub Pages and is available at: https://dspreadorg.github.io/docs
git clone https://github.com/DspreadOrg/docs.git
cd docs
The docs folder contains the markdown files that make up the documentation. The majority of the files are in the pages directory. Some notable files in this folder include:
index.mdx
: The main documentation file.
_app.mdx
: This file is used to customize the default Next.js application shell.
theme.config.jsx
: This file is for configuring the Nextra theme for the documentation.
node --version
npm --version
pnpm install
pnpm dev
-
Now, you should be able to view the docs on your local environment by visiting
http://localhost:3000
. You can explore the different markdown files and make changes as you see fit. -
Footnotes: This guide assumes you have Node.js and npm installed. The guide involves running a local server using pnpm, and viewing the documentation offline. If you encounter any issues, it may be worth verifying your Node.js and npm installations and whether you have installed pnpm correctly.
This repository is configured to automatically deploy to GitHub Pages when changes are pushed to the main branch. The deployment is handled by a GitHub Actions workflow defined in .github/workflows/deploy.yml
.
If you need to manually trigger a deployment:
- Go to the Actions tab in the GitHub repository
- Select the "Deploy to GitHub Pages" workflow
- Click "Run workflow" and select the branch you want to deploy
The deployment configuration is set up in the following files:
.github/workflows/deploy.yml
: GitHub Actions workflow for deploymentnext.config.js
: Next.js configuration with static export settingspublic/.nojekyll
: Empty file to prevent GitHub Pages from processing the site with Jekyll