Satoshi Nakamoto Blog
Image default
cybersecurity docstrings documentation education Raspberry Pi Resources resources Sphinx

Learn to doc your code


In our newest useful resource, we present you tips on how to create an internet site and use it to doc your coding initiatives.

Why doc your code?

Search the net with the fitting key phrases on your programming conundrum, and also you’re certain to seek out somebody who has written software program to handle a query that’s a minimum of much like yours. And never solely that, they’re additionally making their software program freely obtainable below an open supply license, and writing documentation that can assist you use their code. How superior is that?!

Many individuals who write code are wanting to share their packages and permit others to make use of and remix them based on their very own wants. For this reason the open supply neighborhood is so inviting for makers, particularly those that need to make initiatives which might be but past their means to construct from scratch.

So except you intend on turning your code right into a money-making commodity, you’re writing scripts you could share with others. By including clear, supporting on-line documentation to your code, you’ll assist individuals all around the world to not solely use your software program however to additionally perceive what every part does and grow to be higher programmers themselves.

Our useful resource

In our newest useful resource, we present you tips on how to use docstrings to mechanically create documentation on your Python code. Then, we stroll you thru utilizing Sphinx to construct an internet site showcasing this documentation and any instance scripts you need to share with the world.

You’ll discover ways to create supporting documentation to information customers by way of components of your code, add a number of pages to your web site, and use themes to customize the positioning’s structure and make it stand out.

You’ll find the useful resource right here, and our full listing of free assets right here on our initiatives website.

Extra free assets


We’ve additionally just lately launched a brand new Sense HAT music participant venture, together with a useful resource instructing primary Raspberry Pi terminal navigation abilities with a enjoyable recreation to seek out all of the Pac-Man ghosts.

The publish Learn to doc your code appeared first on Raspberry Pi.



Source link

Related posts

Canada is Imitating EU’s GDPR, New Policy Takes Effect On Nov 2018

satoshi

With threats of cyberattacks looming over European elections, Microsoft expands AccountGuard cybersecurity program – GeekWire

satoshi

Holding Out for a Hero! The Every Day Resilience Heroes in Every Business – Irish Tech News

satoshi

The Global Computing Dilemma of the Healthcare Institutions

satoshi

How Good is our Return on Learning for Classroom Apps?

satoshi

Google Yanks 29 Malicious Photo Apps From Play Store, But Not Before Millions of Downloads

satoshi