Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
acsr opened this issue Sep 21, 2018 · 1 comment
Open
Assignees

Comments

@acsr
Copy link

acsr commented Sep 21, 2018

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
Copy link
Author

acsr commented Nov 19, 2018

@pilz still untouched...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants