Skip to content

Commit e3757f6

Browse files
mjeansonjgalar
authored andcommitted
fix: Remove empty python bindings documentation
The python bindings documentation doesn't exist yet but the build system contains remnants of the bt1 doc. Moreover, it contains a Sphinx theme without any copyright or licensing information which makes our distro friends a bit nervous. Remove everything for now, it can be re-introduced when the doc is actually written. Signed-off-by: Michael Jeanson <[email protected]> Change-Id: I11b23822c8bf98c54a88c7e856d606d01102797f Reviewed-on: https://review.lttng.org/c/babeltrace/+/2941 Reviewed-by: Jérémie Galarneau <[email protected]>
1 parent f1f3b04 commit e3757f6

40 files changed

+1
-2978
lines changed

README.adoc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,12 +91,6 @@ _**If you need the https://lttng.org/[LTTng] debug information filter component
9191
(Debian/Ubuntu: `libelf-dev` and `libdw-dev`;
9292
Fedora: `elfutils-devel` and `elfutils-libelf-devel`)
9393

94-
_**If you need the `bt2` Python bindings documentation**_::
95-
* Python{nbsp}≥{nbsp}3.4
96-
(Debian/Ubuntu/Fedora: `python3`)
97-
* https://www.sphinx-doc.org/en/master/[Sphinx]{nbsp}≥{nbsp}1.6.5
98-
for Python{nbsp}3 (Debian/Ubuntu/Fedora: `python3-sphinx`)
99-
10094
_**If you need the {bt2}{nbsp}C{nbsp}API HTML documentation**_::
10195
* http://www.doxygen.nl/[Doxygen]{nbsp}≥{nbsp}1.8.6
10296

configure.ac

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -366,14 +366,6 @@ AC_ARG_ENABLE([python-bindings],
366366
[enable_python_bindings=no]
367367
)
368368

369-
# Python bindings documentation
370-
# Disabled by default
371-
AC_ARG_ENABLE([python-bindings-doc],
372-
[AC_HELP_STRING([--enable-python-bindings-doc], [build the Python bindings documentation])],
373-
[], dnl AC_ARG_ENABLE will fill enable_python_bindings_doc with the user choice
374-
[enable_python_bindings_doc=no]
375-
)
376-
377369
# Python plugins
378370
# Disabled by default
379371
AC_ARG_ENABLE([python-plugins],
@@ -425,7 +417,6 @@ AC_ARG_ENABLE([man-pages],
425417

426418
# Set automake variables for optionnal feature conditionnals in Makefile.am
427419
AM_CONDITIONAL([ENABLE_PYTHON_BINDINGS], [test "x$enable_python_bindings" = xyes])
428-
AM_CONDITIONAL([ENABLE_PYTHON_BINDINGS_DOC], [test "x$enable_python_bindings_doc" = xyes])
429420
AM_CONDITIONAL([ENABLE_PYTHON_PLUGINS], [test "x$enable_python_plugins" = xyes])
430421
AM_CONDITIONAL([ENABLE_DEBUG_INFO], [test "x$enable_debug_info" = xyes])
431422
AM_CONDITIONAL([ENABLE_API_DOC], [test "x$enable_api_doc" = xyes])
@@ -463,12 +454,6 @@ AC_SUBST([ENABLE_DEBUG_INFO_VAL])
463454

464455
# Check for conflicting optional features user choices
465456

466-
AS_IF([test "x$enable_python_bindings" = xno],
467-
[
468-
AS_IF([test "x$enable_python_bindings_doc" = xyes], [AC_MSG_ERROR([--enable-python-bindings-doc was specified without --enable-python-bindings])])
469-
]
470-
)
471-
472457
AS_IF([test "x$enable_built_in_plugins" = xyes],
473458
[
474459
# Built-in plug-ins are only available when the --disable-shared --enable-static options are used.
@@ -539,15 +524,6 @@ AS_IF([test "x$enable_python_bindings" = xyes || test "x$enable_python_plugins"
539524
])
540525
])
541526

542-
AS_IF([test "x$enable_python_bindings_doc" = xyes],
543-
[
544-
AM_CHECK_PYTHON_SPHINX([PYTHON])
545-
AS_IF([test "x$PYTHON_SPHINX_EXISTS" = xno],
546-
[AC_MSG_ERROR([The Sphinx package for Python 3 is required to build the Python bindings documentation])]
547-
)
548-
]
549-
)
550-
551527
AS_IF([test "x$enable_debug_info" = xyes],
552528
[
553529
# Check if libelf and libdw are present
@@ -735,8 +711,6 @@ AC_CONFIG_FILES([
735711
doc/api/Makefile
736712
doc/api/libbabeltrace2/Doxyfile
737713
doc/api/libbabeltrace2/Makefile
738-
doc/bindings/Makefile
739-
doc/bindings/python/Makefile
740714
doc/contributing-images/Makefile
741715
doc/Makefile
742716
doc/man/asciidoc-attrs.conf
@@ -922,8 +896,6 @@ m4_popdef([build_man_pages_msg])
922896

923897
test "x$enable_api_doc" = "xyes" && value=1 || value=0
924898
PPRINT_PROP_BOOL([HTML API documentation], $value)
925-
test "x$enable_python_bindings_doc" = "xyes" && value=1 || value=0
926-
PPRINT_PROP_BOOL([Python bindings documentation], $value)
927899

928900
AS_ECHO
929901
PPRINT_SUBTITLE([Logging])

doc/Makefile.am

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
SUBDIRS = bindings contributing-images man
1+
SUBDIRS = contributing-images man
22

33
if ENABLE_API_DOC
44
SUBDIRS += api

doc/bindings/Makefile.am

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/bindings/python/.gitignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

doc/bindings/python/Makefile.am

Lines changed: 0 additions & 29 deletions
This file was deleted.

doc/bindings/python/source/_static/.gitignore

Whitespace-only changes.

doc/bindings/python/source/_themes/sphinx_rtd_theme/__init__.py

Lines changed: 0 additions & 15 deletions
This file was deleted.

doc/bindings/python/source/_themes/sphinx_rtd_theme/breadcrumbs.html

Lines changed: 0 additions & 82 deletions
This file was deleted.

doc/bindings/python/source/_themes/sphinx_rtd_theme/footer.html

Lines changed: 0 additions & 52 deletions
This file was deleted.

0 commit comments

Comments
 (0)