Giter Site home page Giter Site logo

cnxtech / helloviolet.ai Goto Github PK

View Code? Open in Web Editor NEW

This project forked from salesforce-misc/helloviolet.ai

0.0 0.0 0.0 1.93 MB

Website for Violet (see github.com/salesforce/violet-conversations for the core project repo)

Home Page: http://HelloViolet.ai/

License: BSD 3-Clause "New" or "Revised" License

Ruby 0.69% HTML 2.62% JavaScript 57.64% Shell 0.04% CSS 39.01%

helloviolet.ai's Introduction

Violet website pulling in documentation from the different Violet projects.

This repository has two branches:

  • master: source files and scripts to generate the website
  • gh-pages: content used by github-pages to host the site

Running Locally

You can run the website locally by typing:

   bundle exec jekyll serve

Working with API Documentation

The generated navigation for the API Documentation has been customized in a few ways:

  • Internal modules are hidden - these are the modules where the framework instantiates a supporting class.
  • Classes are not shown as children of parent modules, since often instances of these Classes are returned through another Object.
  • Plugins are separated out.

To see the generated list you can type the following in a web-browser:

   $('#generatedNav').show()

Updating Generated (API) Documentation

API Documentation can be updated by making sure that the other violet projects are siblings to this project with all repositories updated, and then typing:

   rm -rf api; jsdoc -c _jsdoc/conf.json

Publishing

Updated documentation and any other source files need to be copied to the gh-pages branch. The following command should help (assuming that the repository is checked out in a sibling directory):

  ./_publish.sh
  cd ../HelloViolet.ai-gh
  git status
  git commit -am 'Website update'

helloviolet.ai's People

Contributors

vineet-sinha avatar minerva18 avatar ryanguest 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.