Browse Source

Add added hooks to docs

Peter Justin 7 years ago
parent
commit
731d8d8642
2 changed files with 3 additions and 9 deletions
  1. 3 0
      docs/hooks.rst
  2. 0 9
      flaskbb/plugins/spec.py

+ 3 - 0
docs/hooks.rst

@@ -72,3 +72,6 @@ Template Hooks
 .. autofunction:: flaskbb_tpl_before_user_details_form
 .. autofunction:: flaskbb_tpl_after_user_details_form
 .. autofunction:: flaskbb_tpl_profile_settings_menu
+.. autofunction:: flaskbb_tpl_profile_sidebar_stats
+.. autofunction:: flaskbb_tpl_before_post_author_info
+.. autofunction:: flaskbb_tpl_after_post_author_info

+ 0 - 9
flaskbb/plugins/spec.py

@@ -63,15 +63,6 @@ def flaskbb_cli(cli):
     """Hook for registering CLI commands."""
 
 
-@spec
-def flaskbb_current_user_loader(user):
-    """This hook is emitted after querying the database for
-    the current_user by the Flask-Login extension.
-
-    :param user: The user instance.
-    """
-
-
 # Template Hooks
 
 @spec