-
Notifications
You must be signed in to change notification settings - Fork 152
Open
Labels
Description
These never had front matter. Axel said it's fine for now, but we should improve it soon.
Please fix these files: docs/api/qiskit-ibm-provider/ibm-provider.md,docs/api/qiskit/transpiler_builtin_plugins.md,docs/api/qiskit-ibm-runtime/ibm-runtime.md
We need to an else clause here:
documentation/scripts/lib/sphinx/addFrontMatter.ts
Lines 19 to 30 in e872441
| if (result.meta.python_api_name) { | |
| result.markdown = `--- | |
| title: ${getLastPartFromFullIdentifier(result.meta.python_api_name)} | |
| description: API reference for ${result.meta.python_api_name} | |
| in_page_toc_min_heading_level: 1 | |
| python_api_type: ${result.meta.python_api_type} | |
| python_api_name: ${result.meta.python_api_name} | |
| --- | |
| ${markdown} | |
| `; | |
| } |
TBD how we determine the title and description!
Update: make sure CI enforces it, per #793.
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
No status