Fix a bunch of errors reported by Sphinx

This commit is contained in:
Nicola Soranzo
2016-10-24 19:42:19 +01:00
parent 3180b63166
commit 527e332aa3
41 changed files with 341 additions and 281 deletions
+1 -2
View File
@@ -46,9 +46,8 @@ DEVTEAM = [
TEMPLATE = """
.. to_doc
-------------------------------
%s
-------------------------------
===============================
.. announce_start
+2 -5
View File
@@ -57,11 +57,8 @@ REQUIRES_DAEMONIZE_MESSAGE = "Attempted to use Galaxy in daemon mode, but daemon
log = logging.getLogger(__name__)
base_file = os.path.basename(__file__)
if base_file == 'main.py':
GALAXY_ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir, os.pardir))
elif base_file == 'galaxy-main':
GALAXY_ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__), os.pardir))
real_file = os.path.realpath(__file__)
GALAXY_ROOT_DIR = os.path.abspath(os.path.join(os.path.dirname(real_file), os.pardir))
GALAXY_LIB_DIR = os.path.join(GALAXY_ROOT_DIR, "lib")
DEFAULT_INI_APP = "main"
DEFAULT_INIS = ["config/galaxy.ini", "universe_wsgi.ini", "config/galaxy.ini.sample"]