Skip to content

Commit

Permalink
docs: turn into single page (#703)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kludex authored Dec 20, 2024
1 parent 0f46d55 commit a630aed
Show file tree
Hide file tree
Showing 11 changed files with 282 additions and 277 deletions.
4 changes: 2 additions & 2 deletions docs/get-started/traces.md → docs/concepts.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ with logfire.span('counting size of {cwd=}', cwd=cwd):
logfire.info('total size of {cwd} is {size} bytes', cwd=cwd, size=total_size)
```

![Counting size of loaded files screenshot](../images/logfire-screenshot-first-steps-load-files.png)
![Counting size of loaded files screenshot](images/logfire-screenshot-first-steps-load-files.png)

---

Expand All @@ -55,7 +55,7 @@ with logfire.span('Asking the user for their {question}', question='birthday'):
2. Attempt to extract a date from the user input. If any exception is raised, the outer span will include the details of the exception.
3. This will log for example `dob=2000-01-01 age=datetime.timedelta(days=8838)` with `debug` level.

![Logfire hello world screenshot](../images/index/logfire-screenshot-hello-world-age.png)
![Logfire hello world screenshot](images/index/logfire-screenshot-hello-world-age.png)

---

Expand Down
2 changes: 1 addition & 1 deletion docs/guides/onboarding-checklist/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ fix bugs, analyze user behavior, and make data-driven decisions.
!!! note

If you aren't familiar with traces and spans, start with the
[Tracing with Spans](../../get-started/traces.md) page.
[Tracing with Spans](../../concepts.md) page.

#### Logfire Onboarding Checklist

Expand Down
4 changes: 2 additions & 2 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ From the team behind **Pydantic**, **Logfire** is a new type of observability pl
the same belief as our open source library — that the most powerful tools can be easy to use.

**Logfire** is built on OpenTelemetry, and supports monitoring your application from any language,
with particularly great support for Python! [Read more](why-logfire/index.md).
with particularly great support for Python! [Read more](why.md).

## Getting Started

Expand Down Expand Up @@ -130,7 +130,7 @@ logfire auth

Ready to keep going?

- Read about [Tracing with Spans](get-started/traces.md)
- Read about [Concepts](concepts.md)
- Complete the [Onboarding Checklist](guides/onboarding-checklist/index.md)

More topics to explore...
Expand Down
66 changes: 0 additions & 66 deletions docs/why-logfire/index.md

This file was deleted.

56 changes: 0 additions & 56 deletions docs/why-logfire/opentelemetry.md

This file was deleted.

56 changes: 0 additions & 56 deletions docs/why-logfire/pydantic.md

This file was deleted.

18 changes: 0 additions & 18 deletions docs/why-logfire/python-centric.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/why-logfire/simplicity.md

This file was deleted.

45 changes: 0 additions & 45 deletions docs/why-logfire/sql.md

This file was deleted.

Loading

0 comments on commit a630aed

Please sign in to comment.