GithubHelp home page GithubHelp logo

cuttlebelle / website Goto Github PK

View Code? Open in Web Editor NEW
11.0 4.0 10.0 2.58 MB

The website for cuttlebelle

Home Page: http://cuttlebelle.com

License: GNU General Public License v3.0

JavaScript 75.21% DIGITAL Command Language 1.80% SCSS 22.99%
documentation static-site-generator cuttlebelle react ssr

website's Introduction

Cuttlebelle documentation website Tweet

This website was built with Cuttlebelle. Please have a look at the source if you’re curious.

Cuttlebelle

How to build the site locally

cd path/to/this/repo
npm install
npm run build
npm run docs

The build command will build the site from source. The docs command will build the site automatic documentation of each layout. You can have a look at the docs files.

How to work on the site

cd path/to/this/repo
npm run watch

This command will build the site and open a server for you and a website should open in your browser. Changes are automatically watched now.

How to contribute

( πŸ’‘ Please look at the coding style and work with it, not against it πŸ˜„.)

website's People

Contributors

dominikwilkowski avatar kud avatar pattyde avatar simonswiss avatar yanick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

website's Issues

Errors generating site

I'm getting errors running yarn build on a clean clone of this repo:

yarn run build
yarn run v1.3.2
$ npm run build:assets && npm run build:site

// several successful processes here

> [email protected] build:site cuttlebelle-website
> cuttlebelle

 πŸ™           Cuttlebelle v1.0.0-alpha.54
 πŸ””  INFO:    Generating pages
 πŸ”₯  ERROR:   The react component navigation/nav had trouble rendering:
 πŸ”₯  ERROR:   SyntaxError: cuttlebelle-website/code/layout/icon.js: Unexpected token (10:38)

// above error repeats several times

 πŸš€           Successfully built 6 pages to site/ in 3.598s


✨  Done in 11.12s.

Using [email protected] with a clean checkout and fresh yarn install.

It looks a lot like it's choking on the ...attribute spread, or the JSX syntax if my line reporting is off, but I'm not sure where in the build pipeline the babel plugins should be configured that take care of that.

I do not want to scroll down on the homepage to use the navigation

When I go to the cuttlebelle site 99% of the time I am reading the docs. I arrive at the home page and am always frustrated that I have to scroll down and then up again to see the navigation.

I am happy to do a PR to change this functionality let me know if you think this is a good idea πŸ‘

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.