quaive / website

Tasks to keep the website up to date
0 stars 0 forks source link

Copyright / Version Information of Manual in Sphinx seems outdated (2017) #3

Open acsr opened 6 years ago

acsr commented 6 years ago

Effect

Project looks not alive! See footer of Sphinx. could reflect the covered Versions of Quaive but reads 2.0 in the sidebar!

http://manual.quaive.net/ is linked from the website and coming from the related github repo at https://github.com/quaive/quaive.manual .

See related but not pressing at http://docs.quaive.net/ for Plone Intranet Docs

Solution for Footer

Add something like the following code to your conf.py (pull request maybe later) to get a dynamically updated Copyright in the release.

# -*- coding: utf-8 -*-

# somewhere at the top of the file
import time
from time import strftime

...

# near the copyright
# General information about the project.
project = u'Quaive Manual'
current_year = strftime("%Y")
copyright = u'2014-%s, Plone Intranet Consortium, all rights reserved' % current_year
author = u'Quaive.com'

Solution for sidebar

edit other occurences and list here

acsr commented 5 years ago

@pilz still untouched...