Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 2.72 KB

README.md

File metadata and controls

56 lines (42 loc) · 2.72 KB

userinfo

This is a sample project. Its content does not reflect the actual file structure.

General documentation guidelines

  1. In the docu/files directory, create a tutorial file. Files displayed in the left menu in the Dev Portal are ordered by the file name. To obtain the desirable order, use the following naming convention:
  • 10_first_filename.html
  • 20_another_file.html
  1. Add content in your file and save your changes.
  2. Commit and push the file to the repository.

Content

The content is usually written in the HTML syntax. In addition, the Dev Portal embedded plugin enables composition in Markdown (MD), and even a mix between the two. The composition choice is usually a personal preference.

However, there are some known advantages to using HTML:

  • It is easier because it is more commonly known, for example, when attaching images.
  • Not all MD code is read correctly, for example, HTML is needed for images, not MD.

You can also verify the syntax from one of these sources:

Images

You need to have special permissions if you want to add image files in this repository. Send an email with your github username to piotr.oszenda@sap.com and request the access.

Put your image files in this directory:

  • docu/files/img

The following are code examples for images:

HTML
image <img src=/"img/img.png">
image (width): <img style="width:75%;" src="img/img.png">

Tutorial guidelines

The tutorials are targeted at developers with different amount of experience with YaaS. For that reason, structure the tutorials so that a beginner can follow the most basic steps, and more experienced developers can learn more fine-grained details, such as troubleshooting or more use cases.

This shows a template for the Tutorial document:

---
title: 'Your tutorial title'
type: 'Tutorial'
---
Content of your tutorial.

To fill out the metadata above:

  • title: Title of your tutorial.
  • type: The value must be “Tutorial”.

Include the following in the content of your tutorial:

  • Title – Give the tutorial a descriptive title, without the words, "How To".
  • Introduction – Create an introduction to explain the purpose and flow of each tutorial, or create one document to introduce all of the tutorials as a whole. State the objective of the tutorials, and any important introductory details or prerequisites.
  • Step-by-Step – Create detailed interactive steps.
  • Optional Troubleshooting - Give tips on how to troubleshoot the problem after receiving an error.
  • Optional Use Cases – Show more than one use case to highlight different features.