mdx-docs
:memo: Document and develop React components with MDX and Next.js
File Explorer
Download Latest Version (.zip)- _app.js
- _document.js
- components.md
- custom-setup.md
- exporting.md
- getting-started.md
- index.md
- migrating-from-x0.md
- theming.md
- typography.mdx
- card.js
- components.js
- card.png
- mdx-docs.gif
- .gitignore
- babel.config.js
- next.config.js
- package-lock.json
- package.json
- README.md
- cli.js
- package-lock.json
- package.json
- README.md
- components.js
- context.js
- index.js
- Layout.js
- NavLinks.js
- Pagination.js
- withComponents.js
- .npmignore
- babel.config.js
- package-lock.json
- package.json
- README.md
- index.mdx
- index.js
- index.js.snap
- index.js
- .npmignore
- babel.config.js
- package-lock.json
- package.json
- README.md
- base.js
- index.js
- term.js
- index.js
- hello.mdx
- index.js.snap
- index.js
- .npmignore
- babel.config.js
- package-lock.json
- package.json
- README.md
- themes.js
- index.js
- package-lock.json
- package.json
- README.md
- Button.md
- index.md
- _app.js
- _document.js
- getting-started.md
- index.md
- .gitignore
- next.config.js
- package-lock.json
- package.json
- README.md
- .gitignore
- .travis.yml
- babel.config.js
- CHANGELOG.md
- Dockerfile
- lerna.json
- LICENSE.md
- now.json
- package-lock.json
- package.json
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/jxnblk/mdx-docs
Downloads the entire project code from GitHub to your computer.
cd mdx-docs
Moves into the project folder you just downloaded.
2. Docker
Easy RecommendedPrerequisites
- Git Needed to download the project code from GitHub.
- Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -t mdx-docs .
Builds a runnable image based on the Dockerfile.
docker run -p 8080:80 mdx-docs
Runs the built image as an actual container.
Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.
3. Node.js
EasyPrerequisites
npm init docs
Type this command into your terminal and run it.
After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
