update doc structure
This commit is contained in:
+2
-2
@@ -17,7 +17,7 @@ from fds_version import version, validate
|
||||
project = Path(__file__).resolve().parents[1]
|
||||
OWNED = ('.cargo', '.gitignore', '.gitmodules', 'AGENTS.md', 'Cargo.lock',
|
||||
'Cargo.toml', 'LICENSE', 'Makefile', 'README.md', 'VOID_PACKAGES_COMMIT',
|
||||
'config', 'docs', 'examples', 'image', 'packaging', 'packages', 'profiles', 'rust-toolchain.toml',
|
||||
'config', 'fds-os.wiki', 'examples', 'image', 'packaging', 'packages', 'profiles', 'rust-toolchain.toml',
|
||||
'rust', 's6', 'tests', 'tools')
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ def copy(source, destination):
|
||||
destination.parent.mkdir(parents=True, exist_ok=True)
|
||||
if source.is_dir() and not source.is_symlink():
|
||||
shutil.copytree(source, destination, symlinks=True,
|
||||
ignore=shutil.ignore_patterns('__pycache__', '*.pyc'))
|
||||
ignore=shutil.ignore_patterns('.git', '__pycache__', '*.pyc'))
|
||||
else:
|
||||
shutil.copy2(source, destination, follow_symlinks=False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user