How to use the atelier.sphinxconf.interproject function in atelier

To help you get started, we’ve selected a few atelier examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lino-framework / lino / docs / conf.py View on Github external
# 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(), 'atelier')
intersphinx_mapping['cg'] = ('https://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.
project = "Lino docs"