X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/blobdiff_plain/376cf5cfc917a5f89739bc035199403e892867d4..ff82b51e49f40155e7c340090f5ee759af2bf3ad:/user_manual/conf.py?ds=inline diff --git a/user_manual/conf.py b/user_manual/conf.py index 8493d9cf..20e5bda6 100644 --- a/user_manual/conf.py +++ b/user_manual/conf.py @@ -11,13 +11,16 @@ # All configuration values have a default; values that are commented out # serve to show the default. -import sys, os +import sys, os, inspect # 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 # documentation root, use os.path.abspath to make it absolute, like shown here. #sys.path.insert(0, os.path.abspath('.')) +#path to this script +scriptpath = os.path.dirname(os.path.abspath(inspect.getfile(inspect.currentframe()))) + # -- General configuration ----------------------------------------------------- # If your documentation needs a minimal Sphinx version, state it here. @@ -28,7 +31,7 @@ import sys, os extensions = ['sphinx.ext.todo'] # Add any paths that contain templates here, relative to this directory. -# templates_path = ['@CMAKE_CURRENT_SOURCE_DIR@/ocdoc/_shared_assets/templates'] +templates_path = [scriptpath+'/ocdoc/_shared_assets/templates'] # The suffix of source filenames. source_suffix = '.rst' @@ -48,9 +51,9 @@ copyright = u'2013-2015, The ownCloud developers' # built documents. # # The short X.Y version. -version = '@VERSION_MAJOR@.@VERSION_MINOR@' +version = '1.6.2' # The full version, including alpha/beta/rc tags. -release = '@VERSION@' +release = version # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. @@ -64,7 +67,7 @@ release = '@VERSION@' # List of patterns, relative to source directory, that match files and # directories to ignore when looking for source files. -exclude_patterns = ['_build','scripts/*'] +exclude_patterns = ['_build','scripts/*', 'ocdoc/*'] # The reST default role (used for this markup: `text`) to use for all documents. #default_role = None @@ -95,7 +98,7 @@ pygments_style = 'sphinx' #html_theme_options = {} # Add any paths that contain custom themes here, relative to this directory. -# html_theme_path = ['@CMAKE_CURRENT_SOURCE_DIR@/ocdoc/_shared_assets/themes'] +html_theme_path = [scriptpath+'/ocdoc/_shared_assets/themes'] # The theme to use for HTML and HTML Help pages. See the documentation for # a list of builtin themes. @@ -120,7 +123,7 @@ html_short_title = "Android App Manual" # Add any paths that contain custom static files (such as style sheets) here, # relative to this directory. They are copied after the builtin static files, # so a file named "default.css" will overwrite the builtin "default.css". -#html_static_path = ['@CMAKE_CURRENT_SOURCE_DIR@/ocdoc/_shared_assets/static'] +html_static_path = [scriptpath+'/ocdoc/_shared_assets/static'] # If not '', a 'Last updated on:' timestamp is inserted at every page bottom, # using the given strftime format. @@ -213,8 +216,7 @@ latex_documents = [ # One entry per manual page. List of tuples # (source start file, name, description, authors, manual section). man_pages = [ - ('owncloud.1', 'owncloud', u'Android synchronisation and file management -utility.', + ('owncloud.1', 'owncloud', u'Android synchronisation and file management utility.', [u'The ownCloud developers'], 1), ('owncloudcmd.1', 'owncloudcmd', u'ownCloud Android app.', [u'The ownCloud developers'], 1),