Skip to content

Commit

Permalink
Add a utility to get env docs
Browse files Browse the repository at this point in the history
  • Loading branch information
zhe-slac committed Oct 9, 2024
1 parent 7610b1f commit c79f172
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/badger/factory.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ def get_generator_docs(name):
return generators[name].__doc__


def get_env_docs(name):
return load_docs(BADGER_PLUGIN_ROOT, name, 'environment')


def get_intf(name):
return get_plug(BADGER_PLUGIN_ROOT, name, 'interface')

Expand Down

0 comments on commit c79f172

Please sign in to comment.