Skip to content

Commit

Permalink
Add screenshots of Flyte UI in the docstring workflow page (#1049)
Browse files Browse the repository at this point in the history
* Add screenshots of Flyte UI in the docstring workflow page

Signed-off-by: Kevin Su <[email protected]>

* update link

Signed-off-by: Kevin Su <[email protected]>

* lint

Signed-off-by: Kevin Su <[email protected]>

---------

Signed-off-by: Kevin Su <[email protected]>
  • Loading branch information
pingsutw authored Aug 25, 2023
1 parent 20a7f1f commit 3ebf229
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions examples/basics/basics/documented_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,19 @@ def sphinx_docstring(df: pd.DataFrame, data: PandasData = PandasData()) -> pd.Da
return add_data(df=df, data=data)


# %% [markdown]
# You'll see the short description in the workflow page.
# :::{figure} https://github.com/flyteorg/static-resources/blob/main/flyte/concepts/basics/short_description.png
# :alt: short description
# :class: with-shadow
# :::
#
# If you click the workflow, you'll see the long description in the basic information section.
# :::{figure} https://github.com/flyteorg/static-resources/blob/main/flyte/concepts/basics/long_description.png
# :alt: short description
# :class: with-shadow
# :::

# %% [markdown]
# ## NumPy-style Docstring
#
Expand Down

0 comments on commit 3ebf229

Please sign in to comment.