Skip to content

Commit

Permalink
Merge pull request #3092 from Kenneth-T-Moore/doc
Browse files Browse the repository at this point in the history
In the Custom report example, make sure the entry point doesn't collide with our default names.
  • Loading branch information
swryan committed Jan 16, 2024
2 parents 31ecd1b + b93333b commit 157a109
Showing 1 changed file with 7 additions and 4 deletions.
Expand Up @@ -264,12 +264,15 @@
" \n",
" # other report entry points here...\n",
" \n",
" 'summary=openmdao.devtools.debug:_summary_report_register',\n",
" 'summary_report=openmdao.devtools.debug:_summary_report_register',\n",
" ],\n",
" }\n",
" ```\n",
"\n",
" As shown above, report entry points are part of the `openmdao_report` entry point group.\n"
" As shown above, report entry points are part of the `openmdao_report` entry point group.\n",
" \n",
" Note that the name for your entry point needs to be unique. Here, we use the name \"summary_report\" because\n",
" an entry point named \"summary\" already exists for one of the built-in reports.\n"
]
},
{
Expand Down Expand Up @@ -332,7 +335,7 @@
"metadata": {
"celltoolbar": "Tags",
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
Expand All @@ -346,7 +349,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.0"
"version": "3.8.10"
},
"orphan": true
},
Expand Down

0 comments on commit 157a109

Please sign in to comment.