Documentation Blogpost Styleguide Com

Sofie's Docs Diary Vol. 16: Writing in style šŸ˜Ž

A helping hand to make your writing look good āœļø

Sofie Blogpost
Written by Sofie Toft Kristensen

Weā€™ve implemented a style guide on the Umbraco Documentation, Hacktoberfest is happening right now, me and Jesper went to a Documentation conference and the numbers are once again through the roof! I canā€™t wait to share it all with you, and also show you some of the articles that has been updated since last

The Documentation Style Guide

So many things to cover today, so Iā€™d better jump right in:

InĀ my blog post back in August, I mentioned that weā€™re working on pimping up the Documentation. Well, not exactly ā€œPimp my Rideā€-style, but close!

We call it: ā€œWriting docs in styleā€ šŸ˜ .. or, thatā€™s at least what I call it!

Okay, this might require an explanation.

Sofie Word

Style guide, Vale and Github

To ensure readability on every article in the Umbraco Documentation weā€™ve set up and implemented a style guide. Currently, it only has a few rules, such as ā€œDonā€™t write sentences longer than 40 wordsā€ and ā€œAlways start list items with a capital letterā€.Ā 

Weā€™ve set up the rules using an automatic style linter calledĀ Vale. As with the rest of the Documentation, the style guide is open-source, and youā€™re more than welcome to contribute and suggest more style rules!

So, style guidelines are great and all that, but how do we actually make sure that they are followed? šŸ¤”

Iā€™m glad you asked!

Every time a PR is made to the Umbraco Documentation a Github bot will run through the article(s) and check everything. If some of the checks fail, it will tell you the exact line in the article that youā€™ll need to revisit. If everything looks good, youā€™ll get a green check-mark and even a fun little gif.

Woho Gif

These checks are all thanks to our very own Warren Buckley (@warrenbuckley) who made a Github bot that runs these checks.Ā 

Can you publish something without following the tips from the style-guide bot? Yes, but we highly encourage that you do follow the tips. The reason why weā€™ve added the style guide is not only to help you in your writing process, it is also to help make the Documentation easier to read and understand for everyone. So it really is an overall win-win for both you and the many future readers of your helpful words.

Want to know more about this Style guide?Ā Weā€™ve written an article for the DocumentationĀ where you can learn more about the different rules and how you can run and install Vale on your own machine.

What else is new?

.. other than the style guide, of course.

Well, as you might know,Ā HacktoberfestĀ is currently in progress. Weā€™ve had so many great contributions already and they just keep coming!

One of our goals for joining Hacktoberfest again this year is to get some help verifying our Umbraco 7 documentation for Umbraco 8. So far, itā€™s been aĀ smashingĀ success! šŸŽ‰

Pr Stats

More than 30 articles have been verified and updated for Umbraco 8 just this month - and itā€™s only October 21st šŸ¤Æ

And on top of that, many grammar fixes and minor typos have been solved as well! I canā€™t wait to see the final result of Hacktoberfest when itā€™s over in a couple of weeks.

Here are a few highlights from the past months of Documentation:

Working with Record Data in Umbraco Forms

Our very own Bjarke Berg (@BjarkeBerg) has updated our Documentation about how to work with Record Data in Umbraco Forms. Heā€™s versioned the article, which means thereā€™s one for Umbraco 8 and one for Umbraco 7 šŸ’Ŗ

The Umbraco API

How to work with the web API in Umbraco has changed a bit from Umbraco 7 to Umbraco 8, and, of course, that means that the Documentation should also be changed a bit. This is only one of the many things that Carole Rennie Logan (@crgrieve) has helped with this month. She updated the article while she had to do some testing with it anyways šŸ‘ Thanks!

Models Builder: Builder Modes

In this article, thereā€™s a section about how to work with the API Models. Anders Bjerner (@abjerner) has given this particular section an update and added a bunch more details to how it works. Definitely make sure to check it out if you've been using API Models already, or if itā€™s something youā€™re planning on doing!

Other articles that have gotten a ā€œtouch-upā€:

Alright, I better stop here! I think you get the gist by now - A lot of great things keeps happening on the Documentation repository šŸ˜„

ā€œDocs or it didnā€™t happen!ā€

ā€¦ am I right? šŸ˜‰

Now, this final thing I want to share with you today is something Iā€™ve been really excited to share.

Back in September Umbraco sponsored aĀ Write the Docs conference, and Jesper and I went there as representatives šŸ¤©

Write the Docs is a 3 day conference in Prague which is being held every year. The conference consist of 1 day of writing and 2 days of talks, sessions and unconferences (kinda similar to the concept of Open Spaces you might know from Codegarden).

Ā 

Sofieandjesper

It was a great conference! We met a lot of super nice people, heard a lot of very interesting talks and joined in on some inspiring unconferences.

Oh, and Jesper did a lightning talk about our new style guide and the Github bot we use for it šŸ‘

Ā 

Writethedocscollage (2)

All in all, a very good experience, and I hope I get to attend the conference again next year šŸ¤ž

The Numbers

Okay, so this is the final-final thing for today: The mandatory look at how the Documentation numbers look compared to my last blog post - which is exactly 2 months ago today.

And you know what? They lookĀ amazing!

Yeah, yeah, I say that every time - I know, but this time.. Iā€™ll let the numbers speak for themselves:

Ā 

Docs Numbers Oct

Right? 104 PRs merged in 2 months. Thatā€™s pretty neat!

Weā€™re a bit more than halfway through Hacktoberfest by now, and weā€™ve already received more than 100 PRs from 51 different people - half of these are even brand new contributors to Umbraco šŸ¤©

If you havenā€™t already, be sure to head on over toĀ the Umbraco Documentation Issue trackerĀ and see if thereā€™s something you can pitch in on in order to improve documentation for everyone and, of course,Ā  secure your Umbraco Hacktoberfest swag for this year.

Thatā€™s all for now.

Until next time... oh, and Happy Halloween šŸŽƒ

// Sofie

Ā 

Sofie Halloween

Loved by developers, used by thousands around the world!

One of the biggest benefits of using Umbraco is that we have the friendliest Open Source community on this planet. A community that's incredibly pro-active, extremely talented and helpful.

If you get an idea for something you would like to build in Umbraco, chances are that someone has already built it. And if you have a question, are looking for documentation or need friendly advice, go ahead and ask on the community forums.

Want to be updated on everything Umbraco?

Sign up for the Umbraco newsletter and get the latest news and special offers sent directly to your inbox