Skip to content

Commit

Permalink
doc: remove breathe
Browse files Browse the repository at this point in the history
Breathe is no longer used in Zephyr, mainly to its poor performance and
lack of proper maintainership. Therefore, do not recommend it in our
template application. Previous external C references do not work either,
so let's remove them. We may polish doxybridge/runner in the future and
make it a published extension on PyPI so that 3rd party repos like
applications can use it.

Signed-off-by: Gerard Marull-Paretas <gerard@teslabs.com>
  • Loading branch information
gmarull authored and carlescufi committed Oct 14, 2024
1 parent de6af00 commit 51bebe8
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 58 deletions.
12 changes: 1 addition & 11 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

extensions = ['sphinx.ext.intersphinx', 'breathe']
extensions = ['sphinx.ext.intersphinx']

templates_path = ['_templates']
exclude_patterns = ['_build_sphinx', 'Thumbs.db', '.DS_Store']
Expand All @@ -28,13 +28,3 @@
# https://www.sphinx-doc.org/en/master/usage/extensions/intersphinx.html

intersphinx_mapping = {'zephyr': ('https://docs.zephyrproject.org/latest/', None)}

## -- Options for Breathe ----------------------------------------------------
# https://breathe.readthedocs.io/en/latest/index.html
#
# WARNING: please, check breathe maintainership status before using this
# extension in production!

breathe_projects = {'example-application': '_build_doxygen/xml'}
breathe_default_project = 'example-application'
breathe_default_members = ('members', )
14 changes: 0 additions & 14 deletions doc/drivers/blink.rst

This file was deleted.

9 changes: 0 additions & 9 deletions doc/drivers/index.rst

This file was deleted.

2 changes: 0 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ This is a simple Sphinx documentation setup for ``example-application``.
:maxdepth: 2
:caption: Contents

drivers/index
lib/index
zephyr

Indices and tables
Expand Down
11 changes: 0 additions & 11 deletions doc/lib/custom.rst

This file was deleted.

9 changes: 0 additions & 9 deletions doc/lib/index.rst

This file was deleted.

1 change: 0 additions & 1 deletion doc/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
Sphinx
breathe
2 changes: 1 addition & 1 deletion doc/zephyr.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ Zephyr
======

You can reference Zephyr documentation items, like
:external+zephyr:ref:`getting_started` or :external+zephyr:c:func:`k_sleep`.
:external+zephyr:ref:`getting_started`.

0 comments on commit 51bebe8

Please sign in to comment.