Easy guides for content authors making changes to Liferay.com
For adding docs to our external site
Feature List: https://trello.com/b/ft2uFMNq/lrdcom-external-docs
- Run
npm install
on the root to install all dependencies. - Run
npm start
and head tohttp://localhost:8000
It's now watching for changes through Gulp.
- Make sure gulp is running. See Setting Up.
- Make changes in
/src
- Add, commit, and push changes to git.
Changes should reflect on the live site in a few minutes.
Images
To add images just use plain ol' HTML and put the images in the same directory as the file. <img src="my-image-in-the-same-directory.jpg" />
Adding Screenshots
To leverage screenshot zooming feature, wrap your content in screenshot
block with the src
attribute as source of the image.
<screenshot src="case-studies-upload-3.png" />
1. Log in to Lifereay
</screenshot>
Instructions
- Make a new
.md
file in the proper folder and write up your documentation there following our guidelines - Send a PR to team member for peer-review and let them merge changes.
If change is significant, Submit to Liferay's copyrighters for readability and then communicate with marketing stakeholders that a change has been made.
General Rules
- Need an
h1
for Title. Break up sections byh2
. This ensures page title and sectioning is done accurately
Great resources: