GithubHelp home page GithubHelp logo

daileytj / blui-doc-it Goto Github PK

View Code? Open in Web Editor NEW

This project forked from etn-ccis/blui-doc-it

0.0 0.0 0.0 333.36 MB

Source code for Brightlayer UI documentation website

Home Page: https://brightlayer-ui.github.io

Shell 0.21% JavaScript 1.03% TypeScript 48.67% CSS 0.30% HTML 0.56% MDX 49.24%

blui-doc-it's Introduction

Doc-It (a.k.a. brightlayer-ui.github.io)

Build

Doc-It is the source code for brightlayer-ui.github.io, documentation site for Brightlayer UI. The site is built to both provide documentation on how to use the system, but also as an example of how to use it. The entire site is using using the Brightlayer UI design system - built with React+Redux, Material UI, and the Brightlayer UI component library.

Contributing

To contribute to the documentation site, you will need to clone a local copy of the repository:

git clone https://github.com/etn-ccis/blui-doc-it

You can then install the necessary dependencies and run a local instance with the following commands:

cd doc-it
yarn install
yarn start

Updating Search Index

Every time you make any changes to anything in src/docs/, run yarn indexer from the root folder to regenerate the databases stored in src/databases/.

If you make changes to src/__configuration__/navigationMenu/navigation.tsx, you will also need to update scripts/crawl/sitemap.json.

Project Structure

This project is built using React, React-Router, Redux, and MDX. The majority of the content is written in Markdown and integrated into the React skeleton and navigation by using MDX. This approach allows us to simplify the application logic and make the content easy to update.

Folder Structure

The folder structure of the application is segregated to keep the application and the content separate (as much as possible).

└── /src
    |── index.tsx                           // the root file that renders the application
    |── /__configuration__                  // assorted configuration for populating some dynamic content areas on the site (navigation, roadmap, etc.)
    |── /__types__                          // shared type definitions
    |── /databases                          // databases generated automatically for the search functionality
    |── /app
    │   |── /api                            // api utilities for pulling data from npm, github
    │   |── /assets                         // images and icons
    │   |── /components                     // re-usable component definitions
    │   |── /hooks                          // react hook definitions
    │   |── /pages                          // component-based pages, not markdown-based (e.g., resources, roadmap, langin page)
    │   |── /redux                          // actions, reducers, and store
    │   |── /router                         // the main application router and navigation drawer
    │   └── /shared                         // extra utility functions
    |
    └── /docs                               // markdown-based page definitions
        |── /community                      // information on how to be a part of Brightlayer UI
        |── /design                         // information for designers using Brightlayer UI
        |── /development                    // information for developers using Brightlayer UI
        |── /get-started                    // information on getting started with a project
        |── /patterns                       // design patterns and sample code
        |── /release-notes                  // information about past releases
        └── /style                          // style guide definitions (color, typography, icons)

Builds and Deployment

The Doc-it project is configured with automated builds and deployment scripts.

When changes are committed to the dev branch, they are automatically run through the test scripts and if the tests pass, the site is deployed to the staging server.

When changes are committed to the master branch and the tests pass, the changes are automatically deployed to brightlayer-ui.github.io.

Browsers support

IE / Edge
Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
Edge last 2 versions last 2 versions last 2 versions

blui-doc-it's People

Contributors

huayunh avatar joebochill avatar daileytj avatar emclaug2 avatar jeffgreiner-eaton avatar evanmclaughlin-eaton avatar jeffvg avatar ektasawant avatar dependabot[bot] avatar surajeaton avatar shivanipitta avatar mvbela avatar yazadsidhwa-eaton avatar josephpboyle avatar komal-eaton avatar bkarambe avatar horchen154 avatar nikhilbehari avatar manojleaton avatar ektaghag-eaton avatar px-blue avatar turjoc120 avatar shubham-eaton avatar komalgdhere-eaton avatar brightlayer-ui-agent avatar wikipediazh avatar

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.