GithubHelp home page GithubHelp logo

mizorc / openvidu.io-docs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from openvidu/openvidu.io-docs

0.0 1.0 0.0 319 KB

OpenVidu Documentation

License: Apache License 2.0

HTML 90.12% Shell 9.88%

openvidu.io-docs's Introduction

The openvidu.io documentation is generated with MkDocs.

You can edit any page or add a new one with a simple text using the Markdown format.

How to add a new page

  • Clone this repository
git clone https://github.com/OpenVidu/openvidu.io-docs
  • Go to repository and open /docs folder.
  • Create a new Markdown file (.md) into an existent folder. You can create a new document category creating a new folder. The folder name will be category name.
  • Edit that file and add content in Markdown format.
  • If you want to preview the changes locally, you can execute the following command in the root folder of the repository (you need Docker installed) and open the browser in http://localhost:8000:
docker run -it --rm -v `pwd`:/docs -p 8000:8000 coding2012/mkdocs serve -a 0.0.0.0:8000
  • In order to preview the complete openvidu.io web with the docs integrated:

    • Clone the repo https://github.com/OpenVidu/openvidu.io in the same path as openvidu.io-docs and serve it with Docker:
     git clone https://github.com/OpenVidu/openvidu.io
     cd openvidu.io
     docker run --rm --volume=$PWD:/srv/jekyll -p 4000:4000 -it jekyll/jekyll:3.4.3 jekyll serve 
    

    (Run fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p to increase the number of files that can be monitored if any problem appears when running this docker container)

    • Run openvidu.io-docs/generate-dev.sh script, which will build Mkdocs files and will put them in openvidu.io/docs folder (this is why we need openvidu.io and openvidu.io-docs repos at the same path). You will need mkdocs:
     sudo apt-get install python-pip
     sudo pip install mkdocs==0.16.3
    

    (Append --user to the pip command if any problem with permissions)

    • Visit http://localhost:4000 in order to preview openvidu.io web with your new documentation integrated. Whenever you update a file in openvidu.io-docs/docs folder, you can relaunch generate-dev.sh script to update openvidu.io web served by Jekyll's Docker container, listening in localhost:4000)

openvidu.io-docs's People

Contributors

csantosm avatar pablofuente avatar talentedandrew avatar zzzykf avatar

Watchers

 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.