Skip to content

Commit

Permalink
Adding readme file
Browse files Browse the repository at this point in the history
  • Loading branch information
martinzugec-ctx committed Oct 15, 2019
1 parent 9788c76 commit aa62895
Show file tree
Hide file tree
Showing 2 changed files with 102 additions and 2 deletions.
104 changes: 102 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,109 @@
# Citrix Tech Zone readme

## Welcome
## Welcome to Tech Zone

Welcome to the documentation project for [techzone.citrix.com](https://techzone.citrix.come)! Citrix Tech Zone is home for technical, in-depth articles that are inspired and driven by technical communities and enthusiasts. Whether you are an architect, consultant, engineer or technical IT manager, you have come to the right place!

Tech Zone has always been oriented towards technical community, but now you can help us to make it better by suggesting changes or even writing the whole articles to share with fellow Citrix fans.

As many other large companies (including Microsoft or Amazon), we are using de-facto industry standard language called markdown to create Tech Zone content.
## Welcome to Markdown language

As many other large companies (including Microsoft or Amazon), we are using de-facto industry standard language called markdown to create Tech Zone content. Markdown is a very simple, lightweight language that is easy to learn and allows us to create very dynamic content. Think about markdown as a text-to-HTML conversion tool. It based on easy-to-read and easy-to-write plain text syntax.

To learn more about markdown syntax, you can read many articles online and read some of the (many) available [cheatsheets](https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet).

## How To

### Create an account

TODO

### Request a branch

TODO

### Create content

TODO

#### Adding images

Our readers love images, so include as many as you need to get your message across. All images must be placed in the /media folder of the Tech Zone repo and you can upload them through GitHub website.

**IMPORTANT:** Make sure that you are using the right branch AND right naming conventions when uploaded files.

Image conventions:

* Use PNG format for images
* Use basic grayscale colors and icons / diagrams from brand team to create diagrams. Look at other Tech Zone content to follow same style and format
* File name is using format `(category-name)_(article-name)_(image-name)`, where `category-name` and `article-name` are based on URL of the target article. For example tech-briefs_workspace-app_overview.png. “Category” is identical to category section of URL (e.g. ‘’reference-architectures”) and “article name” is identical to filename of the article (.md or .html file). `image-name` can be any format that you prefer, however it is recommended to use descriptive names.
* Underscore character (`_`) is used as delimiter and you should not use it in image name. Feel free to use hyphen in image name instead. Each image file name should contain exactly 2 underscore characters.
* For diagrams, try to include sources (Visio or PowerPoint format) for your diagrams.

When you are referencing your images in markdown language, you can use two different syntaxes.

For simple images (screenshots), use format `![descriptive text](image URL)` with relative URL, for example `/en-us/tech-zone/design/media/design-decisions_provisioning-solutions_diagram-explicit.png`.

For images that should open full screen after clicking on them, use format `[![descriptive text](image URL)](image URL)`. This will open image after reader clicks on it.

#### Using tables

Tables are generally discouraged for modern articles - it is complicated to maintain them in markdown, they have very limited functionality (e.g. markdown doesn't support bulletpoints in tables or multiple paragraphs) and articles with tables are penalized by search engines like Google or Bing (content is marked as not being mobile friendly). If you really need to include a table in your article, please use one of the many online generators (for example [this one](https://www.tablesgenerator.com/markdown_tables)).

As a general rule - if you need to use multiple paragraphs of text, bulletpoints inside tables or multiple nested tables, you should consider to break down table to use native markdown format. If each cell of your table contains only one word or one sentence, table is perfectly valid option.

### Publish content

TODO

## Most Common Mistakes

For contributors, basic understanding of markdown language and versioning (GitHub) is required. When working on Tech Zone content, we have seen few issues that are frequently occuring and we would like to cover them in this section.

### Using the right fork / branch

TODO - explain that contributors should make sure they always use the right branch! This is by far the most common mistake that new contributors are making.

**To fix:** Always confirm that you are using the right branch before making any changes.

![Finding Branch](/_readme/readme_branch.png)

### Trailing spaces

Markdown does not allow you to end line with an unexpected whitespace (space after final punctuation mark).

**To fix:** Remove the trailing punctuation.

[More information](https://github.com/DavidAnson/markdownlint/blob/v0.17.0/doc/Rules.md#md009)

### Multiple empty lines

Markdown does not allow you to use multiple consecurive blank lines in the document. This happens very often at the end of the article.

**To fix:** Remove an extra empty line.

[More information](https://github.com/DavidAnson/markdownlint/blob/v0.17.0/doc/Rules.md#md012)

### No empty lines around headers / lists

Both headers and lists should have an empty line **before** and **after** them.

**To fix:** Add empty line before and after any header and/or list.

[More information - headers](https://github.com/DavidAnson/markdownlint/blob/v0.17.0/doc/Rules.md#md022)
[More information - lists](https://github.com/DavidAnson/markdownlint/blob/v0.17.0/doc/Rules.md#md032)

### Hard tabs

Markdown requires usage of spaces for indetation instead of tabs.

**To fix:** Replace your hard tabs with spaces instead.

[More information](https://github.com/DavidAnson/markdownlint/blob/v0.17.0/doc/Rules.md#md010)

### Spaces after list markers

Standard markdown syntax requires one space after list character. Tech Zone implementation requires 2 spaces after list character.

- One Space - NOT correct
- Two spaces - correct
Binary file added _readme/readme_branch.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit aa62895

Please sign in to comment.