From: Michael Wallner Date: Mon, 27 Jan 2020 08:48:51 +0000 (+0100) Subject: fix sphinx warnings and copyright link X-Git-Tag: post_cmake~27 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=2b74f2de5a5893e466f64e449e8b7f8e52e17eb7;p=awesomized%2Flibmemcached fix sphinx warnings and copyright link --- diff --git a/docs/source/conf.py.in b/docs/source/conf.py.in index 0abfd9b1..e6a37494 100644 --- a/docs/source/conf.py.in +++ b/docs/source/conf.py.in @@ -47,7 +47,7 @@ master_doc = 'index' # General information about the project. project = u'libmemcached' -copyright = u'2011-2013, Brian Aker DataDifferential, http://datadifferential.com/\n2020, Michael Wallner SmugMug Inc. http://m6w6.github.io/libmemcached/' +copyright = u'2011-2020 Brian Aker, Michael Wallner' # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the @@ -126,7 +126,7 @@ html_theme_options = {@SPHINX_THEME_OPTIONS@} # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -html_static_path = ['_static'] +#html_static_path = ['_static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. @@ -144,7 +144,7 @@ html_static_path = ['_static'] #html_additional_pages = {} # If false, no module index is generated. -#html_domain_indices = True +html_domain_indices = False # If false, no index is generated. #html_use_index = True diff --git a/docs/source/copyright.rst b/docs/source/copyright.rst new file mode 100644 index 00000000..d3b9e1e9 --- /dev/null +++ b/docs/source/copyright.rst @@ -0,0 +1,35 @@ +========= +Copyright +========= + + * | 2011-2013 Brian Aker, DataDifferential + | https://datadifferential.com/ + * | 2020 Michael Wallner, SmugMug Inc + | https://smugmug.com/ + +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this + list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + +3. Neither the name of the copyright holder nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. + +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. diff --git a/docs/source/index.rst b/docs/source/index.rst index 81fb1e7b..3a4e1c61 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -121,6 +121,10 @@ Indices and tables ================== * :ref:`genindex` -* :ref:`modindex` * :ref:`search` +.. toctree:: + :caption: Copyright + :hidden: + + copyright