1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

enhance parallelization

This commit is contained in:
Kelly Brazil
2022-04-10 17:14:34 -07:00
parent cd6dead034
commit a419175fe6
2 changed files with 34 additions and 17 deletions

View File

@ -76,20 +76,30 @@ EOF
)
cd jc
echo Building docs for: package
pydoc-markdown -m jc "${readme_config}" > ../docs/readme.md; echo "+++ package docs complete" &
(
echo Building docs for: package
pydoc-markdown -m jc "${readme_config}" > ../docs/readme.md; echo "+++ package docs complete"
) &
echo Building docs for: lib
pydoc-markdown -m jc.lib "${toc_config}" > ../docs/lib.md; echo "+++ lib docs complete" &
(
echo Building docs for: lib
pydoc-markdown -m jc.lib "${toc_config}" > ../docs/lib.md; echo "+++ lib docs complete" &
) &
echo Building docs for: utils
pydoc-markdown -m jc.utils "${toc_config}" > ../docs/utils.md; echo "+++ utils docs complete" &
(
echo Building docs for: utils
pydoc-markdown -m jc.utils "${toc_config}" > ../docs/utils.md; echo "+++ utils docs complete" &
) &
echo Building docs for: streaming
pydoc-markdown -m jc.streaming "${toc_config}" > ../docs/streaming.md; echo "+++ streaming docs complete" &
(
echo Building docs for: streaming
pydoc-markdown -m jc.streaming "${toc_config}" > ../docs/streaming.md; echo "+++ streaming docs complete" &
) &
echo Building docs for: universal parser
pydoc-markdown -m jc.parsers.universal "${toc_config}" > ../docs/parsers/universal.md; echo "+++ universal parser docs complete" &
(
echo Building docs for: universal parser
pydoc-markdown -m jc.parsers.universal "${toc_config}" > ../docs/parsers/universal.md; echo "+++ universal parser docs complete" &
) &
# a bit of inception here... jc is being used to help
# automate the generation of its own documentation. :)

View File

@ -1,14 +1,21 @@
#!/bin/bash
# Update all documentation (README.md, Man page, Doc files)
echo === Building README.md
./readmegen.py && echo "+++ README.md build successful" || echo "--- README.md build failed" &
(
echo === Building README.md
./readmegen.py && echo "++++ README.md build successful" || echo "---- README.md build failed"
) &
echo === Building man page
./mangen.py && echo "+++ man page build successful" || echo "--- man page build failed" &
(
echo === Building man page
./mangen.py && echo "++++ man page build successful" || echo "---- man page build failed"
) &
echo === Building documentation
./docgen.sh && echo "+++ documentation build successful" || echo "--- documentation build failed" &
(
echo === Building documentation
./docgen.sh && echo "++++ documentation build successful" || echo "---- documentation build failed"
) &
wait
echo "All documentation Updated"
echo
echo "All documentation updated"