Design patterns

From miki
Revision as of 02:27, 29 December 2017 by Mip (talk | contribs) (Created page with "== Development == === The wiki-as-submodule pattern === [https://coderwall.com/p/bwpwwg/the-wiki-as-submodule-pattern The wiki-as-submodule pattern] proposes to * Embed your A...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Development

The wiki-as-submodule pattern

The wiki-as-submodule pattern proposes to

  • Embed your API documentation in a wiki
  • Include this wiki as a git submodule

This way:

  • Documentation can be improved by anyone without the need of formal approval. User don't need access to the codebase to update documentation.
  • Documentation and code can be searched together in the same tree
  • Documentation and code are sync'ed with version control.

Note that on GitHub, all projects receive a wiki for free.