Started pattern portfolio at /-/patterns, refs #151

This commit is contained in:
Simon Willison 2020-05-02 20:01:21 -07:00
commit cef23e8861
5 changed files with 333 additions and 2 deletions

View file

@ -65,6 +65,8 @@ def documented_views():
first_word = label.split("_")[0]
if first_word.endswith("View"):
view_labels.add(first_word)
# We deliberately don't document this one:
view_labels.add("PatternPortfolioView")
return view_labels