1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-12-17 14:31:06 +01:00

Rename doc/manual{src -> source}

This is needed to avoid this
https://github.com/mesonbuild/meson/issues/13774 when we go back to
making our subproject directory `src`.
This commit is contained in:
John Ericson 2024-10-10 12:04:33 -04:00
parent d5c45952ac
commit eb7d7780b1
221 changed files with 75 additions and 74 deletions

View file

@ -80,7 +80,7 @@ def main() -> None:
if len(sys.argv) > 1 and sys.argv[1] == 'summary':
print(do_include(
sys.stdin.read(),
Path('src/SUMMARY.md'),
Path('source/SUMMARY.md'),
Path(sys.argv[2]).resolve(),
search_path))
return
@ -92,7 +92,7 @@ def main() -> None:
context, book = json.load(sys.stdin)
# book_root is the directory where book contents leave (ie, src/)
# book_root is the directory where book contents leave (ie, source/)
book_root = Path(context['root']) / context['config']['book']['src']
# Find @var@ in all parts of our recursive book structure.