From 48c079bccd932f5b4d439c1ea1fd2db92a65f66b Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 22 Sep 2020 17:41:48 +0200 Subject: Fix import_geofla withe new file format - update documentation for town import and installation --- docs/fr/source/conf.py | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'docs/fr/source/conf.py') diff --git a/docs/fr/source/conf.py b/docs/fr/source/conf.py index a9b5a272b..76839bd7c 100644 --- a/docs/fr/source/conf.py +++ b/docs/fr/source/conf.py @@ -11,7 +11,15 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os +import sys, os, datetime + + +ISHTAR_PATH = os.path.abspath( + os.sep.join(__file__.split(os.sep)[:-1] + ["..", "..", "..", "ishtar_common"])) + +sys.path.append(ISHTAR_PATH) + +from version import __version__ # If extensions (or modules to document with autodoc) are in another directory, # add these directories to sys.path here. If the directory is relative to the @@ -40,17 +48,17 @@ source_suffix = '.rst' master_doc = 'index' # General information about the project. -project = u'Ishtar' -copyright = u'2018, Ishtar community' +project = 'Ishtar' +copyright = '{}, Ishtar community'.format(datetime.date.today().year) # The version info for the project you're documenting, acts as replacement for # |version| and |release|, also used in various other places throughout the # built documents. # # The short X.Y version. -version = '2.1' +version = __version__ # The full version, including alpha/beta/rc tags. -release = '2.1-dev-10' +release = __version__ # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. -- cgit v1.2.3