-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: Add Deprecated names of variables #574
base: dev
Are you sure you want to change the base?
Changes from all commits
23e7b66
cc018f3
32ce7f7
8c7cd1d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,19 +20,19 @@ ${"##"} PDK-Level | |
These are variables that affect the entire PDK. | ||
|
||
|
||
| Variable Name | Type | Description | Units | | ||
| - | - | - | - | | ||
| Variable Name | Type | Description | Units | Deprecated Names | | ||
| - | - | - | - | - | | ||
%for var in pdk_variables: | ||
| `${var.name}`{#${var._get_docs_identifier()}} | ${var.type_repr_md(for_document=True)} | ${var.desc_repr_md()} | ${var.units or ""} | | ||
| `${var.name}`{#${var._get_docs_identifier()}} | ${var.type_repr_md(for_document=True)} | ${var.desc_repr_md()} | ${var.units or ""} | ${var.get_deprecated_names_md()|join("<br>")} | | ||
%endfor | ||
|
||
(univ_flow_cvars_scl)= | ||
${"##"} SCL-Level | ||
|
||
These are variables that affect a specific standard-cell library. | ||
|
||
| Variable Name | Type | Description | Units | | ||
| - | - | - | - | | ||
| Variable Name | Type | Description | Units | Deprecated Names | | ||
| - | - | - | - | - | | ||
%for var in scl_variables: | ||
| `${var.name}`{#${var._get_docs_identifier()}} | ${var.type_repr_md(for_document=True)} | ${var.desc_repr_md()} | ${var.units or ""} | | ||
| `${var.name}`{#${var._get_docs_identifier()}} | ${var.type_repr_md(for_document=True)} | ${var.desc_repr_md()} | ${var.units or ""} | ${var.get_deprecated_names_md()|join("<br>")} | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
%endfor |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,8 +12,8 @@ can freely override these values. | |
optional and behave accordingly. | ||
``` | ||
|
||
| Variable Name | Type | Description | Default | Units | | ||
| - | - | - | - | - | | ||
| Variable Name | Type | Description | Default | Units | Deprecated Names | | ||
| - | - | - | - | - | - | | ||
%for var in option_variables: | ||
| [`${var.name}`]{#${var._get_docs_identifier()}} | ${var.type_repr_md(for_document=True)} | ${var.desc_repr_md()} | `${var.default}` | ${var.units or ""} | | ||
| [`${var.name}`]{#${var._get_docs_identifier()}} | ${var.type_repr_md(for_document=True)} | ${var.desc_repr_md()} | `${var.default}` | ${var.units or ""} | ${var.get_deprecated_names_md()|join("<br>")} | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
%endfor |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
## General | ||
|
||
(faq-whats-openlane=) | ||
(faq-whats-openlane)= | ||
|
||
### What is OpenLane? | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -419,14 +419,14 @@ def get_help_md(Self) -> str: # pragma: no cover | |
|
||
#### Flow-specific Configuration Variables | ||
|
||
| Variable Name | Type | Description | Default | Units | | ||
| - | - | - | - | - | | ||
| Variable Name | Type | Description | Default | Units | Deprecated Names | | ||
| - | - | - | - | - | - | | ||
""" | ||
) | ||
for var in flow_config_vars: | ||
units = var.units or "" | ||
pdk_superscript = "<sup>PDK</sup>" if var.pdk else "" | ||
result += f"| `{var.name}`{{#{var._get_docs_identifier(Self.__name__)}}}{pdk_superscript} | {var.type_repr_md()} | {var.desc_repr_md()} | `{var.default}` | {units} |\n" | ||
result += f"| `{var.name}`{{#{var._get_docs_identifier(Self.__name__)}}}{pdk_superscript} | {var.type_repr_md()} | {var.desc_repr_md()} | `{var.default}` | {units} | {'<br>'.join(var.get_deprecated_names_md())} |\n" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
result += "\n" | ||
|
||
if len(Self.Steps): | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -678,14 +678,14 @@ def get_help_md( | |
({Self.id.lower()}-configuration-variables)= | ||
#### Configuration Variables | ||
|
||
| Variable Name | Type | Description | Default | Units | | ||
| - | - | - | - | - | | ||
| Variable Name | Type | Description | Default | Units | Deprecated Names | | ||
| - | - | - | - | - | - | | ||
""" | ||
) | ||
for var in Self.config_vars: | ||
for var in set(Self.config_vars): | ||
units = var.units or "" | ||
pdk_superscript = "<sup>PDK</sup>" if var.pdk else "" | ||
result += f"| `{var.name}`{{#{var._get_docs_identifier(Self.id)}}}{pdk_superscript} | {var.type_repr_md(for_document=True)} | {var.desc_repr_md()} | `{var.default}` | {units} |\n" | ||
result += f"| `{var.name}`{{#{var._get_docs_identifier(Self.id)}}}{pdk_superscript} | {var.type_repr_md(for_document=True)} | {var.desc_repr_md()} | `{var.default}` | {units} | {'<br>'.join(var.get_deprecated_names_md())} |\n" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ditto |
||
result += "\n" | ||
|
||
result = ( | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This BR appears to be breaking everything
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where is that? The table renders fine in readthedocs.