--- categories: - Workshop - Docs cover: reasonable-animals.jpg cover_alt: olifanten and dolphin agree on something date: 12/02/2023 description: Gardening for code git: https://git.xpub.nl/kamo/dyc slug: dyc title: Documentation sessions --- _Documentation sessions to take care of code_ ## What could it be Periodical sessions where to document code. Once a week, a couple of hours, on a regular basis. Soft facilitation: - not meant to be frontal moments, but more a shared space - small zines to share things about documentation practices (readings, frameworks, prompts) - p2p feedback and help - coffee snacks music - stickers with animals that says document your code (wip) - share progress like brief debrief ? ## For who? For people that tinker with code. Both novice and navigated ones. For documenting small ongoing prototypes or more structured projects. For xpub2, xpub1, lens based, even bachelor students? Something open. ## How to do - Decide when and where and communicate it - Could be useful to have some examples - Nice also to have some prompts ## Where ? ? ? - March 23rd at varia - Could ask v2 if it's somethig they are interested in - School ## Some visual test Not sure but made a couple of flyers let's see ![bird of paradise](bird-of-paradise.jpg) ![saddle-bill](saddle-bill.jpg) ## Flyer text triouts Document code like birds of paradise do 2 hours of headspace to write some nice _documentation_ for a more accessible programming practice ### Ok this is really not necessary right now but what about: A small system to generate flyers - Header - Bird - Date - Place - Info - Adjective ``` Document code like do 2 hours of headpsace to write some nice DOCUMENTATION for a more programming practice ``` And with wobbly shapes for the flyer ... but this will be for another time ### Let's write some text to invitate people!! Let's write some code documentation! For your new coding project, for the cryptic library you downloaded recently, for a script that you want to share with others! Too many pieces of code are left alone out there: without an entry point, forgotten, while outside is raining. Wouldn't it be nice to take care of them? Enter the documentation sessions. Two hours where to sit with source code and write something about it. From simple instructions to in-depth explanations, or maybe some drawings to illustrate the overall process. You name it. Writing documentation is difficult! But let's face this together: prompts and suggestions will be offered for inspiration, and coffee and snacks for restoration. If you want there will be space to share your work and exchange feedback, if not no prob: just enjoy the cozy music and write some docs. __Practical info:__ Two hours on ______, starting at ______! For people that thinkers with code, no matter the experience. Processing, P5.js, TouchDesigner, Javascript, Python, doesn't really matter! All code looks better when is documented! Come alone or with friends, bring your laptop and something to document. ## First session 15/03/2022 The first session took place at WdKA, 4th floor. Not super crowded, but still useful to prepare some contents and understand what could be useful. ![gadget](gadget.jpg) Printed some materials: __Stickers__ - Trolley meme - Wolf, goat and lattuce meme - Diataxis scheme __Readings__ - [ReadMe Driven Development - Tom Preston Werner](https://tom.preston-werner.com/2010/08/23/readme-driven-development.html) - [Suggestions for a good README](https://www.makeareadme.com/#suggestions-for-a-good-readme) ### Notes for next session - Add more context! That could be: something from the thesis introduction - where is this project coming from - why are you doing it - why do you think is important - Could elaborate more where the documentation is in relation to the code - where is the documentation? - a (loose) connection between code and documentation - not everyone use git for example - Do not take for granted what a readme is! Introduce it! - Some historical overview - [Origin of "Readme" - Stack Exchange](https://softwareengineering.stackexchange.com/questions/96966/origin-of-readme/97132#97132) - [The Jargon File](http://catb.org/%7Eesr/jargon/html/index.html) - Offer it just as an option, mention other options - Critical read of ReadMe Driven Dev Gathering materials in [Care for code](care_for_code.md)