Giter Site home page Giter Site logo

chiller's Introduction

Chiller

chiller

A cutting edge documentation site generator

How it works

  1. Create a chiller.json config file
  2. Install chiller yarn add chiller
  3. Install the chiller app chiller install
  4. Sync your documentation files chiller sync
  5. Start the chiller app chiller dev

Config

Here's a short example config chiller.json file you can use to start a chiller docs app. Learn about all the config options in the docs

{
  "name": "Chiller",
  "favicon": "favicon.ico",
  "domain": "https://chiller-docs.vercel.app",
  "description": "A cutting edge documentation site generator",
  "index": "/intro",
  "logo": "logo.png",
  "pages": "./*.mdx",
  "sidebar": {
    "links": [
      {
        "url": "/intro",
        "icon": "book",
        "label": "Documentation"
      }
    ]
  }
}

The Repository

The repo has two projects: cli and app. The cli is the node cli used to execute commands like chiller install -f or chiller build. The app is the fork of tailwindcss.com's front end next.js app.

Local Development

The app project is a template. It's a nextjs app that requires additional config and resource files before it can run. To run locally, we'll copy chiller's own documenation config and resource files into the app directory and then run it.

Follow these steps

  • cd into the cli directory and run yarn install-local so you can use the chiller cli command
  • cd back to the project root and run chiller sync --dest ./app. This will copy the chiller.json config, the .mdx documentation files and the .png images from the ./docs directory into the app directory.
  • cd into the app directory and run yarn dev

chiller's People

Contributors

matijaoe avatar sodiray avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

u3erka

chiller's Issues

Build fails in Vercel because next version can't be detected

Vercel tries to read the package.json in your configured root directory to determine what version of next js is being used. Because chiller users don't actually have next installed (or they don't have to) vercel can't find it and throws an error.

Screenshot 2022-12-25 at 1 39 55 PM

Search function hijacks all input

It seems as though the search function hijacks all typing on the page.

I was attempting to add the docs website to Pocket (Chrome Extension), and while typing tags into the tag field in the Pocket window, the docs website search seemed to hijack the input. The tags I was typing landed in the search input and not as a Pocket tag.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.