SlideShare uma empresa Scribd logo
1 de 24
DOC-ING IN AND OUT
allansun.130830@KKBOX
We sometimes write some comments…
Not easy to read…
Introducing: Markdown
What is Markdown?
• A lightweight markup language
• “To write using an easy-to-read, easy-to-write plain text
format, then convert it to structurally valid XHTML(or
HTML)”
• In brief:
• Write in plaintext
• Read in rich format or plaintext
Trend of Markdown
Useful to coders
Pretty Results
Maybe profitable..?
How to write?
• Headings
• Paragraphs
• Lists
• Code
• Links & Images
• Miscs
Headings
Paragraphs
Lists
Code
Links & Images
Miscs
So we’re now using Markdown…
• In our opensource
project: KKBOX
Android Toolkit
• https://github.com/KKBO
X/android_kktoolkit
• README.md
• .md is a markdown
extension (Optional)
• Wiki page
What about in-code comments?
• We currently uses Doxygen-style comments
Comment styles
Use Doxygen to autogen docs
Step-by-step
• Generate a doxygen configure file
• $doxygen doxygen
• See the pretty HTML
• We currently made this process cronly due to laziness
• Self generate, self update
Conclusion
• Writing document by using Markdown language
• Examples, explanation, blog posts, readme…
• Easy to write, easy to read
• Write in-code comments by using Doxygen notations
• Not much different between regular comments
• Eclipse can help you a bit
• Auto-generated documents
• 順手捐發票,救救老殘窮順手寫文件,救救全世界
• Please give a helping hand on our open-source project :P
Refenece
• Markdown Project
http://daringfireball.net/projects/markdown/
• 中文版說明
http://markdown.tw/
• Github Flavored Markdown
https://help.github.com/articles/github-flavored-markdown
• Doxygen
http://www.doxygen.org/
Q&A
Thanks!

Mais conteúdo relacionado

Mais procurados

Week 4 css recap and js
Week 4   css recap and jsWeek 4   css recap and js
Week 4 css recap and js
brianjihoonlee
 

Mais procurados (18)

Week 4 css recap and js
Week 4   css recap and jsWeek 4   css recap and js
Week 4 css recap and js
 
Introduction to PHP - Slide 1
Introduction to PHP - Slide 1 Introduction to PHP - Slide 1
Introduction to PHP - Slide 1
 
Tips for Writing Better Code
Tips for Writing Better CodeTips for Writing Better Code
Tips for Writing Better Code
 
Java script
Java scriptJava script
Java script
 
Introduction to DOM
Introduction to DOMIntroduction to DOM
Introduction to DOM
 
3. Web Technology Advanced HTML
3. Web Technology Advanced HTML3. Web Technology Advanced HTML
3. Web Technology Advanced HTML
 
Html and dhtml
Html and dhtmlHtml and dhtml
Html and dhtml
 
Dynamic HTML (DHTML)
Dynamic HTML (DHTML)Dynamic HTML (DHTML)
Dynamic HTML (DHTML)
 
Unit 2 dhtml
Unit 2 dhtmlUnit 2 dhtml
Unit 2 dhtml
 
Microsoft Azure DocumentDB - Global Azure Bootcamp 2016
Microsoft Azure DocumentDB -  Global Azure Bootcamp 2016Microsoft Azure DocumentDB -  Global Azure Bootcamp 2016
Microsoft Azure DocumentDB - Global Azure Bootcamp 2016
 
Web Design & Development Courses in Pune |Web Development Classes in Pune | ...
Web Design & Development Courses  in Pune |Web Development Classes in Pune | ...Web Design & Development Courses  in Pune |Web Development Classes in Pune | ...
Web Design & Development Courses in Pune |Web Development Classes in Pune | ...
 
Web programming and services
Web programming and servicesWeb programming and services
Web programming and services
 
The Document Object Model
The Document Object ModelThe Document Object Model
The Document Object Model
 
Dhtml
DhtmlDhtml
Dhtml
 
Xhtml
XhtmlXhtml
Xhtml
 
Html5
Html5Html5
Html5
 
Validator
ValidatorValidator
Validator
 
Web Development Basics: HOW TO in HTML
Web Development Basics: HOW TO in HTMLWeb Development Basics: HOW TO in HTML
Web Development Basics: HOW TO in HTML
 

Destaque

мероприятия
мероприятиямероприятия
мероприятия
ElenaSam
 
дизайн
дизайндизайн
дизайн
ElenaSam
 
Soudaljobdag20110326
Soudaljobdag20110326Soudaljobdag20110326
Soudaljobdag20110326
JeroenLevens
 
финансы 2012
финансы 2012финансы 2012
финансы 2012
ElenaSam
 
K main report
K main reportK main report
K main report
ElenaSam
 
к конференции
к конференциик конференции
к конференции
ElenaSam
 
75 microsoft powerp
75 microsoft powerp75 microsoft powerp
75 microsoft powerp
ElenaSam
 
выпускники
выпускникивыпускники
выпускники
ElenaSam
 
гибдд 2014
гибдд 2014гибдд 2014
гибдд 2014
ElenaSam
 
сертификаты фактор
сертификаты факторсертификаты фактор
сертификаты фактор
ElenaSam
 

Destaque (20)

мероприятия
мероприятиямероприятия
мероприятия
 
дизайн
дизайндизайн
дизайн
 
Presentation
PresentationPresentation
Presentation
 
Soudaljobdag20110326
Soudaljobdag20110326Soudaljobdag20110326
Soudaljobdag20110326
 
финансы 2012
финансы 2012финансы 2012
финансы 2012
 
9 мая
9 мая9 мая
9 мая
 
K main report
K main reportK main report
K main report
 
к конференции
к конференциик конференции
к конференции
 
75 microsoft powerp
75 microsoft powerp75 microsoft powerp
75 microsoft powerp
 
Емейл-маркетинг в финансовой цепочке монетизации лида
Емейл-маркетинг в финансовой цепочке монетизации лидаЕмейл-маркетинг в финансовой цепочке монетизации лида
Емейл-маркетинг в финансовой цепочке монетизации лида
 
Our school
Our schoolOur school
Our school
 
выпускники
выпускникивыпускники
выпускники
 
It sector
It sectorIt sector
It sector
 
Knye journal-tpd2016 (2)
Knye journal-tpd2016 (2)Knye journal-tpd2016 (2)
Knye journal-tpd2016 (2)
 
Question K Adeline Djeutie
Question K Adeline DjeutieQuestion K Adeline Djeutie
Question K Adeline Djeutie
 
гибдд 2014
гибдд 2014гибдд 2014
гибдд 2014
 
Battle of The Schools Finals
Battle of The Schools FinalsBattle of The Schools Finals
Battle of The Schools Finals
 
сертификаты фактор
сертификаты факторсертификаты фактор
сертификаты фактор
 
Welcome-тактики из практики Emailmatrix 2015-2016
Welcome-тактики из практики Emailmatrix 2015-2016Welcome-тактики из практики Emailmatrix 2015-2016
Welcome-тактики из практики Emailmatrix 2015-2016
 
Our school 4a
Our school 4aOur school 4a
Our school 4a
 

Semelhante a Docing in-and-out: Markdown introduction

Mongo db first steps with csharp
Mongo db first steps with csharpMongo db first steps with csharp
Mongo db first steps with csharp
Serdar Buyuktemiz
 
Writing Effective Self-Help Guides for World Domination
Writing Effective Self-Help Guides for World DominationWriting Effective Self-Help Guides for World Domination
Writing Effective Self-Help Guides for World Domination
Emma Jane Hogbin Westby
 

Semelhante a Docing in-and-out: Markdown introduction (20)

Artistic Web Applications - Week3 - Part 1
Artistic Web Applications - Week3 - Part 1Artistic Web Applications - Week3 - Part 1
Artistic Web Applications - Week3 - Part 1
 
Oreilly
OreillyOreilly
Oreilly
 
WEB DEVELOPMENT20CS41.pdf
WEB DEVELOPMENT20CS41.pdfWEB DEVELOPMENT20CS41.pdf
WEB DEVELOPMENT20CS41.pdf
 
Why Markdown?
Why Markdown?Why Markdown?
Why Markdown?
 
HTML5 Is the Future of Book Authorship
HTML5 Is the Future of Book AuthorshipHTML5 Is the Future of Book Authorship
HTML5 Is the Future of Book Authorship
 
Web components, so close!
Web components, so close!Web components, so close!
Web components, so close!
 
Mongo db first steps with csharp
Mongo db first steps with csharpMongo db first steps with csharp
Mongo db first steps with csharp
 
How developers write documentation
How developers write documentationHow developers write documentation
How developers write documentation
 
Building an E-commerce website in MEAN stack
Building an E-commerce website in MEAN stackBuilding an E-commerce website in MEAN stack
Building an E-commerce website in MEAN stack
 
CHAPTER 1_ HTML and CSS Introduction Module
CHAPTER 1_ HTML and CSS Introduction ModuleCHAPTER 1_ HTML and CSS Introduction Module
CHAPTER 1_ HTML and CSS Introduction Module
 
Java script
Java scriptJava script
Java script
 
Java script
Java scriptJava script
Java script
 
No folders: A workspace that organizes for you
No folders: A workspace that organizes for youNo folders: A workspace that organizes for you
No folders: A workspace that organizes for you
 
Writing Effective Self-Help Guides for World Domination
Writing Effective Self-Help Guides for World DominationWriting Effective Self-Help Guides for World Domination
Writing Effective Self-Help Guides for World Domination
 
Training presentation.pptx
Training presentation.pptxTraining presentation.pptx
Training presentation.pptx
 
Technical writing tools
Technical writing toolsTechnical writing tools
Technical writing tools
 
Choosing Adobe RoboHelp as Your Help Authoring Tool
Choosing Adobe RoboHelp as Your Help Authoring ToolChoosing Adobe RoboHelp as Your Help Authoring Tool
Choosing Adobe RoboHelp as Your Help Authoring Tool
 
Incremental DOM and Recent Trend of Frontend Development
Incremental DOM and Recent Trend of Frontend DevelopmentIncremental DOM and Recent Trend of Frontend Development
Incremental DOM and Recent Trend of Frontend Development
 
Adobe Flash Professional with CreateJS
Adobe Flash Professional with CreateJSAdobe Flash Professional with CreateJS
Adobe Flash Professional with CreateJS
 
Dust.js
Dust.jsDust.js
Dust.js
 

Último

Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 

Docing in-and-out: Markdown introduction