示例#1
0
#     for n in """python django
#     atelier lino
#     lino-welfare lino-faggio lino-patrols""".split():
#         intersphinx_mapping[n] = (
#             'http://%s.readthedocs.org/en/latest/' % n, None)

if False:  # on_rtd:
    for n in """python django lino xl""".split():
        intersphinx_mapping[n] = ('https://%s.readthedocs.io/en/latest/' % n,
                                  None)

from atelier.sphinxconf import interproject
interproject.configure(
    globals(),
    'atelier etgen eidreader lino lino_xl',
    cg=('https://community.lino-framework.org/', None),
    django=('https://docs.djangoproject.com/en/3.1/',
            'https://docs.djangoproject.com/en/dev/_objects/'),
    sphinx=('https://www.sphinx-doc.org/en/master/', None))

#intersphinx_mapping['cg'] = ('https://community.lino-framework.org/', None)

autosummary_generate = True

#~ nitpicky = True # use -n in Makefile instead

# http://sphinx.pocoo.org/theming.html

# html_theme = "sizzle"
# html_theme_options = dict(collapsiblesidebar=True, externalrefs=True)
示例#2
0
# that aren't pickleable (module imports are okay, they're removed automatically).
#
# All configuration values have a default; values that are commented out
# serve to show the default.

extensions = []

from lino.sphinxcontrib import configure
configure(globals())

extensions += ['lino.sphinxcontrib.logo']
extensions += ['lino.sphinxcontrib.base']


from atelier.sphinxconf import interproject
interproject.configure(globals())

from lino import SETUP_INFO

# intersphinx_mapping = {}
# from importlib import import_module
# for n in 'atelier lino_book'.split():
#     m = import_module(n)
#     n = n.replace('_', "")
#     intersphinx_mapping[n] = (m.intersphinx_urls['docs'], None)

# General configuration
# ---------------------

# General information about the project.
project = "Lino docs"
示例#3
0
文件: conf.py 项目: forexblog/getlino
sys.path.insert(0, os.path.abspath(".."))
import getlino

extensions = []
intersphinx_mapping = {}

from atelier.sphinxconf import configure
configure(globals())

extensions += ['sphinx.ext.autosummary']
extensions += ['sphinx.ext.intersphinx']

# intersphinx_mapping = {}
from atelier.sphinxconf import interproject
interproject.configure(globals(), 'atelier')
intersphinx_mapping['cg'] = ('https://community.lino-framework.org/', None)
intersphinx_mapping['book'] = ('https://www.lino-framework.org/', None)

# General information about the project.
project = "getlino"
copyright = '2019 Rumma & Ko Ltd'
from getlino import SETUP_INFO
release = SETUP_INFO['version']
version = '.'.join(release.split('.')[:2])

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
示例#4
0
from lino.sphinxcontrib import configure
configure(globals(), 'lino_algus.projects.algus.settings.doctests')

# extensions += ['lino.sphinxcontrib.logo']

extensions += ['lino.sphinxcontrib.help_texts_extractor']
help_texts_builder_targets = {
    'lino_algus.': 'lino_algus.lib.algus'
}

from django.conf import settings
# settings.SITE.title = "Lino Algus"

intersphinx_mapping = {}
from atelier.sphinxconf import interproject
interproject.configure(
    globals(), 'atelier etgen lino_book lino_algus')

# from importlib import import_module
# for n in 'atelier lino lino_xl lino_book'.split():
#     m = import_module(n)
#     n = n.replace('_', "")
#     intersphinx_mapping[n] = (m.intersphinx_urls['docs'], None)

# General configuration
# ---------------------

# General information about the project.
project = "Lino Algus"
copyright = '2016-2018 Rumma & Ko Ltd'

# The version info for the project you're documenting, acts as replacement for
示例#5
0
sys.path.insert(0, os.path.abspath(".."))
import getlino

extensions = []
intersphinx_mapping = {}

from atelier.sphinxconf import configure
configure(globals())

extensions += ['sphinx.ext.autosummary']
extensions += ['sphinx.ext.intersphinx']

# intersphinx_mapping = {}
from atelier.sphinxconf import interproject
interproject.configure(globals(), 'atelier lino_book')
intersphinx_mapping['cg'] = ('https://community.lino-framework.org/', None)

# General information about the project.
project = "getlino"
copyright = '2019 Rumma & Ko Ltd'
from getlino import SETUP_INFO
release = SETUP_INFO['version']
version = '.'.join(release.split('.')[:2])

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
#language = None

# There are two options for replacing |today|: either, you set today to some
# non-false value, then it is used:
示例#6
0
文件: conf.py 项目: forexblog/xl
# that aren't pickleable (module imports are okay, they're removed automatically).
#
# All configuration values have a default; values that are commented out
# serve to show the default.

extensions = []

from lino.sphinxcontrib import configure
configure(globals())

extensions += ['lino.sphinxcontrib.logo']
extensions += ['lino.sphinxcontrib.base']


from atelier.sphinxconf import interproject
interproject.configure(globals(), 'lino')

from lino_xl import SETUP_INFO

# intersphinx_mapping = {}
# from importlib import import_module
# for n in 'atelier lino_book'.split():
#     m = import_module(n)
#     n = n.replace('_', "")
#     intersphinx_mapping[n] = (m.intersphinx_urls['docs'], None)

# General configuration
# ---------------------

# General information about the project.
project = "Lino XL docs"
示例#7
0
文件: conf.py 项目: forexblog/react
from lino.sphinxcontrib import configure
configure(globals())

#from django.conf import settings
#settings.SITE.title = "Lino ExtJS 6 Documentation"

extensions += ['lino.sphinxcontrib.logo']
# extensions += ['sphinx.ext.autosummary']
# autodoc_default_flags = ['members']
autosummary_generate = True

intersphinx_mapping = {}
from atelier.sphinxconf import interproject
interproject.configure(globals(),
                       'atelier',
                       cg=('https://community.lino-framework.org/', None),
                       book=('https://www.lino-framework.org/', None))

import lino_react

# General configuration
# ---------------------

# General information about the project.
project = "Lino React Documentation"
copyright = '2015-2020 Rumma & Ko Ltd'

# 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.
#
示例#8
0
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# if on_rtd:
#     for n in """python django
#     atelier lino
#     lino-welfare lino-faggio lino-patrols""".split():
#         intersphinx_mapping[n] = (
#             'http://%s.readthedocs.org/en/latest/' % n, None)

if False:  # on_rtd:
    for n in """python django lino xl""".split():
        intersphinx_mapping[n] = ('http://%s.readthedocs.io/en/latest/' % n, None)


from atelier.sphinxconf import interproject
interproject.configure(
    globals(), 'atelier etgen lino_cosi')

autosummary_generate = True

#~ nitpicky = True # use -n in Makefile instead

# http://sphinx.pocoo.org/theming.html

# html_theme = "classic"
# html_theme_options = dict(collapsiblesidebar=True, externalrefs=True)

todo_include_todos = True

#~ New in version 1.1
gettext_compact = True
示例#9
0
# that aren't pickleable (module imports are okay, they're removed automatically).
#
# All configuration values have a default; values that are commented out
# serve to show the default.

extensions = []

from lino.sphinxcontrib import configure
configure(globals())

extensions += ['lino.sphinxcontrib.logo']
extensions += ['lino.sphinxcontrib.base']


from atelier.sphinxconf import interproject
interproject.configure(globals())
intersphinx_mapping['cg'] = ('http://community.lino-framework.org/', None)

from lino import SETUP_INFO

# intersphinx_mapping = {}
# from importlib import import_module
# for n in 'atelier lino_book'.split():
#     m = import_module(n)
#     n = n.replace('_', "")
#     intersphinx_mapping[n] = (m.intersphinx_urls['docs'], None)

# General configuration
# ---------------------

# General information about the project.
示例#10
0
文件: conf.py 项目: khchine5/book
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
# if on_rtd:
#     for n in """python django
#     atelier lino
#     lino-welfare lino-faggio lino-patrols""".split():
#         intersphinx_mapping[n] = (
#             'http://%s.readthedocs.org/en/latest/' % n, None)

if False:  # on_rtd:
    for n in """python django lino xl""".split():
        intersphinx_mapping[n] = ('http://%s.readthedocs.io/en/latest/' % n, None)


from atelier.sphinxconf import interproject
interproject.configure(
    globals(), 'atelier etgen lino_noi lino_cosi')

autosummary_generate = True

#~ nitpicky = True # use -n in Makefile instead

# http://sphinx.pocoo.org/theming.html

# html_theme = "classic"
# html_theme_options = dict(collapsiblesidebar=True, externalrefs=True)

todo_include_todos = True

#~ New in version 1.1
gettext_compact = True
示例#11
0
extensions = []
extlinks = {}
intersphinx_mapping = {}

from lino.sphinxcontrib import configure
configure(globals())


extensions += ['lino.sphinxcontrib.logo']
# extensions += ['sphinx.ext.autosummary']
# autodoc_default_flags = ['members']
autosummary_generate = True

from atelier.sphinxconf import interproject
interproject.configure(globals(), 'atelier etgen')
intersphinx_mapping['book'] = (
    'http://www.lino-framework.org', None)

# from importlib import import_module
# for n in 'atelier lino'.split():
#     m = import_module(n)
#     intersphinx_mapping[n] = (m.intersphinx_urls['docs'], None)


# General configuration
# ---------------------

# General information about the project.
project = u"Lino Così website"
copyright = '2012-2018 Rumma & Ko Ltd'
示例#12
0
#
# This file is execfile()d with the current directory set to its containing dir.
#
# The contents of this file are pickled, so don't put values in the namespace
# that aren't pickleable (module imports are okay, they're removed automatically).
#
# All configuration values have a default; values that are commented out
# serve to show the default.

import sys, os

from importlib import import_module

intersphinx_mapping = {}
from atelier.sphinxconf import interproject
interproject.configure(
    globals(), 'atelier lino_book lino_logos')

from lino.sphinxcontrib import configure
configure(globals(),'lino_logos.projects.sacred.settings.demo')


from django.conf import settings
settings.SITE.title = "Lino-Logos Reference Manual"


# If your extensions are in another directory, add it here. If the directory
# is relative to the documentation root, use os.path.abspath to make it
# absolute, like shown here.
#sys.path.append(os.path.abspath('.'))

# General configuration
示例#13
0
# The contents of this file are pickled, so don't put values in the namespace
# that aren't pickleable (module imports are okay, they're removed automatically).
#
# All configuration values have a default; values that are commented out
# serve to show the default.

intersphinx_mapping = {}
# from importlib import import_module
# for n in 'atelier lino_cosi'.split():
#     m = import_module(n)
#     # p = Path(m.__file__).parent().parent()
#     n = n.replace('_', "")
#     intersphinx_mapping[n] = (m.intersphinx_urls['docs'], None)

from atelier.sphinxconf import interproject
interproject.configure(globals(), 'atelier lino_cosi')

extlinks = {}
extensions = []

from lino.sphinxcontrib import configure
# configure(globals(), 'lino_voga.projects.roger.settings.doctests')
# configure(globals(), 'lino.projects.std.settings_test')
configure(globals())

extensions += ['atelier.sphinxconf.blog']
extensions += ['lino.sphinxcontrib.base']
# extensions += ['lino.sphinxcontrib.actordoc']
extensions += ['lino.sphinxcontrib.logo']
# extensions += ['sphinxcontrib.taglist']