diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-09-22 17:41:48 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2020-09-23 18:42:47 +0200 |
commit | 09cd9c4c7c6c80830fee367b144ecf0d4547dfb1 (patch) | |
tree | 315f029d886fc2b6aa19bdc7ed57356fe38afe74 /docs/fr/source/conf.py | |
parent | da02ccba709cc0688f5964c8b703d18f9edfd87d (diff) | |
download | Ishtar-09cd9c4c7c6c80830fee367b144ecf0d4547dfb1.tar.bz2 Ishtar-09cd9c4c7c6c80830fee367b144ecf0d4547dfb1.zip |
Fix import_geofla withe new file format - update documentation for town import and installation
Diffstat (limited to 'docs/fr/source/conf.py')
-rw-r--r-- | docs/fr/source/conf.py | 18 |
1 files changed, 13 insertions, 5 deletions
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. |