From 30adceb7bba5ffb32b0331764a8eb14d4175115c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaime=20Marqui=CC=81nez=20Ferra=CC=81ndiz?= Date: Sat, 12 Apr 2014 15:16:12 +0200 Subject: [PATCH] docs: Use a different copyright in the html and man output --- docs/_templates/layout.html | 3 +++ docs/conf.py | 6 ++++-- docs/youtube-dl.1.rst | 7 +++++++ 3 files changed, 14 insertions(+), 2 deletions(-) create mode 100644 docs/_templates/layout.html diff --git a/docs/_templates/layout.html b/docs/_templates/layout.html new file mode 100644 index 000000000..6666627c0 --- /dev/null +++ b/docs/_templates/layout.html @@ -0,0 +1,3 @@ +{% extends "!layout.html" %} + +{% set copyright = "2006-2014 Ricardo Garcia Gonzalez" %} diff --git a/docs/conf.py b/docs/conf.py index 6dfcbdc15..91bf7ae3e 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -37,7 +37,9 @@ master_doc = 'index' # General information about the project. project = u'youtube-dl' -copyright = u'2014, Ricardo Garcia Gonzalez' +# Set it to None so that we can set different copyrights in the html and man +# output +copyright = None # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -72,6 +74,6 @@ htmlhelp_basename = 'youtube-dldoc' # -- Options for the man page --------------------------------------------- -man_pages = [('youtube-dl.1', 'youtube-dl', 'download videos from youtube.com or other video platforms', 'Ricardo Garcia Gonzalez', 1)] +man_pages = [('youtube-dl.1', 'youtube-dl', 'download videos from youtube.com or other video platforms', None, 1)] man_show_urls = True diff --git a/docs/youtube-dl.1.rst b/docs/youtube-dl.1.rst index eec8aa634..766746ba5 100644 --- a/docs/youtube-dl.1.rst +++ b/docs/youtube-dl.1.rst @@ -76,3 +76,10 @@ BUGS ==== Bugs and suggestions should be reported at: https://github.com/rg3/youtube-dl/issues. Please read the `bug reporting guidelines `_ before opening a ticket. + +COPYRIGHT +========= + +youtube-dl is released into the public domain by the copyright holders. + +This manual page is based on the README file originally written by `Daniel Bolton `_ and is likewise released into the public domain.