backstage / mkdocs-monorepo-plugin

✚ Build multiple documentation folders in a single Mkdocs. Designed for large codebases.
https://backstage.github.io/mkdocs-monorepo-plugin/
Apache License 2.0
319 stars 74 forks source link

Running tests fail #87

Open jgarte opened 1 year ago

jgarte commented 1 year ago

Hi,

Do you happen to know why the following test might fail?

tly cleaning up <TemporaryDirectory '/tmp/guix-build-python-mkdocs-monorepo-plugin-1.0.4.drv-0/docs_ez27_kvk'>
  _warnings.warn(warn_message, ResourceWarning)
test_plugin_on_serve (mkdocs_monorepo_plugin.tests.test_plugin.TestMonorepoPlugin) ... ok
test_plugin_on_serve_no_run (mkdocs_monorepo_plugin.tests.test_plugin.TestMonorepoPlugin) ... ok

======================================================================
ERROR: test_plugin_on_config_with_nav (mkdocs_monorepo_plugin.tests.test_plugin.TestMonorepoPlugin)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/guix-build-python-mkdocs-monorepo-plugin-1.0.4.drv-0/mkdocs-monorepo-plugin-1.0.4/mkdocs_monorepo_plugin/tests/test_plugin.py", line 25, in test_plugin_on_config_with_nav
    plugin.on_config({
  File "/tmp/guix-build-python-mkdocs-monorepo-plugin-1.0.4.drv-0/mkdocs-monorepo-plugin-1.0.4/mkdocs_monorepo_plugin/plugin.py", line 52, in on_config
    new_docs_dir = self.merger.merge()
  File "/tmp/guix-build-python-mkdocs-monorepo-plugin-1.0.4.drv-0/mkdocs-monorepo-plugin-1.0.4/mkdocs_monorepo_plugin/merger.py", line 74, in merge
    raise SystemExit(1)
SystemExit: 1

----------------------------------------------------------------------
Ran 4 tests in 0.003s