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

Replace distutils copy_tree with shutil.copytree #115

Closed piotr1212 closed 9 months ago

piotr1212 commented 11 months ago

distutils is removed from Python 3.12

fixes:

  File "/opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/mkdocs_monorepo_plugin/merger.py", line 16, in <module>
    from distutils.dir_util import copy_tree
ModuleNotFoundError: No module named 'distutils'
baer95 commented 10 months ago

Hey @agentbellnorm is there any chance to get this reviewed and merged?

agentbellnorm commented 10 months ago

@piotr1212 Changes look good! Could you also update the changelog and setup.py? That way this will go out immediately without having to create a separate PR: https://github.com/backstage/mkdocs-monorepo-plugin#release

hairmare commented 9 months ago

this probably fixes #117

bih commented 9 months ago

Although this was created earlier, I see #118 also solves the problem. I'll merge that :)