Skip to content

Commit

Permalink
WIP: docs templating
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Park <[email protected]>
  • Loading branch information
peterjunpark committed Jan 13, 2025
1 parent 92a3f11 commit d50af29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
5 changes: 2 additions & 3 deletions docs/_templates/performance-metrics-table.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
{% for data_source in data["Panel Config"]["data source"] %}

## Anchor for internal linking.
## For example, :ref:`command-processor-fetcher-metrics`.
.. _{{data_source.metric_table.title|lower|replace(" ", "-") }}-metrics:
{# Anchor for internal linking. For example, :ref:`command-processor-fetcher-metrics`. #}
{# .. _{{data_source.metric_table.title|lower|replace(" ", "-") }}-metrics: #}

{{ data_source.metric_table.title }}
-------------------------------------------------------------------------------
Expand Down
6 changes: 3 additions & 3 deletions docs/conceptual/command-processor.rst
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,17 @@ Command processor fetcher (CPF)

.. tab-set::

.. tab-item:: MI300X
.. tab-item:: MI300

.. datatemplate:yaml:: ../../src/rocprof_compute_soc/analysis_configs/gfx90a/0500_command-processor.yaml
:template: ../_templates/performance-metrics-table.jinja

.. tab-item:: MI300X
.. tab-item:: MI200

.. datatemplate:yaml:: ../../src/rocprof_compute_soc/analysis_configs/gfx90a/0500_command-processor.yaml
:template: ../_templates/performance-metrics-table.jinja

.. tab-item:: MI300X
.. tab-item:: MI100

.. datatemplate:yaml:: ../../src/rocprof_compute_soc/analysis_configs/gfx90a/0500_command-processor.yaml
:template: ../_templates/performance-metrics-table.jinja
Expand Down

0 comments on commit d50af29

Please sign in to comment.