| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
This folder holds internal developer documentation for the Sentry Java/Android SDK: architecture notes, feature deep-dives, design decisions, and cross-module concepts that don't belong in the public Sentry docs or in inline code comments.
If you are documenting how or why something works for the people who maintain this SDK, it goes here. If you are documenting how to use the SDK for end users, it belongs in the public docs instead.
These rules keep the docs consistent, easy to navigate, and easy to grep.
Documents live in subdirectories, one level per level of grouping. Directories are cheap: reach for a new one as soon as a topic has more than one document, or as soon as you can name the group.
Every document sits under one of these top-level categories:
Add a new category only when an existing one clearly does not fit, and keep the list above up to date.
Below the category, nest by topic and then by sub-topic. A fully grown feature might look like this:
develop-docs/
README.md
general/
pipeline.md
feature/
profiling/
overview.md
perfetto.md
anr.md
symbolication/
deobfuscation.md
When a document embeds images (or other binary assets), store them in an assets/ folder next to the document. Documents in the same directory share it:
develop-docs/
feature/
profiling/
perfetto.md
assets/
pipeline.png
overview.svg
Reference assets with relative paths: .
Asset file names follow the same rules as documents: lowercase, dashes, descriptive.
Prefer vector formats (SVG) for diagrams and screenshots where practical
Prefer Mermaid over a static image whenever a diagram can be expressed as one (see below) — it lives in the document, is versioned as text, and is easy to update.
Most feature documents answer the same four questions, and following that order makes them easier to compare and to keep current:
Do not restate (4) in every document. Describe the shared path once in general/pipeline.md and cover only the deviations a feature introduces. Omit any of the four that a feature does not have, and keep each as high-level as the topic allows so the document stays true for longer.
Prefer Mermaid for diagrams. It renders directly on GitHub and lives in the document as text, so it versions and reviews like code.
Embed a Mermaid diagram in a fenced block tagged mermaid:
```mermaid
flowchart LR
Event[SentryEvent] --> Processor[EventProcessors]
Processor --> Transport
Transport --> Sentry[(Sentry)]
```For complex diagrams, include a link to the Mermaid Live Editor so reviewers can iterate quickly.
Fall back to static images (stored per the asset rules above) if mermaid is not practicable.
| Back | FazBrowse Home | New Git URL |