Skip to content

Openverse is a search engine for openly-licensed media. This monorepo includes all application code.

Fix DAG docstrings so they no longer produce improper HTML (#4770)

Madison Swain-Bowden7ba1381f840e
diff --git a/catalog/dags/maintenance/airflow_log_cleanup_workflow.py b/catalog/dags/maintenance/airflow_log_cleanup_workflow.py
index e645ab6a8..539d6fcaa 100644
--- a/catalog/dags/maintenance/airflow_log_cleanup_workflow.py
+++ b/catalog/dags/maintenance/airflow_log_cleanup_workflow.py
@@ -16,8 +16,8 @@ airflow dags trigger --conf
'{"maxLogAgeInDays":-1, "enableDelete": "false"}' airflow_log_cleanup
```
`--conf` options:
-- maxLogAgeInDays:<INT> - Optional
-- enableDelete:<BOOLEAN> - Optional
+- maxLogAgeInDays: int, optional
+- enableDelete: bool, optional
"""
from datetime import datetime, timedelta
diff --git a/catalog/dags/providers/provider_api_scripts/wikimedia_commons.py b/catalog/dags/providers/provider_api_scripts/wikimedia_commons.py
index aa6199b90..3e41c1f5d 100644
--- a/catalog/dags/providers/provider_api_scripts/wikimedia_commons.py
+++ b/catalog/dags/providers/provider_api_scripts/wikimedia_commons.py
@@ -42,8 +42,8 @@ the property sub-pages using the "continue" token
Depending on the kind of property data that's being returned, it's possible for the API
to iterate extensively on a specific media item. What Wikimedia is iterating over in
these cases can be gleaned from the "continue" token. Those tokens take the form of,
-as I understand it, "<primary-iterator>||<next-iteration-prop>", paired with an
-"<XX>continue" value for the property being iterated over. For example, if we're
+as I understand it, `<primary-iterator>||<next-iteration-prop>`, paired with an
+`<XX>continue` value for the property being iterated over. For example, if we're
were iterating over a set of image properties, the token might look like:
```
diff --git a/documentation/catalog/reference/DAGs.md b/documentation/catalog/reference/DAGs.md
index a29fa0c4f..e2429f425 100644
--- a/documentation/catalog/reference/DAGs.md
+++ b/documentation/catalog/reference/DAGs.md
@@ -228,8 +228,8 @@ airflow dags trigger --conf
`--conf` options:
-- maxLogAgeInDays:<INT> - Optional
-- enableDelete:<BOOLEAN> - Optional
+- maxLogAgeInDays: int, optional
+- enableDelete: bool, optional
----
@@ -1159,7 +1159,7 @@ Depending on the kind of property data that's being returned, it's possible for
the API to iterate extensively on a specific media item. What Wikimedia is
iterating over in these cases can be gleaned from the "continue" token. Those
tokens take the form of, as I understand it,
-"<primary-iterator>||<next-iteration-prop>", paired with an "<XX>continue" value
+`<primary-iterator>||<next-iteration-prop>`, paired with an `<XX>continue` value
for the property being iterated over. For example, if we're were iterating over
a set of image properties, the token might look like: