LogoLogo
  • Planet 4
  • Development
    • Contribute
    • Installation
    • Git Guidelines
    • Coding Standards
    • Continuous Delivery
  • CI/CD
    • Test Instances
    • Deployment
    • Testing
      • End-to-end Tests
      • Visual Regression Tests
  • NRO Customization
    • Development
      • Using Child Themes
      • Package Registry
      • Plugins
    • Testing
      • Visual Regression Tests
    • Deployment
      • Production
      • DB/Media Sync
  • Infrastructure
    • NRO Generation
    • ElasticSearch
    • Cloudflare
  • Recipes
    • Maintenance page
    • Production sync
    • Running commands
  • Platform
    • Practices
    • ADRs
      • [ADR-0001] Use Gitbook for Technical Documentation
      • [ADR-0002] P3 Archive elastic search integration
      • [ADR-0003] WYSIWYG Blocks Architecture
      • [ADR-0004] Switch to Monorepo
      • [ADR-0006] Define scope for deployment environments
      • [ADR-0008] PSR-4 Autoloading Standard
      • [ADR-0009] Include Media Library in master theme
      • [ADR-0011] PHP Coding Standards
      • [ADR-0012] Use custom SCSS syntax for variables
      • [ADR-0013] Choose a ticketing system
      • [ADR-0014] Choose a testing framework
      • [ADR-0015] Use block templates to build block patterns
      • [ADR-0016] Form Builder data retention policy
      • [ADR-0017] Move blocks into the theme
    • Changelog
      • 2024
      • 2023
      • 2022
      • 2021
      • 2020
      • 2019
      • 2018
  • Tech
    • Wordpress
    • Blocks
    • Plugins
    • Hooks
    • Data migrations
    • CSS variables
Powered by GitBook
On this page
  • Context and Problem Statement
  • Decision Drivers
  • Considered Options
  • Decision Outcome
  • Pros and Cons of the Options
  • Links
Edit on GitHub
  1. Platform
  2. ADRs

[ADR-0001] Use Gitbook for Technical Documentation

Decided to move to Gitbook all Technical documentation (Development & Infrastructure)

PreviousADRsNext[ADR-0002] P3 Archive elastic search integration

Last updated 4 years ago

  • Status: accepted

  • Deciders: Engineering Team

Context and Problem Statement

Currently Technical Documentation lives in the Handbook, with an and everything else organized under the . On the other hand Gitbook is a platform specifically for maintaining documentation, based on Markdown. We created a in GP Gitbook account to test how a potential structure of our documentation would look.

Decision Drivers

  • Community Management Team should be consulted, since this affects the internal development community too.

Considered Options

  • Move to Gitbook

  • Stay in the Handbook

Decision Outcome

Chosen option: Decided to move to Gitbook all Technical documentation (Development & Infrastructure)

Pros and Cons of the Options

Move to Gitbook

  • Good, because Gitbook is meant to be used as a documentation platform providing better UI/UX for that task.

  • Good, because docs can be grouped in categories, or browsed as a series of a guide, creating a user journey.

  • Good, because it’s connected and synced with a public Github repo, so it’s easy for an external contributor to update the documentation by opening a Pull Request.

  • Good, because the documentation on the repo is just Markdown so we are not locked into Gitbook, if we ever choose to leave.

  • Good, because it’s the choice of in the Org (eg. Global Support), so people can discover it easier but they are also used to it.

Stay in the Handbook

  • Good, because everything regarding P4 is in one place.

  • Bad, because the perception is that the Handbook is for internal audience. That’s not always the case for the technical documentation.

  • Bad, because we sometimes need to do custom development just for the Handbook.

Bad, because it demands manual styling customization for technical documentation (e.g scripts/coding pieces) or instructions.

Links

entry point
Development tag
Planet 4 space
other teams
P4 space on Gitbook
Git Repo