Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
How to make a better FM
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Awesome Incremented
October 09, 2015
Technology
490
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
How to make a better FM
Continuous documentation - using mkdocs, PlantUML, NPlant, salt & msbuild
Awesome Incremented
October 09, 2015
Transcript
21 slides
How to make a better FM Dev.Talk October 2015 Marcel
Körtgen
None
Agenda •Traditional documentation •Alternative approaches •Demo: docs as part of
the build • Architectural documentation • UI sketches •Conclusions & Perspectives
Traditional documentation Docs feedback ultra-slow, if any •Written as very
last step • if it fails, no time for a 2nd shot •“Documentation Drift” • code changes lot faster • docs maintained out of band
Alternative approaches “Build-Measure-Learn” again • introduce a feedback loop (make
it short) → put docs close to code (git) → make docs part of build process → How?
Introducing MkDocs Why Markdown? •simple plain-text → easy to integrate
(git, build, …) •decouples styling → easy to write & view •lots of tooling around...
MarkdownPad...
Visual Studio...
Dillinger.io (online)...
...or MkDocs (offline)
Architectural Documentation Guidelines → Software Guidebook (Simon Brown) → arc42
Template (in Germany) Tooling → PlantUML
Avoiding Drift UML is ... • usually one-way • suspect
to BDUF and technical drift Solution: introduce feedback loop. Again. → “Yes, this is a pattern!”
Avoiding Drift: NPlant NPlant: code-based fluent DSL for diagrams •
generates UML notation • wraps PlantUML to generate images → “Notice the irony?” build integration: compile & test
UI Prototyping with Salt Salt: PlantUML subproject @startuml salt {
Just plain text [This is my button] () Unchecked radio (X) Checked radio [] Unchecked box [X] Checked box "Enter text here " ^This is a droplist^ } @enduml
UI Prototyping with Salt Salt: plain UML! no code! Feedback?
UI Prototyping with Salt Salt: plain UML! no code! Feedback?
Demo Time Using mkdocs, plantuml, NPlant & salt https://github.com/mkoertgen/hello.NPlant
Demo Time Generating docs & diagrams as part of your
build • git clone https://github.com/mkoertgen/hello.NPlant.git • build.bat /t:Docs /v:m
Summary •Traditional documentation evolves too slow •Documentation needs to be
part of the daily build process •Code generates documentation (and not vice versa) •Markdown, PlantUML & Co. do the work for you
Some references • D.Matthews - MkDocs: Documenting projects with Markdown
(ep2015) • Architekturdokumentation mit Entwicklerwerkzeugen (jaxenter) • write-the-docs.org, EU 2014 Presentations • GitHub Pages • sphinx-doc.org
Thank You Time for Questions!
More Decks by Awesome Incremented
See All by Awesome Incremented
Fast GeoIp Lookup using Redis
awesomeincremented
0
100
Continuous License Compliance-Analysis
awesomeincremented
0
41
(Almost) Continuous Delivery with Docker in offline environments
awesomeincremented
0
56
Update on Technology Radar
awesomeincremented
0
53
Docker Build Automation with Jenkins
awesomeincremented
1
80
Software Quality
awesomeincremented
1
86
Code Reviews
awesomeincremented
0
86
Coding Guidelies
awesomeincremented
0
60
Oracle Spatial 101 - An Introduction
awesomeincremented
0
180
Other Decks in Technology
See All in Technology
Well, that’s weird…
csswizardry
3
270
対話 AI プラットフォーム「アイブリー」で実践する自然言語処理と事業開発
ivry_presentationmaterials
0
250
VTuberになってみた話
yoshimura_datam
0
140
コーディングできない僕にBobが舞い降りた
shumpei3
0
310
信頼性を犠牲にせず、PR マージからデプロイまで人の介入を完全にゼロにするまでの道のり
knwoop
4
2.3k
40以上のマイクロサービスを支えるKubernetes JITアクセス — 160以上の恒久RoleBindingを削減
jumpe1
0
120
技術書典で本を売る流れ
yoshimura_datam
0
220
事業を理解して技術を選ぶ〜TechLeadは何を学び、どう考えるべきか QA スライド/understand-the-business-then-choose-the-technology-qa
haru860
0
110
PMの私の 最近のAgent Skills活用法
haru860
0
120
Claude Certified Developer – Professional 試験対策
shinoisa
0
340
品質を積み上げられるようにする
goyoki
6
2.8k
フルTypeScript × AI駆動開発で開発量が数倍に (JSConf JP 2026 スポンサーLT:NCDC株式会社)
keitaibaraki
1
820
Featured
See All Featured
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
23k
Docker and Python
trallard
47
4.3k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.9k
Making Projects Easy
brettharned
120
6.9k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
620
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.3k
The browser strikes back
jonoalderson
0
2k
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.6k
Practical Orchestrator
shlominoach
192
12k
Intergalactic Javascript Robots from Outer Space
tanoku
273
28k
A Modern Web Designer's Workflow
chriscoyier
699
190k
Abbi's Birthday
coloredviolet
5
11k