Giter Site home page Giter Site logo

noxuhax / tinymce-docs-4x Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tinymce/tinymce-docs-4x

0.0 0.0 0.0 26.16 MB

TinyMCE Documentation (version 4)

Home Page: https://www.tiny.cloud/docs/

License: Other

Ruby 7.92% Makefile 0.23% HTML 53.28% Shell 6.10% JavaScript 32.47%

tinymce-docs-4x's Introduction

TinyMCE Documentation

This project maintains the documentation for TinyMCE at https://www.tiny.cloud/docs-4x/. If you have any modifications you wish to contribute, fork this project, make the changes and submit a pull request. You will need to sign the contributors license agreement, which will be emailed to you upon creating the pull request.

This project is built using Jekyll.

Contributing to the TinyMCE Documentation

If you would like to contribute to the TinyMCE project please read the TinyMCE Documentation Contributor's Guide at either:

Working on TinyMCE documentation

Compiling or building the documentation

The following procedure assists with building (or compiling) the documentation locally. Tiny recommends testing and reviewing changes locally prior to submitting a pull request.

Installing Prerequisites

Linux users

You need the following programs installed on your computer:

  • Ruby version 2 or later. To verify the installed version, run:
    ruby --version
    
  1. Install git, g++, make, and the zlib development files. For example:

    • On Fedora, run:

      sudo dnf install git-all gcc-c++ make zlib-devel
      
    • On Ubuntu, Debian or their derivatives, run:

      sudo apt install git gcc cpp make zlib1g-dev
      
  2. Install Ruby Nokogiri: https://nokogiri.org/

    sudo gem install nokogiri
    
  3. Install Ruby Bundler. Install using:

    sudo gem install bundler
    
  4. (optional) Docker

Windows users

If you are a Windows user, follow these steps to work on TinyMCE documentation:

  1. Install git for Windows.

  2. Install Ruby+Devkit.

  3. Run the following command on a command prompt to install Ruby Bundler:

    gem install bundler
    
Mac OS users
  1. Ruby version 2 or later is required. Verify the pre-installed version, using:

    ruby --version
    
  2. Install Ruby Bundler, using:

    gem install bundler
    

First time set up

Once you have installed any missing prerequisites, in a terminal or on a command prompt:

  1. Clone the git repository:

    git clone [email protected]:tinymce/tinymce-docs.git
    
  2. Change directory into the cloned git repository:

    cd tinymce-docs
    
  3. Run the initialization script to install dependencies and create the required local files in the git repository:

    ./_scripts/init.sh
    

Run the development version of the documentation

To create a development version of the documentation, run:

./_scripts/serve.sh

Allow the serve.sh script to run in the background while you are working on the TinyMCE documentation.

To view the documentation; in a web browser, navigate to http://localhost:4000/.

Note: The development version of the documentation will update automatically when you save changes locally.

TinyMCE API documentation

The TinyMCE API documentation is maintained within the TinyMCE project repository and compiled for the documentation site using MoxieDoc.

Prerequisites
Installing MoxieDoc

To install MoxieDoc, run:

npm install -g git://github.com/tinymce/moxiedoc.git
Run the development version of the documentation for the current TinyMCE version
  1. Download the TinyMCE version in the .api-version file in this project's root directory and extract the API documentation using:
    ./_scripts/api-reference.sh
  1. Start the development server using:
    ./_scripts/serve.sh
Run the development version of the documentation for a local TinyMCE repository
  1. Extract the API documentation from a local copy of the TinyMCE repository using:
    ./_scripts/api-reference-local.sh <path/to/the/tinymce/repo>
  1. Start the development server using:
    ./_scripts/serve.sh
  1. To include updates made to the TinyMCE API documentation in the TinyMCE repository, run the api-reference-local script:
    ./_scripts/api-reference-local.sh <path/to/the/tinymce/repo>

Note: The development server does not need to be stopped prior to running the api-reference-local script.

tinymce-docs-4x's People

Contributors

r12s avatar shikhanansi avatar kilianc avatar spocke avatar androb avatar idooo avatar tylerkelly13 avatar fyrkant avatar jayarjo avatar ephox-dayne avatar tim-thatcher avatar grade-zero avatar michaelfromin avatar mfromin avatar jackmasonephox avatar jhaines avatar ephox-allen avatar barent avatar joycodingcai avatar lnewson avatar techtangents avatar clearnz avatar dependabot[bot] avatar tinydylan avatar ekimchau avatar kjosh19 avatar erichogue avatar glennpenridge avatar simonfc avatar blmcc-eph 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.