Skip to content

Commit

Permalink
fix docs redirects
Browse files Browse the repository at this point in the history
  • Loading branch information
samuelcolvin committed Oct 30, 2024
1 parent f292b38 commit 43326e4
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
2 changes: 1 addition & 1 deletion logfire/integrations/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@


class LogfireLoggingHandler(LoggingHandler):
"""A logging handler that sends logs to **Logfire**."""
"""A [logging](../../integrations/logging.md) handler that sends logs to **Logfire**."""

custom_scope_suffix: ClassVar[str] = 'stdlib.logging'

Expand Down
2 changes: 1 addition & 1 deletion logfire/integrations/structlog.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@


class LogfireProcessor:
"""Logfire processor for structlog."""
"""Logfire processor for [structlog](../../integrations/structlog.md)."""

def __init__(
self,
Expand Down
10 changes: 10 additions & 0 deletions mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,6 +248,16 @@ plugins:
"legal/data_processing_addendum.md": "legal/data-processing-addendum.md"
"legal/cloud_subprocessors.md": "legal/cloud-subprocessors.md"
"release_notes.md": "release-notes.md"
"examples.md": "reference/examples.md"
"reference.md": "reference/examples.md"
"api/logfire.md": "reference/api/logfire.md"
"api/testing.md": "reference/api/testing.md"
"api/propagate.md": "reference/api/propagate.md"
"api/integrations/structlog.md": "reference/api/logfire.md#logfire.StructlogProcessor"
"api/integrations/pydantic.md": "reference/api/pydantic.md"
"api/integrations/logging.md": "reference/api/logfire.md#logfire.LogfireLoggingHandler"
"guides/onboarding_checklist/add_metrics.md": "guides/onboarding-checklist/add-metrics.md"
"guides/advanced/query_api.md": "guides/advanced/query-api.md"

hooks:
- docs/plugins/main.py

0 comments on commit 43326e4

Please sign in to comment.