How to use the atelier.sphinxconf 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 / lino / sphinxcontrib / __init__.py View on Github external
# os.environ['DJANGO_SETTINGS_MODULE'] = settings_module_name

        # # Trigger loading of Djangos model cache in order to avoid
        # # side effects that would occur when this happens later while
        # # importing one of the models modules.
        # from django.conf import settings
        # settings.SITE.startup()

        # globals_dict.update(
        #     template_bridge=str('lino.sphinxcontrib.DjangoTemplateBridge'))

    intersphinx_mapping = globals_dict.setdefault('intersphinx_mapping', dict())
    intersphinx_mapping['cg'] = ('https://community.lino-framework.org/', None)
    intersphinx_mapping['book'] = ('https://www.lino-framework.org/', None)
    return sphinxconf.configure(globals_dict)