docs: Adding script to pull useful docs from LiteX BuildEnv's wiki.

This commit is contained in:
Tim 'mithro' Ansell 2019-04-26 14:28:20 -05:00
parent 78c09125be
commit e42de8fe52
1 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,14 @@
#!/bin/bash
# Soft-CPU - Description about supported Soft-CPUs.
# BIOS - Information about the BIOS and what it is used for.
# Firmware - Information about compatible Firmware.
for page in Soft-CPU BIOS Firmware; do
curl https://raw.githubusercontent.com/wiki/timvideos/litex-buildenv/${page}.md > ${page}.md
git add ${page}.md
done
GIT_MSG=$(tempfile) || exit
trap "rm -f -- '$GIT_MSG'" EXIT
git commit --message "Updating documents from LiteX BuildEnv Wiki"