Skip to content

Add ubTrace support for pre-built CI output#30

Open
patdhlk wants to merge 1 commit intomainfrom
feat/ubtrace-support
Open

Add ubTrace support for pre-built CI output#30
patdhlk wants to merge 1 commit intomainfrom
feat/ubtrace-support

Conversation

@patdhlk
Copy link
Contributor

@patdhlk patdhlk commented Mar 11, 2026

Summary

  • Add ubt-sphinx>=0.4.0 as a dependency
  • Register ubt_sphinx extension in conf.py
  • Configure ubtrace_organization, ubtrace_project, and ubtrace_version so the ubtrace Sphinx builder works out of the box

Customers can now build ubTrace-compatible output directly from the repo without any local modifications.

Usage

Build ubTrace-compatible output:

UBTRACE_VERSION=1.0 uv run sphinx-build -b ubtrace docs docs/_build/ubtrace

Import into ubTrace:

make import-build SRC=docs/_build/ubtrace/useblocks/x-as-code/1.0 \
  ORG=useblocks PROJECT=x-as-code VERSION=1.0

Test plan

  • sphinx-build -b ubtrace produces valid output (needs.json, *.fjson, ubtrace_project.toml)
  • sphinx-build -b html still works unchanged
  • Output imports successfully into ubTrace via make import-build

Issue

closes #29

Add ubt_sphinx as dependency and configure the ubtrace Sphinx builder
so customers can build ubTrace-compatible output out of the box:

  UBTRACE_VERSION=1.0 uv run sphinx-build -b ubtrace docs docs/_build/ubtrace

The build output can be imported directly into ubTrace via:

  make import-build SRC=docs/_build/ubtrace/useblocks/x-as-code/1.0 \
    ORG=useblocks PROJECT=x-as-code VERSION=1.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support ubTrace integration

1 participant