Git Product home page Git Product logo

elasticio.github.io's Introduction

elastic.io Documentation

This repository contains the documentation of the elastic.io iPaaS platform. Visit the doc.elastic.io to see it live.

Contributing

  1. Fork this repo
  2. Write your articles, change existing ones
  3. Create a pull request back to this repo
  4. Wait for review approval by contributors
  5. Enjoy the new docs

If you are first-time user, do the following steps

  1. Clone git clone https://github.com/elasticio/elasticio.github.io
  2. Init the submodule by executing git submodule update --init
  3. Start your Jekyll app locally if you want to see the docs

If you are returning user, perform the following steps:

  1. git checkout master
  2. git pull --rebease origin master
  3. git checkout -b {MY_BRANCH}
  4. Update submodule git submodule update --update
  5. The last step will create changes to the docs folder. Please commit them to your branch
  6. git push origin {MY_BRANCH}
  7. Go to GitHub and create a PR from MY_BRANCH to master.
  8. Go through review
  9. Merge the content to master
  10. Enjoy the content on https://docs.elastic.io

White-labeling

To provide a white-labeled documentation to your customers, please follow the following steps:

  1. Fork this repository
  2. Customize variables used in documentation pages
  3. Customize the styles
  4. Customize your Algolia configuration in the _config.yml file (application_id, index_name and search_only_api_key) or delete them if you don't need search
  5. Customize CNAME file (OPTIONAL: This is only required if documentation hosted on GitHub, but not necessary if documentation hosted on servers)
  6. DO NOT edit any content to avoid merging conflicts
  7. Pull changes from the original repository regularly so that your docs are up-to-date

Creating Algolia configuration

As a part of white-labelling you must take care of your own configuration to build the search statistics. To do so, create an Algolia account and use your own keys in the setup as explained here.

  1. Sign-up or sign-in

  2. Go to “Indices” section and add new index: algolia2

  3. Here is your index_name: algolia3

  4. Find application_id and search_only_api_key in “API Keys” section: algolia4

  5. Now you can Customize your Algolia configuration in the _config.yml file

Testing locally

If you don't have the jekyll/jekyll Docker image on your machine yet, install it once.

docker pull jekyll/jekyll

Once you have jekyll/jekyll image locally, execute the following command from the root folder of this repo:

./start.sh

If you are on a Windows machine just copy the command from the start.sh file and adjust it with Windows specific commands.

If your see the following output in the terminal, the docs are up and running:

No active host found
Error getting IP address: Host is not running
Configuration file: /srv/jekyll/_config.yml
Configuration file: /srv/jekyll/_config.yml
            Source: /srv/jekyll
       Destination: /srv/jekyll/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 0.672 seconds.
 Auto-regeneration: enabled for '/srv/jekyll'
Configuration file: /srv/jekyll/_config.yml
    Server address: http://0.0.0.0:4000/
  Server running... press ctrl-c to stop.

The docs are available now at http://localhost:4000/.

elasticio.github.io's People

Contributors

a3a3e1 avatar al3xive avatar anton-kotenko avatar dvd-z avatar elasticiodev avatar hannah-bulmer avatar hannatrotsenko avatar honeybadgeralex avatar jhorbulyk avatar khanzadyan avatar kirill-levitskiy avatar legendmiha avatar levshamin avatar pnedelko avatar robinbrinkmann avatar stas-fomenko avatar uaarsen avatar umkaline avatar vdidushko 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.