Skip to content

Commit

Permalink
Adding content to the generated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
angelrti committed May 6, 2024
1 parent 0acd5c2 commit ebe07bd
Show file tree
Hide file tree
Showing 11 changed files with 54 additions and 21 deletions.
7 changes: 6 additions & 1 deletion doc/_static/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,9 @@ table p {

table input {
float: right !important;
}
}

.icon {
height: auto !important;
width: auto !important;
}
Binary file added doc/_static/img/DDS-logo-nobg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed doc/_static/img/DDS-logo.jpg
Binary file not shown.
Binary file modified doc/_static/img/favicon.ico
Binary file not shown.
Binary file added doc/_static/img/show_all_test_suites.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ def setup(app):
# documentation.
#
# html_theme_options = {}
html_logo = "_static/img/DDS-logo.jpg"
html_logo = "_static/img/DDS-logo-nobg.png"
html_favicon = "_static/img/favicon.ico"
html_css_files = ['css/custom.css']
html_js_files = ['js/custom.js']
Expand Down
32 changes: 30 additions & 2 deletions doc/detailed_report.template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,36 @@
Detailed Report
===============

This is a placeholder for the detailed report
|INDEX_HTML_PATH|
This test report displays the individual test results for all products regarding
DDS interoperability. By default, it only shows the test suites that contain
tests with errors. For each test, the report includes detailed information about
the test case. If the test has failed, it also shows the observed error, and the
corresponding program output.

|br|

In order to show all test suites, you have to click on the 'Advanced Filter' /
'Suites' / 'Empty hidden'. As shown in the image:

|br|

.. image:: _static/img/show_all_test_suites.png
:alt: Show All Tests
:align: center

|br|

The name of the test suite contains two product names separated by 3 dashes. It
represents the product used as a publisher (element at the left) and the product
used as a subscriber (right side):

* \<publisher_product_name\>---\<subscriber_product_name\>

|br|

Detailed report:

|br|

.. raw:: html
:file: |INDEX_HTML_PATH|
1 change: 0 additions & 1 deletion doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ Welcome to |INTEROPERABILITY_TESTS|
:glob:
:caption: Contents

introduction
test_results
detailed_report
copyright
10 changes: 0 additions & 10 deletions doc/introduction.rst

This file was deleted.

21 changes: 16 additions & 5 deletions doc/test_results.template.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,24 @@
Test Results
============

This is a placeholder for the test Results
|LINK_XLSX_URL|
This page contains a summary of test results for interoperability tests of the
Data Distribution Service® (DDS®) standard, performed using the Object
Management Group® (OMG®) interoperability tests available at
https://github.com/omg-dds/dds-rtps.

ASDFASDF
The test results are organized in the following a spreadsheet. The first tab
presents a comprehensive summary of the tests per product. The first table
delineates the number of passed tests versus total tests, offering a quick
overview of vendor compliance. The second table delineates the tests performed
between products acting as publishers and subscribers, providing insights into
interoperability between different product implementations.

The subsequent tabs represent individual test results per product. Each tab is
named after the respective product and contains two tables:

* the current product as publisher and all products as subscribers
* the current product as subscriber and all products as publishers

.. raw:: html

<iframe src="|LINK_XLSX_URL|" width="100%" height="800"></iframe>

ASDFADSF
2 changes: 1 addition & 1 deletion generate_xlsx_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -712,7 +712,7 @@ def add_static_data_summary_worksheet(self,
# Add DDS logo pic
current_row += 2
script_folder = os.path.dirname(__file__)
dds_logo_path = os.path.join(script_folder, 'doc/static/img/DDS-logo.jpg')
dds_logo_path = os.path.join(script_folder, 'doc/static/img/DDS-logo-nobg.png')
worksheet.insert_image(
row=current_row, col=starting_column,
filename=dds_logo_path,
Expand Down

0 comments on commit ebe07bd

Please sign in to comment.