Skip to content

Commit

Permalink
Fix copyright string
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidePrincipi committed Feb 7, 2019
1 parent 78f1b90 commit b87918b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions administrator-manual/en/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys, os

import sys, os, datetime
try:
import sphinx_rtd_theme
import sphinx_bootstrap_theme
except ImportError:
pass

copyright = u'2017, Nethesis Srl'
year = datetime.date.today().year

if not tags.has('nscom') and 'READTHEDOCS_PROJECT' in os.environ and 'enterprise' in os.environ['READTHEDOCS_PROJECT']:
tags.add('nsent')
Expand Down Expand Up @@ -76,6 +75,7 @@
htmlhelp_basename = 'NethServer_enterprisedoc'

if tags.has('nsent'):
copyright = u'%d, Nethesis Srl' % year
templates_path = ['nsent/_templates']
project = u'NethServer Enterprise'
html_title = "%s %s" % (project, release)
Expand Down Expand Up @@ -123,6 +123,7 @@
}

elif tags.has('nscom'):
copyright = u'%d, NethServer' % year
templates_path = ['nscom/_templates']
project = u'NethServer'
html_title = u"%s %s" % (project, release)
Expand Down

0 comments on commit b87918b

Please sign in to comment.