mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
enhance parallelization
This commit is contained in:
30
docgen.sh
30
docgen.sh
@ -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. :)
|
||||
|
@ -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"
|
||||
|
Reference in New Issue
Block a user