parameters: (app)
docstring: Setup the directives when the extension is activated
  
      Args:
        app: The main Sphinx application object
docstring_summary: Setup the directives when the extension is activated
docstring_tokens: Setup the directives when the extension is activated
function: def setup(app):
      """
      Setup the directives when the extension is activated
  
      Args:
        app: The main Sphinx application object
      """
      app.add_directive('attributes', AttributesDirective)
function_tokens: def setup ( app ) : app . add_directive ( 'attributes' , AttributesDirective )