Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fusionjs/fusionjs.github.io
Modern framework for fast, powerful React apps
https://github.com/fusionjs/fusionjs.github.io
fusionjs gatsby react
Last synced: 7 days ago
JSON representation
Modern framework for fast, powerful React apps
- Host: GitHub
- URL: https://github.com/fusionjs/fusionjs.github.io
- Owner: fusionjs
- License: mit
- Created: 2018-02-14T18:42:26.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2024-08-06T06:35:48.000Z (6 months ago)
- Last Synced: 2025-01-09T22:08:30.421Z (14 days ago)
- Topics: fusionjs, gatsby, react
- Language: JavaScript
- Homepage: https://fusionjs.com
- Size: 3.54 MB
- Stars: 52
- Watchers: 5
- Forks: 34
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Fusion.js Documentation
## Contribute
Install the dependencies:
`yarn install`
Bootstrap:
`yarn bootstrap`
It clones all the documentation.
Run in dev mode:
`yarn dev`
The `replaceRenderer` from `gatsby-ssr.js` is not called during a development build (https://github.com/gatsbyjs/gatsby/issues/3166), that results in a Styletron error `"Uncaught TypeError: Cannot read property 'sheet' of undefined"`.
As a temporary solution while in dev mode, remove the `styleElements` from passing to the client's Styletron instance in the `gatsby-browser.js`:
`const styletron = new Styletron(styleElements);` => `const styletron = new Styletron();`.Build docs website locally:
`yarn build-docs`
To add a new package to render its documentation:
- for public packages from github add the repo name to `packages-oss.txt`;Then add a newly added package's docs to the side navigation menu in `/src/nav-api.yml`.
A doc page of README of a package will be created with the path `/api/[package_name]`. Additional documentation for the package can live under its `/docs` folder, and pages for that documentation will be created with a full path like `/api/[package_name]/docs/[file_name]`.While adding or removing any documentation files in this repo under `/documentation` folder, don't forget to add/remove a side menu items to the docs in `/src/nav-docs.yml`.