diff --git a/docs/conf.py b/docs/conf.py index 4f95bb1..6388784 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -16,8 +16,9 @@ import fbchat # -- Project information ----------------------------------------------------- project = fbchat.__name__ -copyright = fbchat.__copyright__ -author = fbchat.__author__ +copyright = "Copyright 2015 - 2018 by Taehoon Kim and 2018 - 2020 by Mads Marquart" +author = "Taehoon Kim; Moreels Pieter-Jan; Mads Marquart" +description = fbchat.__doc__.split("\n")[0] # The short X.Y version version = fbchat.__version__ @@ -113,7 +114,7 @@ html_show_sourcelink = False # A shorter title for the navigation bar. Default is the same as html_title. # -html_short_title = fbchat.__description__ +html_short_title = description # -- Options for HTMLHelp output --------------------------------------------- @@ -127,16 +128,14 @@ htmlhelp_basename = project + "doc" # Grouping the document tree into LaTeX files. List of tuples # (source start file, target name, title, # author, documentclass [howto, manual, or own class]). -latex_documents = [(master_doc, project + ".tex", fbchat.__title__, author, "manual")] +latex_documents = [(master_doc, project + ".tex", project, author, "manual")] # -- Options for manual page output ------------------------------------------ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). -man_pages = [ - (master_doc, project, fbchat.__title__, [x.strip() for x in author.split(";")], 1) -] +man_pages = [(master_doc, project, project, [x.strip() for x in author.split(";")], 1)] # -- Options for Texinfo output ---------------------------------------------- @@ -145,15 +144,7 @@ man_pages = [ # (source start file, target name, title, author, # dir menu entry, description, category) texinfo_documents = [ - ( - master_doc, - project, - fbchat.__title__, - author, - project, - fbchat.__description__, - "Miscellaneous", - ) + (master_doc, project, project, author, project, description, "Miscellaneous",) ] diff --git a/fbchat/__init__.py b/fbchat/__init__.py index 93f300d..45f91f1 100644 --- a/fbchat/__init__.py +++ b/fbchat/__init__.py @@ -1,7 +1,11 @@ """Facebook Chat (Messenger) for Python -:copyright: (c) 2015 - 2019 by Taehoon Kim -:license: BSD 3-Clause, see LICENSE for more details. +Copyright: + (c) 2015 - 2018 by Taehoon Kim + (c) 2018 - 2020 by Mads Marquart + +License: + BSD 3-Clause, see LICENSE for more details. """ import logging as _logging @@ -84,15 +88,7 @@ from ._mqtt import Listener from ._client import Client -__title__ = "fbchat" __version__ = "1.9.6" -__description__ = "Facebook Chat (Messenger) for Python" - -__copyright__ = "Copyright 2015 - 2019 by Taehoon Kim" -__license__ = "BSD 3-Clause" - -__author__ = "Taehoon Kim; Moreels Pieter-Jan; Mads Marquart" -__email__ = "carpedm20@gmail.com" __all__ = ("Session", "Listener", "Client")