Content structure Consistent navigation patterns •products •tools Put developers in control by offering really good search •we use Aiven for OpenSearch •indexing multiple sources
@aiven_io ~ @lornajane
Slide 7
Style guide •use a specific template •add hyperlinks •use active wording •formatting guidelines •positive and respectful language •titles, verbs and sentence case •screenshots and example values •what not to do @aiven_io ~ @lornajane
Slide 8
Docs as Code Use the same tools and workflows as for code
@aiven_io ~ @lornajane
Slide 9
Source control •easy to work on many parallel changes •identify of author and reviewer are known •full change history for all pages •collaboration tools for big or small changes
@aiven_io ~ @lornajane
Slide 10
Text-based markup •static site generator •separate content and presentation •reuse content (single sourcing) •handle large changesets easily
@aiven_io ~ @lornajane
Slide 11
Text-based diagrams Using https://mermaid-js.github.io
@aiven_io ~ @lornajane
Slide 12
Automating a docs platform
@aiven_io ~ @lornajane
Slide 13
Continuous integration Pull request build does the work •verify the build •generate preview •check hyperlinks •prose linting with Vale
@aiven_io ~ @lornajane
Slide 14
Vale Prose linter https://vale.sh/ •checks for valid words and can be taught technical terms •checks for correct use of trademarked terms •requires all headings to be in sentence case •suggests replacements for frequent mistakes
@aiven_io ~ @lornajane
Slide 15
Continuous deployment •immediate deploy on merge to main •build static site and deploy •repeat often
@aiven_io ~ @lornajane
Slide 16
Open Source Operation
@aiven_io ~ @lornajane
Slide 17
Contributors Encourage contributors (internal or external) •well-tended repository •contributor guidelines •office hours for internal contributors •good review practice
@aiven_io ~ @lornajane
Slide 18
Maintainers Principle of shared responsibility •reviewer guidelines in the repo •pull requests need a single approver •all git-enabled Aiveners can merge •editorial review is available Gatekeepers have no place in collaboration
@aiven_io ~ @lornajane