mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
enhance parallelization
This commit is contained in:
12
docgen.sh
12
docgen.sh
@ -76,20 +76,30 @@ EOF
|
|||||||
)
|
)
|
||||||
|
|
||||||
cd jc
|
cd jc
|
||||||
|
(
|
||||||
echo Building docs for: package
|
echo Building docs for: package
|
||||||
pydoc-markdown -m jc "${readme_config}" > ../docs/readme.md; echo "+++ package docs complete" &
|
pydoc-markdown -m jc "${readme_config}" > ../docs/readme.md; echo "+++ package docs complete"
|
||||||
|
) &
|
||||||
|
|
||||||
|
(
|
||||||
echo Building docs for: lib
|
echo Building docs for: lib
|
||||||
pydoc-markdown -m jc.lib "${toc_config}" > ../docs/lib.md; echo "+++ lib docs complete" &
|
pydoc-markdown -m jc.lib "${toc_config}" > ../docs/lib.md; echo "+++ lib docs complete" &
|
||||||
|
) &
|
||||||
|
|
||||||
|
(
|
||||||
echo Building docs for: utils
|
echo Building docs for: utils
|
||||||
pydoc-markdown -m jc.utils "${toc_config}" > ../docs/utils.md; echo "+++ utils docs complete" &
|
pydoc-markdown -m jc.utils "${toc_config}" > ../docs/utils.md; echo "+++ utils docs complete" &
|
||||||
|
) &
|
||||||
|
|
||||||
|
(
|
||||||
echo Building docs for: streaming
|
echo Building docs for: streaming
|
||||||
pydoc-markdown -m jc.streaming "${toc_config}" > ../docs/streaming.md; echo "+++ streaming docs complete" &
|
pydoc-markdown -m jc.streaming "${toc_config}" > ../docs/streaming.md; echo "+++ streaming docs complete" &
|
||||||
|
) &
|
||||||
|
|
||||||
|
(
|
||||||
echo Building docs for: universal parser
|
echo Building docs for: universal parser
|
||||||
pydoc-markdown -m jc.parsers.universal "${toc_config}" > ../docs/parsers/universal.md; echo "+++ universal parser docs complete" &
|
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
|
# a bit of inception here... jc is being used to help
|
||||||
# automate the generation of its own documentation. :)
|
# automate the generation of its own documentation. :)
|
||||||
|
@ -1,14 +1,21 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# Update all documentation (README.md, Man page, Doc files)
|
# Update all documentation (README.md, Man page, Doc files)
|
||||||
|
|
||||||
|
(
|
||||||
echo === Building README.md
|
echo === Building README.md
|
||||||
./readmegen.py && echo "+++ README.md build successful" || echo "--- README.md build failed" &
|
./readmegen.py && echo "++++ README.md build successful" || echo "---- README.md build failed"
|
||||||
|
) &
|
||||||
|
|
||||||
|
(
|
||||||
echo === Building man page
|
echo === Building man page
|
||||||
./mangen.py && echo "+++ man page build successful" || echo "--- man page build failed" &
|
./mangen.py && echo "++++ man page build successful" || echo "---- man page build failed"
|
||||||
|
) &
|
||||||
|
|
||||||
|
(
|
||||||
echo === Building documentation
|
echo === Building documentation
|
||||||
./docgen.sh && echo "+++ documentation build successful" || echo "--- documentation build failed" &
|
./docgen.sh && echo "++++ documentation build successful" || echo "---- documentation build failed"
|
||||||
|
) &
|
||||||
|
|
||||||
wait
|
wait
|
||||||
echo "All documentation Updated"
|
echo
|
||||||
|
echo "All documentation updated"
|
||||||
|
Reference in New Issue
Block a user