Git Product home page Git Product logo

liferay-docs's Introduction

LIFERAY-DOCS

Liferay Docs Icon

Join the chat at https://gitter.im/rotty3000/blade

Welcome to Liferay's official documentation project, the home of Liferay Developer Network articles. All articles are written in Markdown, making them easy to write and easy to read. Approved articles are uploaded to the Liferay Developer Network (LDN) and converted automatically to HTML. In this project, you can contribute new articles, improve existing articles, or fix documentation bugs. To produce documentation that is comprehensive and stylistically consistent, the liferay-docs project provides writing guidelines, Markdown & tools guide, and a tutorial template.

You'll learn how quickly to add a new article and its images next.

Quick Steps to Add a New Article

You can follow these steps to create a new article and contribute it from GitHub.

  1. Sign in to GitHub. If you don't already have a GitHub account, you must join GitHub in order to contribute to liferay-docs.

  2. Click on a new-articles link folder below. These match the LDN sections where you can add a articles:

  3. Select the liferay-docs branch that matches the Liferay Portal version you're writing about:

     Branch   Portal Version 
     master   7.0
     6.2.x  6.2
  4. Click the plus sign after new-articles/: new articles folder

  5. Write your article and click the Propose new file button, to prepare a pull request.

  6. Send the pull request to the default user liferay.

  7. Drag your article's images into the pull request's comments to associate the images with your article.

Your new article is submitted! Liferay's Knowledge Management team will review your contribution. Approved changes are merged into the liferay-docs repo and published to the Liferay Developer Network.

Structure

All Liferay Developer Network articles reside in liferay-docs repository folders that are laid out in a similar manner to LDN's pages and articles. Each repository folder under discover, develop, and distribute represents a section of LDN's articles. For example, the discover/portal folder contains Markdown files and images that are the source for LDN's Discover → Portal articles.

The following tables show the folder locations for articles published to LDN's Discover, Develop, and Deployment sections.

Source Folders for Liferay Developer Network Articles:

Discover
 liferay-docs/discover/
 • portal/Portal
 • social-office/Social Office
 • deployment/Deployment
 • reference/Reference
 • new-articles/ (You can submit new articles here for LDN's Discover section)
Develop
 liferay-docs/develop/
 • learning-paths/Learning Paths
 • tutorials/Tutorials
 • reference/Reference
 • new-articles/ (You can submit new articles here for LDN's Develop section)
Distribute
 liferay-docs/distribute/
 • distribute/new-articles/ (You can submit new articles here for LDN's Distribute section)

Now that you're familiar with the layout of the liferay-docs repository, you may be interested in adding and editing LDN articles in a local copy of the liferay-docs repository.

Working Locally

If you're new to the liferay-docs repository and you want to add/edit material locally, you first must clone the project. For information on how to work with Git projects, see How do I use Git and GitHub?

To add an article to LDN's Develop section (as an example), create your article and its images in the liferay-docs/develop/new-articles folder. Commit your added files and send a pull request to default user liferay. For more information on where to place new articles and for guidelines on writing them, see How do I write and submit my own article?

To modify an article, you can edit it locally in its repository location, in a branch created for that purpose. After you've made your changes, commit them and submit a pull request to the default user liferay.

To preview an article, invoke one of the convert.[bat|sh] scripts on your Markdown file. The scripts are in the bin folder. See How do I convert my local Markdown to HTML using the provided convert scripts? for details on using the script.

You've learned how to contribute and you know the article folder structure. Got questions? Check out the liferay-docs FAQ for answers.

Thanks for helping us out with Liferay documentation!

liferay-docs's People

Contributors

sez11a avatar jrao avatar codyhoag avatar rbohl avatar ngaskill avatar mwilliams2014 avatar markhealy avatar achaparro avatar cgoncas avatar igr avatar jhanda avatar mdelapenya avatar zoltantakacs avatar juliocamarero avatar zenorocha avatar ithildir avatar jbalsas avatar brandizzi avatar juanferrub avatar denissignoretto avatar sezovd avatar gamerson avatar robertodiaz avatar vsingleton avatar dnebinger avatar zsoltbalogh avatar vickywang avatar olafk avatar afshing avatar juergenu avatar

Watchers

Robert Reihs 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.