code: def init_app(self, app):
          
  
          self.app = app
  
          self.dynamic_url = self.app.config.get('APIDOC_DYNAMIC_URL', self.dynamic_url)
          self.allow_absolute_url = self.app.config.get('APIDOC_ALLOW_ABSOLUTE_URL', self.allow_absolute_url)
  
          url = self.url_path
  
          if not self.url_path.endswith('/'):
              url += '/'
  
          app.add_url_rule(url, 'docs', self.__send_static_file, strict_slashes=True)
          app.add_url_rule(url + '<path:path>', 'docs', self.__send_static_file, strict_slashes=True)
docs: Adds the flask url routes for the apidoc files.
          :param app: the flask application.