mirror of
https://github.com/pybricks/pybricks-api.git
synced 2026-09-12 01:24:17 +00:00
poetry run make -C doc SOURCEDIR=ide html This adds a build target for docs to integrate in Pybricks Code. This commit makes the build target produce an identical copy, by making each page reference its original rst file. Now we can easily exclude certain components (such as EV3) as needed for Pybricks Code, and also change the main index / welcome page.
23 lines
715 B
Python
23 lines
715 B
Python
#!/usr/bin/env python3
|
|
# -*- coding: utf-8 -*-
|
|
#
|
|
# Pybricks documentation build configuration file
|
|
#
|
|
import os
|
|
|
|
# General information about the project.
|
|
project = 'pybricks'
|
|
copyright = '2018-2020 The Pybricks Authors'
|
|
author = ''
|
|
|
|
_TITLE = 'Pybricks Modules and Examples'
|
|
_DISCLAIMER = 'LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS EV3 logo are\
|
|
trademarks and/or copyrights of the LEGO Group of companies \
|
|
which does not sponsor, authorize or endorse this site.'
|
|
|
|
html_favicon = '../common/images/favicon.ico'
|
|
html_logo = '../common/images/pybricks-logo-rtd.png'
|
|
latex_logo = '../common/images/pybricks-logo-large.png'
|
|
|
|
exec(open(os.path.abspath("../common/conf.py")).read())
|