All Projects โ†’ jaywcjlove โ†’ Rdoc

jaywcjlove / Rdoc

โš›๏ธ๐Ÿ“„๐Ÿš€ Fast static site generator for React, Just write Markdown file. @react-doc

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Rdoc

Zola
A fast static site generator in a single binary with everything built-in. https://www.getzola.org
Stars: โœญ 7,823 (+5221.77%)
Mutual labels:  static-site-generator, content-management-system, markdown
Verless
A simple and lightweight Static Site Generator.
Stars: โœญ 276 (+87.76%)
Mutual labels:  static-site-generator, content-management-system, markdown
Cactus
๐ŸŒตA composable static site generator
Stars: โœญ 63 (-57.14%)
Mutual labels:  static-site-generator, markdown
Docnado
Rapid documentation tool that will blow you away...
Stars: โœญ 67 (-54.42%)
Mutual labels:  static-site-generator, markdown
Gatsby Advanced Starter
A high performance skeleton starter for GatsbyJS that focuses on SEO/Social features/development environment.
Stars: โœญ 1,224 (+732.65%)
Mutual labels:  static-site-generator, markdown
Hastysite
A small but powerful static site generator
Stars: โœญ 42 (-71.43%)
Mutual labels:  static-site-generator, markdown
Pagic
A static site generator powered by Deno + React
Stars: โœญ 1,016 (+591.16%)
Mutual labels:  static-site-generator, markdown
Flybook
โœˆ๏ธ FlyBook is a simple utility to generate static website such as gh-pages, manual of you projects
Stars: โœญ 76 (-48.3%)
Mutual labels:  static-site-generator, markdown
Couscous
Couscous is good.
Stars: โœญ 807 (+448.98%)
Mutual labels:  static-site-generator, markdown
Jekyll
๐ŸŒ Jekyll is a blog-aware static site generator in Ruby
Stars: โœญ 43,803 (+29697.96%)
Mutual labels:  static-site-generator, markdown
Log4brains
โœ๏ธ Log and publish your architecture decisions (ADR)
Stars: โœญ 98 (-33.33%)
Mutual labels:  static-site-generator, markdown
Kulfon
๐Ÿ‘น ๐Ÿธ JavaScript static site generator with Org Mode & Markdown support (ฮฑ) ๐Ÿ’ฅ
Stars: โœญ 112 (-23.81%)
Mutual labels:  static-site-generator, markdown
Metalsmith
An extremely simple, pluggable static site generator.
Stars: โœญ 7,692 (+5132.65%)
Mutual labels:  static-site-generator, markdown
Jbake
Java based open source static site/blog generator for developers & designers.
Stars: โœญ 904 (+514.97%)
Mutual labels:  static-site-generator, markdown
Blog Generator
static blog generator for my blog at https://zupzup.org/
Stars: โœญ 57 (-61.22%)
Mutual labels:  static-site-generator, markdown
Nextein
A static site generator with markdown + react for Next.js
Stars: โœญ 825 (+461.22%)
Mutual labels:  static-site-generator, markdown
Glim
Static site generator which is semi-compatible with Jekyll
Stars: โœญ 76 (-48.3%)
Mutual labels:  static-site-generator, markdown
Solo
๐ŸŽธ B3log ๅˆ†ๅธƒๅผ็คพๅŒบ็š„ Java ๅšๅฎข็ซฏ่Š‚็‚น็ณป็ปŸ๏ผŒๆฌข่ฟŽๅŠ ๅ…ฅไธ‹ไธ€ไปฃ็คพๅŒบ็ฝ‘็ปœใ€‚B3log distributed community blog-end node system, welcome to join the next generation community network.
Stars: โœญ 780 (+430.61%)
Mutual labels:  static-site-generator, markdown
Cecil
Your content driven static site generator.
Stars: โœญ 137 (-6.8%)
Mutual labels:  static-site-generator, markdown
Nextra
The Next.js Static Site Generator
Stars: โœญ 1,271 (+764.63%)
Mutual labels:  static-site-generator, markdown

rdoc

Join the chat at https://gitter.im/j-rdoc/Lobby jaywcjlove/sb

Blazing-fast static site generator for React, Just write Markdown file. Visit the react-doc.github.io website for more information.

The documentation site is also a demo example.

Getting Started

It's really easy to get started with rdoc. Just install it as a module and run it to create your website.

Let's get you started!

Install

Install rdoc globally on your system. Youโ€™ll need to have Node >= 8 on your local development machine. You can use n to easily switch Node versions between different projects.

npm install rdoc -g

# /usr/local/bin/rdoc -> /usr/local/lib/node_modules/rdoc/.bin/rdoc.js
# /usr/local/bin/rdoc-cli -> /usr/local/lib/node_modules/rdoc/.bin/rdoc.js

Added rdoc-cli command to resolve Mac integration rdoc command conflicts.

  1. Init Project
rdoc init my-project  # Init project
# or
rdoc-cli init my-project 
  1. Run website
cd my-project && npm install # Install dependencies.
npm start # Into the directory, start the service.
  1. Compile output static HTML resources
npm run build
  1. Configure the deployment URL in package.json
{
  "scripts": {
    "deploy": "rdoc --publish <your repo url>"
    ...
  },
  ...
}
  1. Deploy to Github's gh-pages branch
npm run deploy

Command

Usage: rdoc [options]

Fast static site generator for React.

Options:

  -i, init [path]        Create an empty website or reinitialize an existing one.
  -d, --doc <path>       Other documents generated.
  -o, --output <path>    Writes the compiled file to the disk directory. (default: .rdoc-dist)
  -p, --port [number]    The port. (default: 5858)
  --host [host]      The host. (default: 0.0.0.0)
  -b, --branch <branch>  Name of the branch you are pushing to. (default: gh-pages)
  --publish [url]        Other documents generated.
  --build                Creating an optimized production build.
  --clean                Delete the .cache folder.
  -h, --help             output usage information

Examples:

  $ rdoc init
  $ rdoc init doc-example
  $ rdoc -d doc/mm
  $ rdoc -d tutorial,doc
  $ rdoc -d tutorial,doc --clean --build
  $ rdoc -p 2323  -d doc --clean
  $ rdoc --host 0.0.0.0 -d doc --clean
  $ rdoc --publish https://<your-git-repo>.git --branch master

Development

To develop, run the self-reloading build, Get the code:

$ git clone https://github.com/jaywcjlove/rdoc.git
$ cd rdoc     # Into the directory
$ npm install # or  yarn install

To develop, run the self-reloading build:

# Run the app
# Restart the app automatically every time code changes. 
# Useful during development.
$ npm run start

Open your browser and visit http://localhost:5858

Folders

.
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ .rdoc-dist
โ”œโ”€โ”€ package.json
โ”œโ”€โ”€ src
โ”‚   โ”œโ”€โ”€ build.js
โ”‚   โ”œโ”€โ”€ commands
โ”‚   โ”œโ”€โ”€ conf
โ”‚   โ”œโ”€โ”€ publish.js
โ”‚   โ”œโ”€โ”€ server.js
โ”‚   โ”œโ”€โ”€ utils
โ”‚   โ””โ”€โ”€ web
โ”œโ”€โ”€ templates
โ”‚   โ””โ”€โ”€ default # document the static file.
โ””โ”€โ”€ theme
    โ””โ”€โ”€ default

License

The MIT License (MIT)

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].