GithubHelp home page GithubHelp logo

madhuramendis / docs-updates Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wso2/docs-updates

0.0 0.0 0.0 4.2 MB

The Repository include all documents related to WSO2 updates 2.0 Model

License: Apache License 2.0

Shell 3.59% JavaScript 19.29% CSS 52.78% HTML 24.35%

docs-updates's Introduction

WSO2 Updates Documentation


This is the documentation for the approaching release of WSO2 Updates 2.0.0. Please note that this documentation is work in progress.

To see the latest released documentation for the WSO2 Updates, go to: https://updates.docs.wso2.com/en/latest/

Run the project locally

Step 1 - Install Python

If you are using MacOS, you probably already have a version of Python installed on your machine. You can verify this by running the following command.

$ python --version
Python 2.7.2

If your version of Python is Python 2.x.x, you also need to install Python3. This is because the PDF plugin only supports Python3. Follow the instructions in this guide to install Python3 properly.

After completing the above, you will have two versions of Python on your machine; a version of python2 and a version of python3.

Step 2 - Install Pip

INFO

If pip is not already installed on your machine, download get-pip.py to install pip for the first time. Then run the following command to install it:

$ python get-pip.py

Pip is most likely installed by default. However, you may need to upgrade pip to the latest version:

$ pip install --upgrade pip

Step 3 - Install the pip packages

  1. Navigate to the <language-folder>/ folder.

    $ cd docs-updates/en
  2. Install the required pip packages.

    This will install MkDocs and the required theme, extensions, and plugins.

    • If you are using Python2, use the following command:

      $ pip install -r requirements.txt
    • If you are using Python3, use the following command:

      $ pip3 install -r requirements.txt

Step 4 - Run MkDocs

Follow the steps below to clone the Updates documentation GitHub repository and to run the site on your local server.

  1. Fork the GitHub repository: https://github.com/wso2/docs-updates.git

  2. Navigate to the place where you want to clone the repo.

    Git clone the forked repository.

    $ git clone https://github.com/[git-username]/docs-updates.git
  3. Navigate to the folder containing the repo that you cloned in step 4.1 on a terminal window.

    For example:

    $ cd docs-updates/<Language-folder>/
    $ cd docs-updates/en/
  4. Run the following command to start the server and view the site on your local server.

    $ mkdocs serve

    NOTE:

    If you are making changes and want to see them on the fly, run the following command to start the server and view the site on your local server.

    1. Navigate to the mkdocs.yml file.

    2. Change the following configuration to false as shown below.

      #Breaks build if there's a warning
      strict: false
      
    3. Run the following command to start the server and to make the server load only the changed items and display the changes faster.

      mkdocs serve --dirtyreload

  5. Open the following URL on a new browser window to view the WSO2 Updates documentation site locally.

    http://localhost:8000/getting-started/overview/

NOTE:

If you were running the mkdocs serve --dirtyreload command to run the MkDocs server, make sure to change the configuration in the mkdocs.yml file as follows before sending a pull request.

strict: true

License

Licenses this source under the Apache License, Version 2.0 (LICENSE), You may not use this file except in compliance with the License.

docs-updates's People

Contributors

aaquiff avatar bcblackmer avatar chamindi-a avatar jsdjayanga avatar madurangasiriwardena avatar maheshika avatar renanmartorelli avatar samgnaniah avatar savidude 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.