This guide describes the process and the conventions for contributing an article using the tools provided by GitHub.
-
Get a Github Account if you not yet have one
-
(optional) Registered as a public member of the "Zühlke Github Community" (see advanced contribution topics)
-
Check for Duplicates: Is there already an article about your topic?
-
Please check our Backlog of Articles whether there is already an article existing or planned for similar topic.
-
If there is already a similar article, you can contact the author and find a solution (leave the subject to the author, offer your help as reviewer or co-author, take the subject over, or write a second article in response or extension to the first article, ...).
-
-
Announce a Topic:
-
Open a New Issue for your Article
-
Describe roughly the idea you have in mind, what the article should be about.
-
It proved to be useful to discuss about an articles content before writing the article. Ask your colleagues, maybe they have some valuable input!
-
Use the Issues on Github: discuss directly in the issue you created - and don't miss to give feedback to other announced articles.
-
Use Yammer, a coffee break, a team event or similar
Content Conventions:
-
short enough to be read in 10 minutes: size should be less than 2 A4 pages long in printout PDF version (that is between 400 and 750 words)
-
reflects on a single subject only (better make several articles, if you have too much material / ideas to write about)
-
matches our Vision: it is about practicaly proven concepts, best practices, cultural philosophies or great ideas that we use in our daily work at Zühlke.
-
the subject is related to our work and the advice concrete enough to consider.
-
the subject is something you have experience on in some real projects and not just theoretical ideas
Structural Conventions:
- start with an introduction and end with a conclusion (see advanced contribution topics for more info on structuring)
Language Conventions:
-
apply the rules for capitalization in titles (at least to the "style guide similarities" mentioned)
-
written in English (see advanced contribution topics for information about a translation)
Work directly with GitHub:
We are using this Git repository, so contributing an article is as easy as contributing source code in any project. Every article is written in your personal fork of the repository as a simple markdown (*.md) file and reviewed and published by using Pull Requests.
If this sounds complicated to you, just carefully follow these very easy steps to create a new article directly on the github web page:
-
Use this link to fork the Zuehlke/fifty-shades repository.
-
Navigate to the
articles
folder in your forked repository. The URL looks something like: https://github.com/{username}/fifty-shades/tree/develop/articles -
Enter a unique name for your article file followed by the *.md file extension. Example:
my-funny-article.md
(can be changed later) -
Copy the content of Article Example as template to start with into the file
-
Adjust
authorName
andauthorGithubUsername
at the top of the file -
Commit the new file
Congratulations, you have created the article file in your repository! You can now continue to work on your article incrementally directly in GitHub. If you prefer your own text editor: feel free to use your own "clone-edit-commit-push"- workflow with your local git client.
Please apply the following formal rules:
-
Use GitHub Flavored Markdown Syntax in the markdown file.
-
It is good practice to prefix your commit message with the issue number of your article. Example:
#15 add article to Table of Content
.
Please note that we are using a public repository - everything you commit can be read by everyone.
To get your article reviewed you have can simply send the URL of your forked repository to a reviewer.
If you'd like to use the review features of Github you can open a pull request and send it to a peer as follows:
-
Open a pull request with your article to get it reviewed.
Look out for the "New Pull Request" button. The base fork is "Zuehlke/fifty-shades" and the head fork is "{you}/fifty-shades".
Use the issue number of your article prefixed with
#
in the pull request title -
Find some colleagues (at least one!) that will review your article. Send her/him a mail with the URL to the pull request.
-
As a reviewer you can use GitHubs Review Feature to give feedback
-
As an author, after receiving feedback, you modify your content (or ignore the feedback) and commit the modified version into your fork. The Pull Request will automatically be updated. And don't forget to thank your reviewer!
When the article is ready to be published, ask a lead author for a review.
-
If you do not already have a pull request, create a pull request with your article to get it reviewed
Look out for the "New Pull Request" button. The base fork is "Zuehlke/fifty-shades" and the head fork is "{you}/fifty-shades".
Use the issue number of your article prefixed with
#
in the pull request title -
Ask a Lead Authors for final review and publication using email or leave a comment in the pull request saying "ready for lead author review".
-
The assigned lead author will finally merge your pull request, when all the review comments are resolved. He will also close the issue.
-
Once published, you can still correct or improve it, by doing new pull requests from your fork of the repository.