Commit 86354db2 authored by Daniel Salzman's avatar Daniel Salzman

doc: fix module documentation building

parent 3ae8c82b
......@@ -603,7 +603,6 @@ AC_DEFINE_UNQUOTED([CONFIGURE_SUMMARY],["$result_msg_esc"],[Configure summary])
AC_CONFIG_FILES([Makefile
doc/Makefile
doc/modules.rst
libtap/Makefile
tests/Makefile
tests-fuzz/Makefile
......@@ -618,6 +617,9 @@ AC_CONFIG_FILES([Makefile
])
AC_CONFIG_FILES([src/utils/pykeymgr/pykeymgr], [chmod +x src/utils/pykeymgr/pykeymgr])
AC_CONFIG_FILES([doc/modules.rst],
[cp doc/modules.rst ${srcdir}/doc/modules.rst 2>/dev/null;
ln -s $(realpath ${srcdir})/src/knot/modules/ ${srcdir}/doc/modules 2>/dev/null])
AC_OUTPUT
......
/_build
/modules
/modules.rst
# sphinx-build manpages
......
......@@ -67,7 +67,7 @@ author = 'CZ.NIC Labs <http://www.knot-dns.cz>'
# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
exclude_patterns = ['_build', 'modules']
# The reST default role (used for this markup: `text`) to use for all documents.
#default_role = None
......
......@@ -10,7 +10,7 @@ AC_DEFUN([KNOT_MODULE],
[module=$2]
)
doc_modules="${doc_modules}.. include:: ../src/knot/modules/$1/$1.rst\n"
doc_modules="${doc_modules}.. include:: modules/$1/$1.rst\n"
STATIC_MODULE_$1=no
SHARED_MODULE_$1=no
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment