ud3tn/doc
2026-05-12 11:52:46 +02:00
..
css Move file to image-material directory, adjust CSS 2024-11-15 09:52:57 +01:00
development doc: Link Protobuf docs instead of .proto files 2024-12-05 16:58:01 +01:00
image-material doc: Add white background with some spacing to SVG figures 2024-11-16 12:01:22 +01:00
references docs: Add manpage to mkdocs 2025-06-13 17:55:24 +02:00
tools doc: Add page documenting Link+Contact config. and CLA addresses 2025-07-24 09:06:50 +02:00
usage doc: decoder: Update to AAP2; add note on limited validation 2026-05-12 11:48:17 +02:00
aap20.md doc: Link Protobuf docs instead of .proto files 2024-12-05 16:58:01 +01:00
architecture-overview.md doc: Link Protobuf docs instead of .proto files 2024-12-05 16:58:01 +01:00
Bundle-in-Bundle Encapsulation_(BIBE).md doc: Update BIBE instructions to using AAP2 and link config 2026-05-12 11:48:17 +02:00
contacts_data_format.md doc: Add page documenting Link+Contact config. and CLA addresses 2025-07-24 09:06:50 +02:00
index.md doc: Fix links to CHANGELOG 2025-07-24 15:38:55 +02:00
perf_events.md Add existing documentation material to MkDocs 2024-11-12 11:33:24 +01:00
posix_quick_start_guide.md doc: Add page documenting Link+Contact config. and CLA addresses 2025-07-24 09:06:50 +02:00
python-venv.md Add existing documentation material to MkDocs 2024-11-12 11:33:24 +01:00
README.md docs: Add manpage to mkdocs 2025-06-13 17:55:24 +02:00
sqlite-storage.md doc: Link Protobuf docs instead of .proto files 2024-12-05 16:58:01 +01:00
testing.md doc: testing: Adjust to using aap2-* tools 2026-05-12 11:48:17 +02:00
ud3tn.1 Add release date for v0.15.0 to CHANGELOG and Manpage 2026-05-12 11:52:46 +02:00
ud3tn_aap.md doc: Mark AAPv1 as deprecated 2026-05-12 11:48:17 +02:00

Documentation

MkDocs

An HTML version of the μD3TN documentation is created via MkDocs. All files stored in the MkDocs directory are taken into account. The MkDocs configuration can be changed in the mkdocs.yaml file. To add further pages to the navigation, they must be added to the nav section.

Prepare

  • w/o nix

    • Install pandoc

    • Install protoc

    • Install protoc-gen-doc via your package manager, go install or another preferred method

      To install it as an unprivileged user in a subdirectory of the work tree:

      GOBIN=$(pwd)/.gobin/ go install github.com/pseudomuto/protoc-gen-doc/cmd/protoc-gen-doc@latest
      # Then, run all protoc commands as follows:
      PATH=$(pwd)/.gobin/:$PATH protoc ...
      
    • Install mkdocs and relevant Python dependencies (preferably use a virtual environment)

      pip install -U mkdocs
      pip install $(mkdocs get-deps)
      
  • w/ nix (see also the µD3TN documentation on it)

    nix develop '.?submodules=1'
    

Develop

# create markdown docs from manpage
pandoc \
  --from man \
  --to gfm+definition_lists \
  --shift-heading-level-by 1 \
  --output doc/references/manpage.md \
  doc/ud3tn.1
# Create markdown docs from protobuf
protoc \
  --doc_out=doc/references/protobuf \
  --doc_opt=markdown,index.md \
  components/aap2/aap2.proto \
  components/agents/storage/storage_agent.proto
# Run dev-server for live preview of HTML documents (without protobuf)
mkdocs serve

Build

# w/o nix
make doc

# w/ nix
nix build .#mkdocs-html

Deploy

When changes are made to the master branch, the latest version of the documentation is automatically built and published at https://d3tn.gitlab.io/ud3tn.

Man Page

There exists also a man page for μD3TN, which can be viewed with

man --local-file ud3tn.1