The cellxgene documentation are deployed via gitbooks to a custom URL: docs.cellxgene.cziscience.com. Changes made to the main branch are automatically deployed to the live site.
- When adding new functionality to cellxgene
- When removing functionality from cellxgene
- When making a significant change to the Portal UI
- When making a significant change to the Explorer UI
For simple documentation changes that modify text or media on existing pages, PRs can simply be made against the main branch of this repository. When merged, changes will be automatically deployed to the documentation.
For complex updates that change the structure of the documentation, or when there are questions about how added content will be displayed, it is recommended to additionally:
- Fork the repository and set up a gitbook (see below)
- Link the gitbook to the PR so reviewers can review how the changes will be deployed.
- Fork github.com/chanzuckerberg/cellxgene-documentation
- Create a gitbook account and ask acarr@chanzuckerberg.com for an invitation to CZI's gitbook team
- Create a new "space" in your personal "org".
- Click "integrations" on the left sidebar and turn on the Github integration
- Select "list all repositories" and use the search bar to find your fork of cellxgene-documentation
- Select branches to sync and select the "main" branch
- Select "I write my content on GitHub" to sync the repository to gitbook
This generates a reusable gitbook serving your fork. Updating your fork from upstream on github will automatically deploy the changes to your fork, allowing you to use it again for future updates.